<div dir="ltr"><div dir="ltr"><div>Hello!<br></div><div><br></div><div>I am trying to draw a lot of objects with the same shape for CAD system. Let it be stars or circles for example.<br>The number of such circles can be about 1000-10000.<br>I would like to *preserve their size* when moving the camera, scaling frustrum and changing distance to objects.<br><br>For now I found two approaches:<br><br>1. Use vtkDistanceToCamera<br>An example from <a href="https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/DistanceToCamera/">https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/DistanceToCamera/</a> is great <br>for low number of objects, however when their numer grows, the interface starts to freeze due to<br>rescaling of shapes on each interaction with camera.<br><br>2. Use points (squares with width equal to 4 pixels).<br>It works fast and points size is fixed, but I would like to have more complex shapes, like triangles and circles.<br><br><br>Is there another approach to solve this problem? It seems that with pure OpenGL this can be implemented rather efficiently,<br>so I am looking for a way to do it in VTK.<br></div><div><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Best regards,</div><div>Andrey Ivanov</div></div></div></div></div></div>