Display points

Technical discussions
Post Reply
Daon
Posts: 1
Joined: Wed Aug 30, 2023 2:53 am

Display points

Post by Daon »

Hi
I am a total newbie. How do I add several points to the scene? I need it for debugging to see location my program generates.
Thanks

Alfio_Tr
Posts: 6
Joined: Fri Aug 09, 2013 9:20 am

Re: Display points

Post by Alfio_Tr »

In case you have only few points you can get a nice display by using small spheres. Search for IStdShape_DG.Sphere() in the samples. You can set color, location, name on them after construction.

If you have lots of them, have a look at the LowDim and Cloud samples. Those points are zoomable. It is better to setup the expected view volume by using zoom before construction or load.

Post Reply