[osg-users] OSG-GLSL triangle adjacency
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Fri Jul 21 00:36:46 PDT 2017
Hi Nabil,
> Hello,
> I'm using geometry shader with OSG to do some operations on mesh using GPU.
> When i use /triangles_adjacency/ in the input layout, my shader crashes.
> I tried with /layout(triangles) in/ and it's running well.
>
> Is there any configuration in OSG that i should use, or a pre-processing
> on the mesh to understand triangle adjacency?
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.
Cheers
Sebastian
>
> Regards,
> Nabil
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
More information about the osg-users
mailing list