THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/12/2005 at 23:20, xxxxxxxx wrote:
Cinema 4D Version: 8.5 +
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
i have some questions to continue development of my plugin.
I see that is necessary to get hypernurbs geometry where i can grow the furs and in the same time i need to get the underformed geometry to calculate the position of each fur.
Maybe that i must use the current state of object for hypernurbs... but how i can get the undeformed subdivided geometry?
thanks in advance
On 22/12/2005 at 13:39, xxxxxxxx wrote:
On 22/12/2005 at 14:01, xxxxxxxx wrote:
have a look at the SDSObject Library. This should help you working with the HN object.
Merry Xmas btw.
On 22/12/2005 at 15:39, xxxxxxxx wrote:
this should work only with the 9.1+ release.. i'll like to make it for 8.2 too.
Merry Xmas to you
On 24/12/2005 at 07:46, xxxxxxxx wrote:
PolygonObject* GetSDSMesh(BaseObject* op)
Why i need to pass OP to this function?
When i look to hypernurbs objects it always is a subdivided object. If i have some objects inside the hypernurbs i need to give to this function all object inside a the hypernurbs?
Can i pass NULL to this function to get the resulting subdivided mesh?
sorry for my probs to tell what i need.
Merry Xmas to all
On 24/12/2005 at 10:49, xxxxxxxx wrote:
No, the SDSObject functions are just helpers. Check the SDK docs. From a HNs you may have many objects, you must tell it which object you are using. The functions of the SDSObject are purely helpers that go through the cache, GetSDSMesh takes the cage object as input and returns to you the cached subdivided object if found.
On 24/12/2005 at 11:57, xxxxxxxx wrote:
So i must use SDSObject?
Can you be a bit precise?
I'll lose the compatibility with R8 Release?
On 26/12/2005 at 12:05, xxxxxxxx wrote:
On 29/12/2005 at 15:48, xxxxxxxx wrote:
Happy New Year!
On 30/12/2005 at 07:14, xxxxxxxx wrote:
Maybe you need to ask your original question in a different way if you do not think it has been answered, clearly nobody is understanding what you need.
On 30/12/2005 at 08:34, xxxxxxxx wrote:
Yes.. but this is not easy for me.
I'll try and i'll post a correct question here.
On 31/12/2005 at 01:48, xxxxxxxx wrote:
I need to get the hypermurbs geometry with the SDK 8.5 and up to place fur on it.
The subdivided geometry can be also a deformed geoemtry and i need to compare deformed and undeformed geometry to know where i must put the fur on it.
What's the correct way with 8.5 sdk and what's the way to do it with 9.1 sdk?
On 31/12/2005 at 02:20, xxxxxxxx wrote:
A hypernurbs object is just a generator, it takes the input polygons and creates output polygons. This is all you have to work with and all you need. Its still not clear what you need. You said you need to get the HNs geometry, this is just the result from the HNs which is then just getting the output from a generator. However, you mention getting the deformed and non-deformed state, this would need manualling stepping through the output cache (see GetCache in the sdk docs) but this is not possible within GetVirtualObjects as the cache is not generated (i.e. that is where the cache is getting generated).
On 31/12/2005 at 04:20, xxxxxxxx wrote:
I'll try to semplify what i mean. Thanks for your patience.
What's the ways to get geometry from a generator?
If is not possible to get output cache within GetVirtualObjects... what's way i need to follow to properly manage the need of Fast&Fur;? A Tag?
On 31/12/2005 at 06:05, xxxxxxxx wrote:
Getting the results from a generator depends on where in the pipeline you want to do it, usually you use CURRENTSTATETOOBJECT, but if you are running after a full cache build (expressions) you can use the cache directly (GetCache). During cache building (GetVirtualObjects) neither of these are allowed, GetCache is not valid and CURRENTSTATETOOBJECT will cause crashing. If you need to do this within GetVirtualObjects then check out the sdk examples (atom for example), you need to request a polygon version of the hierarchy.