Hello Johannes, On 12/01/2011 09:47 AM, Johannes Brunen wrote: > I have a scene setup with an orthographic or perspective camera. Now, I > have to add some geometry which shoud not change its size on camera > zooming in the scene. I.e. the size of the geometry should always appear > the same, indepent of the view distance.
so you'd need something that looks at the size of the projected bounding sphere on the screen, compares it with a target size and derives a scale factor from that. Then translate to the center of the bounding volume, apply the scale and translate back? > How should I tackle this problem? Does OpenSG have something to support > such a scenario? I'm not sure we have something that matches your needs exactly, but the merge of David Kabala's toolbox brought in ScreenTransform which IIUC keeps an object at the same screen position as a beacon object. I'm not sure what it does about scaling, but it's worth taking a look. Cheers, Carsten ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users