Re: [osg-users] Bringing OSG to Google's Native Client NaCl

2011-12-23 Thread Robert Osfield
Hi Michael,

Back in 2010 I recall conversing with a google engineer,  Alok
Priyadarshi, about test work they were doing with the native client
and the OSG. Prior to work at google Alok was an OSG user so his
familiarity led him to want to try out a port to native client. Alok
provided some changes to the OSG to enable static linking against
GLES2.  Have a look at the thread [osg-users] OSG + NativeClient
from 22/04/2010 and [osg-submissions] Added support for statically
linking with gles2 lib 28/04/2010.  These don't discuss much but
might help provide a little lead.

I don't know how much further Alok got with NaCl support, NaCl has
evolved quite a bit since then.  Alok's email address back then was
'alokp at chromium.org', I'd guess he's probably one of the best
people you could coordinate with to doing a port.

Good luck with your efforts,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgPlugins] Problem in loading Shape file

2011-12-23 Thread Lalit Manchwari
Thanks ulrich for your answer

I followed your instruction and now program is not crashing. But in some file 
it does not load the complete shape file. I have attached here a shape file and 
its snapshot (with complete view).  

Please could you help.   


Thank you!

Cheers,
Lalit

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44461#44461




Attachments: 
http://forum.openscenegraph.org//files/completeview_836.jpg
http://forum.openscenegraph.org//files/testshapefile_371.rar


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


Re: [osg-users] [OpenGL ES] Bug in loading textures

2011-12-23 Thread Robert Osfield
Hi Hartwig,

On 10 October 2011 10:56, Robert Osfield robert.osfi...@gmail.com wrote:
 Once you are happy with your solution could please post the full
 source code files that you've changed to osg-submissions.

Could you send me the complete files that you have modified so I can
review them?  I don't attempt to merge sutff by copying pasting from
emails as it's far too prone to errors.

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


[osg-users] PowerVR OpenGL ES on Linux

2011-12-23 Thread Chris 'Xenon' Hanson
  Trying to run OSG/osgviewer (and the GLES2 osgvertexattributes test program) 
on Linux,
under Ubuntu with the PowerVR emulator.

  I know cow.osg won't display, but just as a test to see if the GLES/EG stuff 
was working:

osgviewer cow.osg
GraphicsWindowX11::init() - eglInitialize() succeded eglMajorVersion=1 
iMinorVersion=3
GraphicsWindowX11::init() - window created =1
GraphicsWindowX11::init() - eglChooseConfig() failed.
  GraphicsWindow has not been created successfully.
Viewer::realize() - failed to set up any windows
GraphicsWindowX11::init() - eglInitialize() succeded eglMajorVersion=1 
iMinorVersion=3
GraphicsWindowX11::init() - window created =1
GraphicsWindowX11::init() - eglChooseConfig() failed.
  GraphicsWindow has not been created successfully.
Viewer::realize() - failed to set up any windows
max@UBU1:~/Dev/OSG/data$
max@UBU1:~/Dev/OSG/data$ osgvertexattributes cow.osg
GraphicsWindowX11::init() - eglInitialize() succeded eglMajorVersion=1 
iMinorVersion=3
GraphicsWindowX11::init() - window created =1
GraphicsWindowX11::init() - eglChooseConfig() failed.
  GraphicsWindow has not been created successfully.
Viewer::realize() - failed to set up any windows
GraphicsWindowX11::init() - eglInitialize() succeded eglMajorVersion=1 
iMinorVersion=3
GraphicsWindowX11::init() - window created =1
GraphicsWindowX11::init() - eglChooseConfig() failed.
  GraphicsWindow has not been created successfully.
Viewer::realize() - failed to set up any windows


  It's not clear why eglChooseConfig is failing.

  This post:
http://www.imgtec.com/forum/forum_posts.asp?TID=1378

  seems similar, but an excerpt of the glxinfo output:

server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile,
GLX_ARB_create_context_robustness, GLX_ARB_multisample,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float,
GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB,
GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage,
GLX_NV_video_capture, GLX_EXT_create_context_es2_profile,
GLX_ARB_create_context_robustness
GLX version: 1.4
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile,
GLX_ARB_create_context_robustness, GLX_ARB_multisample,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB,
GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 260/PCI/SSE2/3DNOW!
OpenGL version string: 3.3.0 NVIDIA 280.13


  Shows we do have real NVidia drivers with GL3.3 support.


  I'm at a loss to think of what else might be going wrong. Is anyone else 
running a
similar setup, who might be able to suggest what we're overlooking?

  I'll follow-up for posterity if we figure it out here.


-- 
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] Build

2011-12-23 Thread Chris 'Xenon' Hanson
On 12/23/2011 5:00 PM, Michael W. Hall wrote:
 Here is my project I had mentioned.  It builds the lib and then when it
 builds the main cpp file I get lots of undefined references in my
 library.  I am probably missing something in one of the CMakeList.txt
 files.  I am learning that also.

  You can't post large attachments to this mailing list. Is there somewhere you 
can put a
copy where only those interested in it can download it?

 Thanks,
 Michael

-- 
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