/
Sample Code (3DF): HC_Gather_Capping_Geometry

Sample Code (3DF): HC_Gather_Capping_Geometry

Following is sample code on Gather_Capping_Geometry with all options (“segment only”,”ignore matrix”, “section offset”, “refine cuts”

Default: HC_Gather_Capping_Geometry will only generate capping geometry for the given cutting plane.

Common Errors:
1. HOOPS need to render capping geometry. Update must be called before calling Gather_Capping_Geometry
2. Double check key path. Make sure key path is from the leaf to root (driver) segment.

To view the sample code, check out our forum post.

Related content

FAQ: HSF Version
FAQ: HSF Version
Read with this
How-to: Add Cutting Plane Manipulators and Create Slice in HPS
How-to: Add Cutting Plane Manipulators and Create Slice in HPS
More like this
How to: Create custom textured hatch pattern (3DF)
How to: Create custom textured hatch pattern (3DF)
Read with this
How-To: Control which portions of a scene graph interact with cutting sections
How-To: Control which portions of a scene graph interact with cutting sections
More like this
How to: Find a point on the surface of a model given a known window point
How to: Find a point on the surface of a model given a known window point
Read with this
Sample Code: Extract cutting plane geometry
Sample Code: Extract cutting plane geometry
More like this