[osg-users] dumptruck.osg and GL ES 2.0

Jordi Torres jtorresfabra at gmail.com
Wed Feb 10 01:56:57 PST 2016


Yep,

The gles plugin is a work done in the scope of the osgjs exporter ( webGL )
by Cedric Pinson and his team. It works really nice for webGL exported
scenes so it should work as well for GLES.

Cheers.

2016-02-10 10:50 GMT+01:00 Sebastian Messerschmidt <
sebastian.messerschmidt at gmx.de>:

> Am 10.02.2016 um 10:43 schrieb Jordi Torres:
>
> Hi Jens,
>
> Maybe you can try the gles pseudoloader. It optimizes models to be
> compatible with gles. So when you read a model add ".gles" at the end to
> use the pseudoloader.
>
> Wow, I wasn't aware there is something like this. Great!
>
> Cheers
> Sebastian
>
>
> Cheers.
>
> 2016-02-09 22:56 GMT+01:00 Sebastian Messerschmidt <
> sebastian.messerschmidt at gmx.de>:
>
>> Hi Jens,
>>
>> Can you disable the optimizer (there is some environment variable to
>> disable it globally, but I don't recall the exact name) and see if the
>> issue remains? Can you provide a stats-screenshot so we can see what might
>> be going on?
>>
>> Cheers
>> Sebastian
>>
>> Hi,
>>>
>>> I was trying to build a demo scene with our OSG (3.2 branch until commit
>>> 44cf6b92d2) (OpenGL ES 2.0) and I noticed that when I load dumptruck.osg
>>> (from
>>> <https://raw.githubusercontent.com/openscenegraph/osg-data/master/dumptruck.osg>
>>> https://raw.githubusercontent.com/openscenegraph/osg-data/master/dumptruck.osg)
>>> into osgviewer, the GL drawing operations seem to generate a heack of a lot
>>> of calls to glDrawArrays (GL_TRIANGLE_STRIP, some_offset, 3), so rendering
>>> each trianlge separately, causing a huge load on the system.
>>>
>>> Is that expected to happen or is there something odd with our
>>> configuration or is that a bug?
>>>
>>> KR, Jens.
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users at lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
>
> --
> Jordi Torres
>
>
>
>
> _______________________________________________
> osg-users mailing listosg-users at lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Jordi Torres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160210/8374b336/attachment-0003.htm>


More information about the osg-users mailing list