hjd_uk
hjd_uk
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
HDK SOP Prim-Poly local transform Feb. 3, 2014, 9:25 a.m.
Hi, im writing a SOP-Node that creates polygon primitives. Is it possible to set the local-transform information on the the polygons so that later nodes (working on my SOP nodes output) have an idea as to the primitives' orientation?
For example in the attached picture, the top-left rectangle happens to be orientated to whatever transform the polyExtrude node is using for its Local Scale, however the other rectangles are not, I would like to be able to provide the correct local-transform for subsequent SOPs - without having to manually perform a GU_Detail::polyExtrude() call inside my SOP_Node.
I am using GU_PrimPoly * poly = GU_PrimPoly::build((GU_Detail *)pOutGeo, 4 , GU_POLY_CLOSED);
For example in the attached picture, the top-left rectangle happens to be orientated to whatever transform the polyExtrude node is using for its Local Scale, however the other rectangles are not, I would like to be able to provide the correct local-transform for subsequent SOPs - without having to manually perform a GU_Detail::polyExtrude() call inside my SOP_Node.
I am using GU_PrimPoly * poly = GU_PrimPoly::build((GU_Detail *)pOutGeo, 4 , GU_POLY_CLOSED);