HDK : GU_DetailHandle - Local/world space

   1684   1   0
User Avatar
Member
301 posts
Joined: July 2005
Offline
Hi,

When we call

GU_DetailHandle SOP_Node::getCookedGeoHandle()

Is the returned information in world or local space i.e. do we need to apply the SOP's transform to the geometry ?

Regards
Nicholas Yue
User Avatar
Member
7720 posts
Joined: July 2005
Offline
It's returned in local space. If you want to transform it to world space, you will need to use sop->getCreator()->getWorldTransform() (ie. its owner object's world transform).
  • Quick Links