[osg-users] Normal bindind

Robert Osfield robert.osfield at gmail.com
Mon Sep 14 03:59:28 PDT 2015


Hi Julie,

OpenGL doesn't support bind per primitive, there is deprecated OSG pathway
for BIND_PER_PRIMITIVE but it has to emulate the functionality and is very
inefficient.

The closest you can get to what you are after is to BIND_PER_VERTEX and
then use flat shading.

Robert.

On 14 September 2015 at 10:56, Julie Green <laroux92 at mail.ru> wrote:

> Hi,
>
> I have a surface, made of triangles. Is there a way to bind surface
> normals per triangle, not per vertex (don't want to calculate vertex
> normals)?
>
> Thank you!
>
> Cheers,
> Julie
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=65128#65128
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150914/7c3a26ca/attachment-0003.htm>


More information about the osg-users mailing list