I have a small application build on desktop using OSG with OpenGL2 version. I will get ready to render 3D models (with full texturing, lighting etc ) from 3DSMAX (Exported as .OSG from Max using OSGExporter). As this supports Fixed Function Pipeline the desktop application is able to render these 3D models successfully.
Yes. Similarly does OpenGL 3 and OpenGL 4 versions supports Fixed Function > Pipeline? > They can. Around OpenGL 3, a number of FFP features were removed. Most current drivers allow you to still request a legacy compatability GL3 or GL4 context that still offers FFP functionality, or you can requesta pure GL3/4 context that omits the FFP capabilities. > Now I want to port the same on Android and iPhone. With your help and from > some documents I came to know that GLES2.0 never supports Fixed Function > Pipeline. So I can't port that code in Android. > Remember, most GLES chipsets support GLES 1, which DOES offer FFP. Do you NEED GLES 2? > To make an application to work on both Desktop and Embedded devices, > should I code my project by using only Shaders. > If you need shader capability, then to support GLES devices, you must use shaders, and you might as well use shaders exclusively, on both desktop and GLES. > In such case I should get 3D model in OBJ format and I should write > shaders for Textures, Lightings etc. I think this is very painful work. > This is what ShaderGen can help you with. > Can I expect that GLES2 will support Fixed Functionality in near future > like GLES1. > No. It was intentionally removed. The intent, I believe, is that future devices might ONLY support GLES2, and save die space by leaving out GLES 1 capacity. Or, certain resources might be re-used between ES1 and ES2, but not duplicated. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Chris 'Xenon' Hanson, omo sanza lettere. [email protected] http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

