<div dir="ltr">Hi Jens, <div><br></div><div class="gmail_extra"><div class="gmail_quote">2016-02-15 10:46 GMT+01:00 Jens Georg <span dir="ltr"><<a href="mailto:mail+osg@jensge.org" target="_blank">mail+osg@jensge.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Jordi,<br>
<br>
unfortunately the gles pseudoloader seems to be OSG 3.4 so I would need<br>
some time to check whether we can easily backport that to our 3.2.<br>
<br></blockquote><div><br></div><div>It is definitely possible, with some minor fixes. I did it for a client app. Now we updated to 3.4. Anyway give a look to <a href="https://github.com/cedricpinson/osg">https://github.com/cedricpinson/osg</a>, there is where the main development of the gles/osgjs plugin is done, and it has a lot of improvements w.r.t osg official repo. It should be merged sooner than later, but it could be worth to keep an eye.</div><div><br></div><div>Cheers.   </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
As for disabling the optimizer, that didn't help. I can't attach a stats<br>
screenshot currently because I have to get them working again beforehand<br>
(issue on our side)<br>
<br>
Thanks so far :)<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">
Hi Jens,<br>
<br>
Maybe you can try the gles pseudoloader. It optimizes models to be<br>
compatible with gles. So when you read a model add ".gles" at the end<br>
to use the pseudoloader.<br>
<br>
Cheers.<br>
<br>
2016-02-09 22:56 GMT+01:00 Sebastian Messerschmidt<br>
<<a href="mailto:sebastian.messerschmidt@gmx.de" target="_blank">sebastian.messerschmidt@gmx.de</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Jens,<br>
<br>
Can you disable the optimizer (there is some environment variable<br>
to disable it globally, but I don't recall the exact name) and see<br>
if the issue remains? Can you provide a stats-screenshot so we can<br>
see what might be going on?<br>
<br>
Cheers<br>
Sebastian<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi,<br>
<br>
I was trying to build a demo scene with our OSG (3.2 branch until<br>
commit 44cf6b92d2) (OpenGL ES 2.0) and I noticed that when I load<br>
dumptruck.osg (from<br>
<br>
</blockquote>
<br>
</blockquote>
<a href="https://raw.githubusercontent.com/openscenegraph/osg-data/master/dumptruck.osg" rel="noreferrer" target="_blank">https://raw.githubusercontent.com/openscenegraph/osg-data/master/dumptruck.osg</a><br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[1]) into osgviewer, the GL drawing operations seem to generate a<span class=""><br>
heack of a lot of calls to glDrawArrays (GL_TRIANGLE_STRIP,<br>
some_offset, 3), so rendering each trianlge separately, causing a<br>
huge load on the system.<br>
<br>
Is that expected to happen or is there something odd with our<br>
configuration or is that a bug?<br>
<br>
KR, Jens.<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<br>
</span></blockquote>
<br>
</blockquote>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[2]<br>
</blockquote><span class="">
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<br>
</span></blockquote>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
[2]<br>
</blockquote>
<br><span class=""><font color="#888888">
--<br>
<br>
Jordi Torres<br>
<br>
<br>
<br>
Links:<br>
------<br>
[1]<br>
<a href="https://raw.githubusercontent.com/openscenegraph/osg-data/master/dumptruck.osg" rel="noreferrer" target="_blank">https://raw.githubusercontent.com/openscenegraph/osg-data/master/dumptruck.osg</a><br>
[2] <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a></font></span><span class=""><br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</span></blockquote><div class=""><div class="h5">
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Jordi Torres<br><br><br></div></div>
</div></div>