-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
Ben Axelrod wrote: > Thanks for the info. > > I took a look at the code. Adding crease angle support does seem > tricky since I think we would have to create new vertex points on the > fly to accommodate 2 or more different normal vectors at that point. > Here is some off the cuff pseudo code. > I do not see why you would want to do that. Just set the normal binding to be per primitive/face and not per vertex if you want to have sharp edges and define face normals. Otherwise, if the corners/edges are to be smoothed, you use normal binding per vertex and calculate normal as an average of the face normals of the faces adjacent to the vertex. There is no need to duplicate any vertices - in fact, that would only give you artifacts. Regards, Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFJy34Vn11XseNj94gRAlKlAJ49ebboolwzo75PcdLNog6W5y5vtgCggSZC 2e+pdTpYqi/E3IcYBd6wj1E= =+rJG -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org