Hi,

I have problem with osg::Program and osgViewer::Renderer::compile(). I have 
scene graph with shader only for some part of it. But when display lists are 
compiled, shader is always active. Its geometry shader with LINES as input so 
any other geometry will raise opengl error. 
Shader even remains active after compile. So if I draw scene without my LINES 
with geometry shader. It still produces the same error. Only after first 
encounter of my LINES with shader, it fixes. Any suggestions ?

PS:
1) When I add blank osg::Program() on root node, it obviosly fixes the initial 
rendering problem, but not problems during compile operation.
2) I dont want to give up on Display Lists since I found that implementation of 
VBO has bugs on some Intel and Ati(Amd) implementation and its major problem 
customers.

Thank you!

Cheers,
Filip

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





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

Reply via email to