HI Cedric, On Tue, Feb 2, 2010 at 11:58 PM, Cedric Pinson <[email protected]> wrote: > Yes i would like to make a javascript output format 'json', because we > use webgl (es 2.0) i would need to have in geometry using only es 2.0 > features. I know you made some work about es 2.0 so i had hope to be > able to convert a given geometry to 'attribute'. > > I am new to work on es 2.0 and webgl so maybe i miss something. > > Does it make sense for you ?
So you just want an OSG scene graph that uses shaders/uniforms that are compatible with GLES2? You are planning to do the conversion of this scene graph to yourself? In the case of the OSG you just need to run the osgUtil::ShaderGen visitor on a scene graph, it's not GLES2 specific, but gets you most of the way there. I have used ShaderGen to help with porting the OSG to GLES2 as it was an easy way to get standard scene graphs up on screen without having to write all my own shaders for every single model. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

