Jean-Sébastien Guay wrote on Monday 05 May 2008: > Hi Zoltan, >> > While --sm, --sv, --pssm and --ssm don't (on my setup : > > Linux OpenSuSE 10.3, with ATI card). > > Which ATI card, which drivers?
X300 mobility radeon, fglrx (proprietary) driver: # osgshadow --ssm -2 --noUpdate glLinkProgram "" FAILED Program "" infolog: Fragment shader(s) failed to link, no vertex shader(s) defined. Fragment Shader not supported by HW # It shows the same aircraft and terrain, with a shadow below the aircraft, on the ground, but turning in the opposite direction as the aircraft (some matrix multiplication confusion ?) # osgshadow --sm -2 --noUpdate Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) [...] Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) # and nothing is shown # osgshadow --sv -2 --noUpdate Warning: osgShadow::ShadowVolume technique is still in development, with current limitations that make it unsuitable for deployment. Please contact the osg-users for an update of developements. computeOccluderGeometry(osg::Node* subgraph, float sampleRatio) OccluderGeometry::removeDuplicates() before = 18116 Num diplicates = 12243 Num unique = 5873 removeDuplicateVertices 3.909 ms removeNullTriangles 0.042 ms computeNormals 1.306 ms buildEdgeMaps 14.099 ms setUpInternalStructures 19.356 ms done in 23.019 ms STENCIL_TWO_SIDED selected Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) [...] ShadowVolume::cleanSceneGraph()) not implemened yet, but almost. The plane and ground are shown, but no shadow. # osgshadow --pssm -2 --noUpdate Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) [...] Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,) # and nothing to see. > Glad to know ShadowTexture works for you. I think since > it's texture-based, the recommendations about large > terrain will still apply, but you can try some stuff out > in any case. How portable do you think ShadowTexture would be ? Would it run on most 3D hardware ? Does it require some fancy graphics card (ATI x300 mobility Radeon is no killer, but may-be it does have some extravagant component) Thanks again. bye-bye Zoltán -- ________________________ Zoltan ________________________ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

