Hi,

I have recently updated to Kubuntu 13.04 (from Kubuntu 12.04) and have 
experienced some problems with non-visible nodes in OSG. Many of my nodes using 
complex shaders work just as before, however some simple geometries such as 
tetrahedra and triangulated surfaces are no longer visible. I note that they 
are present in the scene graph because I can still pick (with polytope 
intersector) them.

The upgraded machine is a laptop with an AMD Mobility Radeon 5850. Everything 
worked perfectly before upgrading from 12.04.

I still have a desktop running Kubuntu 12.04 with an Nvidia card and the same 
code base works perfectly.

I have tried OSG 3.1.6, 3.1.7 and 3.1.9 and all have the same problem on the 
13.04/AMD machine.

Rather than post code snippets, I have attached a simple sample program that 
displays the cow using a basic shader. On the 12.04/Nvidia machine I see a 
plain white cow (no lighting). On the 13.04/AMD machine I see nothing at all. 
This is consistent with the experience in my full application.

A log using "export OSGNOTIFYLEVEL=DEBUG" is also attached. I have never seen 
any errors, just nothing is displayed.

On the AMD machine I have tried the open-source driver, fglrx and 
fglrx-updates, all with the same results.

If I run osgviewer cow.osg, then the cow is displayed as expected indicating 
the FFP works, it is a problem when using shaders.

The problem seems to be associated with using 
setUseModelViewAndProjectionUniforms / setUseVertexAttributeAliasing. Also, 
there seems to be a correlation between setting normals in the geometry and not 
being visible. My working nodes don't use normals.

Thanks in advance for your help! 

Cheers,
Roland

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




Attachments: 
http://forum.openscenegraph.org//files/log_104.txt
http://forum.openscenegraph.org//files/osgtest_189.cpp


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

Reply via email to