Hi Bernd,
2012/5/7 Bernd Kampl <[email protected]> > Hi, > > First of all: thank you very much whoever ported OSG to Android. You > probably didn't get enough credit for it. > > But on to my real problem: I've been working with the osgAndroidExample > osgViewer for a while now (building onto the foundations that are given) > and i'm starting to think that the Light (ON/OFF) button doesn't actually > do anything. It seems to me that the light is always turned off. > > Are you working with GLES1 or GLES2? In the case you are working with GLES 2 the light button won't work, as the light is calculated in the shader. > Another thing that I'm not quite sure if it's working correctly is > textures. Whenever i load something (for instance cow.osg) it just shows in > shades of black/grey. Am I doing something wrong or are there really > functions missing? > > Environmental textures are not supported in GLES (the ones used in cow.osg) as is said in the documentation, you have to code a shader yourself. We are working with jpg's and other formats whitout problems. > oh by the way i'm running it on android 4 on a galaxy s 2. the underlying > osg is osg 3 and it's all compiled in ubuntu. don't really know if this > information is necessary though. > Good to know, but it's important too if you are running GLES1 or GLES2, it is a quite important difference. > Thank you! > > Cheers, > Bernd > > Cheers. > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=47582#47582 > > > > > > _______________________________________________ > 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

