Hi Robert,

> Welcome to the OSG :-)

Thanks. I am not new to OSG, just coming back to it. I used it in my
previous life as a grad student at UMCP. In fact I also met you and
Don at one of the Washington DC chapter dinners.

> A present it is, my plan is to use Cmake to automatically set the
> appropriate options ON/OFF for each OpenGL/OpenGL ES target so it'll
> make the process a bit more straight forward.

That would be awesome.

> I've only written EGL support for GraphicsWindowX11.cpp, and don't
> have any access to a Windows or OSX system so can't directly help
> there.  Members of the community will have to dive in and add EGL
> support to src/osgViewer/GraphicsWindowWin32.cpp to enable OpenGL ES
> under Windows.

Depending on how I end up using the examples, I might implement it. In
that case, I will send you a patch.

> 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 think this is the best short-term solution. Thanks Robert.

-Alok
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to