I have a CAD like application and I am going to highlight certain areas of the scene by adding special geometries (spheres and others). I want the spheres to be drawn in a fixed size in pixels regardless of the size of the model that is loaded.
I have control over the object space coordinates of the spheres, but I am unsure how to do the transformation in the vertex program so that the geometry always end up in the same size.
I am now using point sprites for this, but it does not look so good when the point sprite partially intersects with the model mesh geometry.
Any hints on good ways of doing this?
Thanks.