Hi All,
first, thanks cbuchner1 and robertosfield for their last hints.

The code that was missing is the following:
viewer.addEventHandler(new osgViewer::StatsHandler);
viewer.setCameraManipulator(new osgGA::TrackballManipulator());
camera->setProjectionMatrixAsOrtho2D(0.0, traits->width, 0.0, traits->height);

Now I have a strange error that I cannot understand.
The model was not rendered correctly yet. 

The image is now on the left-bottom side of the screen.
Somehow, the image is scalling from 1600x900px to 2048x1024px. (reported on the 
OSG console)

Someone can explain me what is missing?!

I'm using an *.flt model with (inside of this openFlight model) an image 
(*.rgba) applied to a polygon with the same size (1600x900px).
 

Some kind of help would be great.

Thanks in advance!

Best Regards,
Filipe

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61380#61380





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to