Hi,

I've already asked this question on the mailing list, but it was a secondary 
question and perhaps nobody read it. 

I'm trying to embed osg in a SFML view using the setUpViewerAsEmbeddedInWindow 
method of the viewer.

The problem is that I cannot change the position where the viewer is displayed. 
OSG ignores the value that I give as first and second argument of the method 
and draws the frame always starting from the bottom left corner of the window.

I tried to change the value of the first and second argument even in the 
osgviewerSDL example because it use the same method to embed OSG, but even in 
this example the viewer always starts to draw the frame in the bottom left 
corner.

I'm going to attach the code of the example that I have changed on the lines: 
58 132 158 168

Do you know what's the problem?

Thank you!

Cheers,
    Noè Murr

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




Attachments: 
http://forum.openscenegraph.org//files/osgviewersdl_203.cpp


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to