HC_Set_Priority
-
void
HC_Set_Priority(Key key, int priority) - void HC_Set_Priority(Key key, int priority)
Overrides the default drawing priority automatically assigned by HOOPS.
By default all HOOPS geometry (and includes) have a drawing priority assigned according to their order of insertion. Set_Priority() allows you to assign a specific priority value to a segment, geometry, or include link. The meaning of these priorities is highly dependent on the hidden surfaces Heuristic, and the hidden surfaces removal algorithm=priority Rendering Option. Refer to the documentation on those attributes for further details or see: https://forum.techsoft3d.com/t/priority-sorting-in-3df-and-hps/5138
When the ‘priority’ hsra is set, all tristrips within a single piece of geometry are given the same priority. This results in tristrips being drawn in a random order which can give undesired results. You can reduce these undesired results by turning on backplane culling.
HC_Set_Rendering_Options, HC_Show_PriorityParameters
key: key to items whose priority is being specified
priority: Drawing priority of the item specified