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

Chris Hanson xenon at alphapixel.com
Mon Mar 14 12:09:30 PDT 2016


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.

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

> Hi,
>
> ------------------------------
> *From:* osg-users [osg-users-bounces at lists.openscenegraph.org] on behalf
> of Chris Hanson [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 (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
> 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 (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160314/68f1337b/attachment-0002.htm>


More information about the osg-users mailing list