Hi,
I would really like to somehow get the triangles and points of instances and ICE instances, something similar to GetActivePrimitive().GetGeometry().GetTriangles() or to PolygonMesh.Get() would be great (even though I guess it won't be that easy).
Searching the SDK doc didn't help...
Any hints about (ICE) instances would be great
Thanks!
Eric
C++ SDK: how to get the geometry of (ICE) instances?
Re: C++ SDK: how to get the geometry of (ICE) instances?
i think you want to check out the 'CShape' class, which should contain GetReferenceID(), then use GetObjectFromID()... then access data as you normally would
steven
steven
Re: C++ SDK: how to get the geometry of (ICE) instances?
Hi Steven,
that's sounds quite good, will look into it. For "easy" instances (i.e. an unanimated polygon mesh) that should be just fine, but what if I have some ultra-sophisticated instances of animated models with tons of children?
Anyway, I'll start with the above mentioned "easy" instances.
Thanks!
Eric
that's sounds quite good, will look into it. For "easy" instances (i.e. an unanimated polygon mesh) that should be just fine, but what if I have some ultra-sophisticated instances of animated models with tons of children?
Anyway, I'll start with the above mentioned "easy" instances.
Thanks!
Eric
Re: C++ SDK: how to get the geometry of (ICE) instances?
animated instances in ICE are slow, try them, you will see... now i dont believe there is anything else softimage has to speed up this access, they give you the object ID(s) and you gotta fetch the data.
if you look at the animation detail options of the particle display attribute, you can implement something similar where you will round the frame that a piece of geometry is being queried at so you only query 5 frames out of 10 rather than all 10.
if you look at the animation detail options of the particle display attribute, you can implement something similar where you will round the frame that a piece of geometry is being queried at so you only query 5 frames out of 10 rather than all 10.
Re: C++ SDK: how to get the geometry of (ICE) instances?
Yeah, I was afraid it would be so.
Nevertheless: thanks for the confirmation
Eric
Nevertheless: thanks for the confirmation
Eric
Who is online
Users browsing this forum: No registered users and 37 guests