Figures and Props
Bolt
Posts: 21
Hello,
In the Daz Studio FBX exporter, I see that it distinguishes between Figures and Props. Just out of curiosity, what specific information is it using to identify a prop? Is there a specific node class for props, or is the FBX exporter simply saying, everything that isn't a Figure, must be a prop?
Comments
I believe it's the latter - a figure has bone, a prop is just a static object.
That must be so. I know I can do this to filter out all figures:
but nothing specific like that for props.
Sorry, I didn't realise which forum this was in and thought it was a geenral question. I thought DzSkeleton was all that you needed to test to identify a figure, but not everything that isn't a derivative of that will be a prop - at the very least you need to check to see if the node has geometry and isn't a figure.
C++ : (FYI, qobject_cast<> is faster than ->inherits(); i.e., pointer compare vs string compare. qobject_cast<> also gives you a pointer of the correct type so you can begin calling methods on that class, whereas ->inherits() is typically followed by static_cast<>)
Daz Script : (no casting, .inherits() and/or .className() are what you've got)
-Rob
Thanks for the post! Very informative.