How would I set-up a level of detail to use the original geometry of a segment but just render it with different options to speed it up? I don’t want to compute a new simplified representation, but instead render just hard-edges of the model as an LOD. Using the C style function, this would look like:
HC_Open_Segment()
HC_Open_LOD(1)
// change rendering settings
// faces=off edges = on
HC_Close_LOD()
HC_Close_Segment()
Hello Herve,
HOOPS does not have to option to call Set_Visibility when using LOD.
A alternative option would be to use a Conditional style but you will need to control this manually.
HC_Open_Segment("/style_library/lod1");
{
HC_Set_Visibility("edges=(hard)");
}
HC_Close_Segment();
HC_Open_Segment("SEGMENT_CONTAINING_SHELL");
{
HC_Set_Conditions("lod1");
HC_Conditional_Style("/style_library/lod1", "lod1");
}
HC_Close_Segment();
Best Regards,
Simon
Thank you.
I did not know I could create segments for that purpose, that might work for me, I will try it. Do I then close the discussion topic?