Hello Wojtek,
Over. Waiting for feedback...
Thanks a lot for your thoughts. I understand your concerns about abusing the StateAttribute mechanisms and wanting to better integrate VirtualProgram into state handling. If it can be done with minimal changes to osg::State, and without affecting existing functionality, I would encourage you to try to make it cleaner and submit the changes with your VirtualProgram example.
I'll let Robert discuss possible ways forward for the VirtualProgram when he gets better, but honestly, I'd like to be able to use this as it is right now in our software. :-) It solves most of the problems we have about using different shaders and shader permutations.
The only thing that's keeping me from using it is that it might change a lot between now and when it will be integrated into OSG. But it's a very powerful tool. I really hope others see the value as well as I do.
Thanks a lot for sharing, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
