[osg-users] Problems resizing the screen

2008-07-19 Thread Hugo Gomes
Hello, im having problems resizing the screen. I start up a osgViewer::Viewer, with a menu scene for the user to select a proper resolution before simulation starts. When the user presses start in the menu, i set the done flag to true (to escape the main loop), resize the screen (if necessary),

[osg-users] BumpMapping osgFX problem

2008-07-02 Thread Hugo Gomes
Hello, im having problems with the BumpMapping osgFX, somehow it just seems it doesn't light the model. Model is only responding to ambient light. Is there any quirck im forgetting of doing ? The osgfxbrowser example works fine, so its not a hardware problem... Here is the code for the light

[osg-users] GL_LINE and GL_POINT question

2008-07-01 Thread Hugo Gomes
Hello, how do i set the GL_POINT_SIZE and equivalent GL_LINE_SIZE ? Thanks in advance ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] GL_LINE and GL_POINT question

2008-07-01 Thread Hugo Gomes
Aren't they wrapped by osg ? ... Can't i specify that info in a stateset ? On Wed, Jul 2, 2008 at 1:36 AM, Willy P [EMAIL PROTECTED] wrote: http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml On Tue, Jul 1, 2008 at 4:51 PM, Hugo Gomes [EMAIL PROTECTED] wrote: Hello, how do i set

[osg-users] Changing fullscreen resolution with osg::Viewer

2008-06-15 Thread Hugo Gomes
Hello, i'm new to osg, and i've been building some basic scenes to learn about it. Yet i haven't been able to change the screen resolution when in fullscreen mode. I'm using a CompositeViewer in a main class, and a Viewer in each scene, is there a simple way to change it without changing to SDL or