Hello Sebastian,

> Indeed ... I once spent half a day figuring out that the texture matrix 
> wasn't applied ;-)
>   

Hehe, that happens to all of us!

> Me culpa! ... it was the uniform name. I accidentally added them 
> somewhere else with the PROTECTED-flag.
>   

That has also happened to me more often than I'd like to admit... I once 
spent 3 days debugging why shadows were being done by the fixed 
pipeline, only to find out that the top node of my graph was getting an 
empty osg::Program with a PROTECTED flag, but that was so deep down in 
the framework code that I hadn't found it until I decided to do a 
complete dump of the graph...

> So thank you for pointing to the problem! If I want to contribute, how 
> may I submit suggestions/ patches?
>   

  
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Note that Robert (project lead, and also the one who merges changes) is 
on vacation right now, so you might not get a response right now. Also see

  
http://www.openscenegraph.org/projects/osg/wiki/MailingLists/SubmissionsProtocol

And also, if your submission is a per-fragment lighting shader for 
ShadowMap, you might want to either add parameters to control whether 
per-vertex or per-fragment lighting is applied, or ask Robert about 
adding the shader to OpenSceneGraph-Data instead... I think for a while 
now most people will still want per vertex lighting by default. But if 
the submission is for fixes or other things, go ahead and submit it!

> I really appreciate your fast and exact response ... saved me some gray 
> hair ;-)

My pleasure!

J-S

-- 
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/

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

Reply via email to