Hi,

I have a little problem with some Render-To-Texture-cameras in connection with 
a WindowSizeHandler.
I took a bit of code out of an application I wrote earlier to put it into a lib 
and make the functions usable for other apps.

When testing this lib with a simple example program consisting of a simple 
viewer I suddenly have issues when changing the window size of the viewer 
window -  something that didn't happen in the old application.
I tried to adjust the parameters of my example viewer to the ones used in the 
original application but I still get the error so I cannot really find out what 
caused the problem.

It only occurs when making the window bigger then the original size - the 
originally set size the RTT-cameras where initialized with. I get the following 
error repeatly: 
Warning: detected OpenGL error 'invalid value' after applying attribute Viewport
 01A56A88

I use the standard WindowSizeHandler. It's really strange that I didn't get the 
error in the original application. What also is weird is that it isn't 
connected to simply enlarging the window but only occurs if the window gets 
bigger than it was originally. Making the window smaller works fine.

Has anyone experience with this error message and knows what may be the reason? 
I know that it must be connected with my RTT-cameras since it disappears if I 
take them out.

Any hint would be appreciated.

Thanks,
Steffen
__________________________________________________________________
"Run, Fatboy, Run" sowie "Rails & Ties" kostenlos anschauen!
Blockbuster-Gutscheine sichern unter http://www.blockbuster.web.de

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

Reply via email to