HI Christian,

Thanks for the example, I agree it's a much more appropriate starting
point.  I am not sure about the name though - we now several shader
examples osgshaders, osgshaderterrain, osgshadercomposition,
osgshadergen and osgsimplegl3, if users are looking for examples they
might look at these and not spot the osgminimalglsl. Perhaps
osgshaderminimal or osgshadersimple, osgsimpleglsl or osgsimpleshaders
would be more appropriate.

Thoughts?
Robert.

On 2 March 2012 10:18, Christian Buchner <[email protected]> wrote:
> The attached openscenegraph example is much simpler than
> osgshaders.cpp and demonstrates the use of GLSL vertex and fragment
> shaders with a simple animation callback. I found the osgshaders.cpp
> too complex to serve as a starting point for GLSL programming
>
> Feel free to include this in the osg distribution, or not.
>
> The required CMakeLists.txt file couldn't be any more simple:
>
> SET(TARGET_SRC osgminimalglsl.cpp )
> #### end var setup  ###
> SETUP_EXAMPLE(osgminimalglsl)
>
> Christian
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to