[osg-users] Running OSG models on OpenGLES2.0

Hyun Kwon hyun.kwon at xilinx.com
Mon Mar 14 12:30:19 PDT 2016


Hi Chris,

________________________________
From: osg-users [osg-users-bounces at lists.openscenegraph.org] on behalf of Chris Hanson [xenon at alphapixel.com]
Sent: Monday, March 14, 2016 12:09 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Running OSG models on OpenGLES2.0

So, to really help you any further, we'd probably need to see the model and how it renders on desktop and GLES2. Otherwise, it's too non-specific of a question to have a singular answer.

Remember, desktop FFP GL has a LOT of features, many of which may not be emulated by whatever shader you've attached to make GLES2 work.

I agree, but some information can not be disclosed here. So, from what I understood so far, if someone like me integrated the OSG layer into some OpenGLES system, there's not much way (examples) to validate the platform. In that way, I thought I'd be able to isolate problems at least.

Thanks,
-hyun


On Mon, Mar 14, 2016 at 12:48 PM, Hyun Kwon <hyun.kwon at xilinx.com<mailto:hyun.kwon at xilinx.com>> wrote:
Hi,

________________________________
From: osg-users [osg-users-bounces at lists.openscenegraph.org<mailto:osg-users-bounces at lists.openscenegraph.org>] on behalf of Chris Hanson [xenon at alphapixel.com<mailto:xenon at alphapixel.com>]
Sent: Monday, March 14, 2016 9:58 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Running OSG models on OpenGLES2.0

"The fragment language has no default precision qualifier for floating point types.  Hence for float, floating
point vector and matrix variable declarations, either the declaration must include a precision qualifier or
the default float precision must have been previously declared. Similarly, there is no default precision
qualifier for any of the image types,  or any of the following sampler types in any of the languages:"
So basically I always had the luck to have sloppy drivers :-) and one must indeed add the precision qualifiers or define the default precision.

  I think the NVidia drivers play sloppy. Others may be the same way.

Thanks for the input. Now it comes back to my original question. I've added precision qualifiers to compile shaders, but the models from OpenSceneGraph-Data still don't get rendered correctly (similar to the model that I have). I can run all of those fine on desktop with OpenGL. Maybe most of those are not OpenGLES2.0 compatible. I guess there's some incompatibility between pieces.

Thanks,
-hyun

Cheers
Sebastian.


--
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com 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
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel<https://twitter.com/alphapixel> facebook.com/alphapixel<http://facebook.com/alphapixel> (775) 623-PIXL [7495]


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.


_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org<mailto:osg-users at lists.openscenegraph.org>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com 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
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel<https://twitter.com/alphapixel> facebook.com/alphapixel<http://facebook.com/alphapixel> (775) 623-PIXL [7495]


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160314/ae8ec9ea/attachment-0003.htm>


More information about the osg-users mailing list