[osg-users] osgQt Material issue

Wouter Roos rooswouter at gmail.com
Tue Sep 10 09:23:05 PDT 2019

After some investigations I figured that the fixed pipeline functionality wasn't used and I came across this code that seems to explicitly disable that regardless of OpenGL version (I'm running 2)
OSGRenderer.cpp lines 210


for(osgViewer::Viewer::Windows::iterator itr = windows.begin();
	itr != windows.end(); ++itr)
		false); // TODO: check if we need it ???

Removing these lines fixes the problem for me, but I want to make sure it will work for other versions (OpenGL 3) as well. As far as I understand and could see in the OSG code these settings are already applied correctly when setting up a View in OSG and none of these are necessary?

Read this topic online here:

More information about the osg-users mailing list