<div dir="ltr">Thank you Sebastian. So If i set the DrawArrays mode of the PrimitiveSet, does it suffice?<div>Otherwise, is it easy to implement? Sorry but i'm newby in OSG.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 July 2017 at 09:36, Sebastian Messerschmidt <span dir="ltr"><<a href="mailto:sebastian.messerschmidt@gmx.de" target="_blank">sebastian.messerschmidt@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Hi Nabil,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hello,<br>
I'm using geometry shader with OSG to do some operations on mesh using GPU.<br></span>
When i use /triangles_adjacency/ in the input layout, my shader crashes.<br>
I tried with /layout(triangles) in/ and it's running well.<span class=""><br>
<br>
Is there any configuration in OSG that i should use, or a pre-processing on the mesh to understand triangle adjacency?<br>
</span></blockquote>
You need to pre-process the mesh to get the adjacency information. There is no facility in OSG that I know of, wich does this for you.<br>
<br>
<br>
Cheers<br>
Sebastian<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards,<br>
Nabil<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br>
</blockquote>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font color="#333333" face="proxima-nova-1, proxima-nova-2, Tahoma, Helvetica, Verdana, sans-serif"><span style="font-size:16px">Nabil Khalifa</span></font></div></div>
</div>