Hi Robert,

>>> Another option is to just work against OpenGL and just disable the
>>> fixed function pipeline features via the OSG_*_AVAILABLE Cmake
>>> options.  This gives you the same GL features that you'll see with
>>> GLES 1.1 or 2.0 (depending upon the options you choose.) When I did
>>> the initial groundwork for the GLES port I did it all against standard
>>> OpenGL using Cmake to give me a first pass approximation at GLES
>>> support, and it certainly helped make the port go smoothly as I was
>>> able to change one thing at a time and gradually shift across rather
>>> than be faced with a massive porting effort all at once.

I have not had any luck with this yet. I am trying to test ES 2.0 by
just disabling the fixed function pipeline. My config file looks like
this:

#define OSG_USE_FLOAT_MATRIX
#define OSG_USE_FLOAT_PLANE
#define OSG_USE_FLOAT_BOUNDINGSPHERE
#define OSG_USE_FLOAT_BOUNDINGBOX
#define OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION
/* #undef OSG_USE_UTF8_FILENAME */
#define OSG_DISABLE_MSVC_WARNINGS

/* #undef OSG_GLU_AVAILABLE */
/* #undef OSG_GL1_AVAILABLE */
#define OSG_GL2_AVAILABLE
/* #undef OSG_GL3_AVAILABLE */
/* #undef OSG_GLES1_AVAILABLE */
/* #undef OSG_GLES2_AVAILABLE */
/* #undef OSG_GL_DISPLAYLISTS_AVAILABLE */
/* #undef OSG_GL_MATRICES_AVAILABLE */
/* #undef OSG_GL_VERTEX_FUNCS_AVAILABLE */
/* #undef OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE */
/* #undef OSG_GL_FIXED_FUNCTION_AVAILABLE */

I tried osggeometry example. I do not see anything render - just
warnings about polygon stipple.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to