Be N00b my friend! :P Let my guess for you
This is GLES2 so you need Shaders, if you don't add a Shader then you will see nothing. Usually in OSG the scene graph adds a Shader for you but that standard shaders don't work well with GLES2, it's easier to use your own shaders To Load textures you NEED to compile OSG WITH the 3rd party package or you will not have any textures in jpeg,png or anything more complex. To use those libraries and OSG plugins you need to use the Macros for static plugins/libraries. If you look into the first part of the example you'll see them. Also you need to add the libraries and plugins in the Android.mk to be linked correctly. Just keep on trying and hitting your head with the wall and all will be ok. Doing things for Android and Iphone in a Native Level requiere a little bit of perseverance. 2012/2/21 Giulio Pierucci <[email protected]> > c3Array can be used to store these triples. Since > //osg::Vec3Array is derived from the STL vector class, we can use the > //push_back method to add array elements. Push back adds elements to > //the end of the vector, thus the index of first element entered is > //zero, the second entries index is 1, etc. > //Using a right-handed coordinate system with 'z' up, array > //elements zero..four below represent the 5 points required to create > //a simple pyramid. >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

