Hi Rghima, If you are running GLES1 and you compiled android with the dependencies (see documentation) you should have jpg, png, gdal, tiff and curl plugins. So you should be able to show models with png, tif and jpg textures without writting any shader. Environmental textures are a different kind of textures and in OpenGL are supported as a extension though, but in GLES they are not supported. But if you only want to show textures you should not have problems if the textures are in the formats I said and you have the plugins compiled. In GLES2 it's a must to write the shaders, but not for GLES1. Try a simple scenario with a quad and a texture attached to it.
Cheers. 2012/5/15 Rghima Ahlem <[email protected]> > Hi, > > Thank you for the advice. > I'm currently developing an android application used to view osg models > (containing textures). > Can you just tel me if the shader programming will be made for each model > separately or for the viewer to allow the display of textures. > > Thank you! > Have a good day.:) > > Cheers, > Rghima > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=47722#47722 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Jordi Torres Fabra gvSIG 3D blog http://gvsig3d.blogspot.com Instituto de Automática e Informática Industrial http://www.ai2.upv.es
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

