Re: [osg-users] Building on OpenGL ES

2011-12-07 Thread Chris 'Xenon' Hanson
On 12/6/2011 8:48 AM, Chris 'Xenon' Hanson wrote:
   Well, I think OPENGL_INCLUDE_DIR is provided by FIND_PACKAGE(OpenGL), but 
 even when it
 is found (such as when I'm building with normal full-spec OpenGL) it doesn't 
 show up as a
 settable parameter in CMake. Is this supposed to be a setting that's exposed 
 in the CMake
 GUI? The recipe implies it is, since it is listed with other publicly-exposed 
 parameters
 (like OSG_GL1_AVAILABLE).

  Ok, manually adding OPENGL_INCLUDE_DIR works. We've configured for egl, but 
at link
time, it still appears to be referring to wgl functions.

  I found this message from two years ago:

http://forum.openscenegraph.org/viewtopic.php?t=4208view=previous

  where you say

 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. 

  Can anyone confirm -- am I missing something, or in two years nobody has 
built GLES on
Windows and written the egl stubs for GraphicsWindowWin32?

  I'm going to go dissect GraphicsWindowWin32 now and see what I can learn.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Building on OpenGL ES

2011-12-07 Thread Robert Osfield
Hi Chris,

On 6 December 2011 15:48, Chris 'Xenon' Hanson xe...@alphapixel.com wrote:
  Well, I think OPENGL_INCLUDE_DIR is provided by FIND_PACKAGE(OpenGL), but 
 even when it
 is found (such as when I'm building with normal full-spec OpenGL) it doesn't 
 show up as a
 settable parameter in CMake. Is this supposed to be a setting that's exposed 
 in the CMake
 GUI? The recipe implies it is, since it is listed with other publicly-exposed 
 parameters
 (like OSG_GL1_AVAILABLE).

ccmake have advanced options that are aren't displayed by default, but
can be toggled on using 't'.  I believe OPENGL_INCLUDE_DIR is one of
these advanced options.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Building on OpenGL ES

2011-12-07 Thread Chris 'Xenon' Hanson
On 12/7/2011 10:10 AM, Robert Osfield wrote:
 settable parameter in CMake. Is this supposed to be a setting that's exposed 
 in the CMake
 GUI? The recipe implies it is, since it is listed with other 
 publicly-exposed parameters
 (like OSG_GL1_AVAILABLE).
 ccmake have advanced options that are aren't displayed by default, but
 can be toggled on using 't'.  I believe OPENGL_INCLUDE_DIR is one of
 these advanced options.

  In my testing here, even toggling on the Advanced filter, OPENGL_INCLUDE_DIR 
did not
appear, on Windows CMake-GUI.

 Robert.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Building on OpenGL ES

2011-12-06 Thread Robert Osfield
Hi Chris,

On 6 December 2011 04:35, Chris 'Xenon' Hanson xe...@alphapixel.com wrote:
 The instructions at:
 http://www.openscenegraph.org/projects/osg/wiki/Community/OpenGL-ES

  seem out of date. There is no mention in the CMake files of an 
 OPENGL_INCLUDE variable.
 There is no mention of OSG_GLU_AVAILABLE.


OSG_GLU_AVAILABLE is out of date, as an external GLU is no longer used
by the OSG on any platforms - thanks to the internal glu code.

I've just attempted to log into the wiki to amend the page but am just
getting a wait cursor and now a error arggg

I believe OPENGL_INCLUDE is provided by the FIND_PACKAGE(OpenGL), but
I guess if this fails it might not set anything for OPENGL_INCLUDE.
Is this happening on your system?

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Building on OpenGL ES

2011-12-06 Thread Chris 'Xenon' Hanson
On 12/6/2011 8:31 AM, Robert Osfield wrote:
 OSG_GLU_AVAILABLE is out of date, as an external GLU is no longer used
 by the OSG on any platforms - thanks to the internal glu code.

  Ok.

 I've just attempted to log into the wiki to amend the page but am just
 getting a wait cursor and now a error arggg

  Yes, I am seeing the same issue.

 I believe OPENGL_INCLUDE is provided by the FIND_PACKAGE(OpenGL), but
 I guess if this fails it might not set anything for OPENGL_INCLUDE.
 Is this happening on your system?

  Well, I think OPENGL_INCLUDE_DIR is provided by FIND_PACKAGE(OpenGL), but 
even when it
is found (such as when I'm building with normal full-spec OpenGL) it doesn't 
show up as a
settable parameter in CMake. Is this supposed to be a setting that's exposed in 
the CMake
GUI? The recipe implies it is, since it is listed with other publicly-exposed 
parameters
(like OSG_GL1_AVAILABLE).

 Robert.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Building on OpenGL ES

2011-12-05 Thread Chris 'Xenon' Hanson
The instructions at:
http://www.openscenegraph.org/projects/osg/wiki/Community/OpenGL-ES

  seem out of date. There is no mention in the CMake files of an OPENGL_INCLUDE 
variable.
There is no mention of OSG_GLU_AVAILABLE.

  Does anyone have a current, correct, set of build instructions for OpenGL ES 
(2.0)?
We'll be building Windows with the PowerVR emulation library, if it matters.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org