HI Carlo, I'm a bit lost as to what the problem you after, you discussion about resolution below is confusing too, you can't render to higher resolution that your monitor unless you create a pbuffer or fbo, which is not what you want in this context.
For HUD text I also use otho2d, in the example you attached you use frustum which is a totally different projection. Have you reviewed the osghud example? Robert. On 12/15/06, Carlo Camporesi <[EMAIL PROTECTED]> wrote:
Hi Robert and osgUsers, I have modified my code in order to use 2 Camera Node but the problem is the same. I have used an osg::Camera in order to render some text in screen with ortho2D projection with resolution 1600x1200. When I attach, as a child, a new camera node (with viewport sets as a rectangle of 100x100) dimension is refering to Default projection (Monitor resolution, in my case 1280x800) not in resolution that I have specified in parent Camera Node. In attach there is an example of what I mean Thank you very much Carlo 2006/12/14, Carlo Camporesi <[EMAIL PROTECTED]>: > Hi Robert, > Thank you for your suggestion. > Carlo > > > 2006/12/14, Robert Osfield <[EMAIL PROTECTED]>: > > > Hi Alberto, > > > > On 12/14/06, Alberto Luaces < [EMAIL PROTECTED]> wrote: > > > Is osg::Camera only available on CVS? Here on OSG 1.2 I can only find > > > Producer::Camera and osg::CameraNode > > > > In CVS osg::CameraNode has been simply renamed osg::Camera, there now > > a typedef from Camera to CameraNode so old code work without any > > changes. > > > > Robert. > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://openscenegraph.net/mailman/listinfo/osg-users > > http://www.openscenegraph.org/ > > > > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
