Re: [osg-users] VRML Normal Issue

2009-03-27 Thread Ben Axelrod
26, 2009 5:07 PM To: OpenSceneGraph Users Subject: Re: [osg-users] VRML Normal Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Axelrod wrote: Can normals per primitive and normals per vertex both be used in a single shape? Not that I am aware of. If not, the only way I can imagine

Re: [osg-users] VRML Normal Issue

2009-03-27 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Axelrod wrote: I think we are agreeing with each other. Yes, I think so. I agree the simplest thing for a user is to specify normals in the file for the best control over shading. And I agree that in order to support the crease angle

Re: [osg-users] VRML Normal Issue

2009-03-26 Thread Jan Ciger
-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

Re: [osg-users] VRML Normal Issue

2009-03-26 Thread Ben Axelrod
-Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jan Ciger Sent: Thursday, March 26, 2009 9:08 AM To: OpenSceneGraph Users Subject: Re: [osg-users] VRML Normal Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi

Re: [osg-users] VRML Normal Issue

2009-03-26 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Axelrod wrote: Can normals per primitive and normals per vertex both be used in a single shape? Not that I am aware of. If not, the only way I can imagine having a shape with some smooth and some sharp edges is if there is one normal per

Re: [osg-users] VRML Normal Issue

2009-03-25 Thread Ben Axelrod
-Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jan Ciger Sent: Tuesday, March 24, 2009 1:36 PM To: OpenSceneGraph Users Subject: Re: [osg-users] VRML Normal Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: [osg-users] VRML Normal Issue

2009-03-25 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Axelrod wrote: Just to clarify, the way the normals *should* work is sketched in the attached image. Please verify. When the angle between 2 faces is sharper than the crease angle, there is one normal per face, and when the angle is

Re: [osg-users] VRML Normal Issue

2009-03-25 Thread Ben Axelrod
Subject: Re: [osg-users] VRML Normal Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Axelrod wrote: Just to clarify, the way the normals *should* work is sketched in the attached image. Please verify. When the angle between 2 faces is sharper than the crease angle, there is one

Re: [osg-users] VRML Normal Issue

2009-03-25 Thread Ben Axelrod
Subject: Re: [osg-users] VRML Normal Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Axelrod wrote: Just to clarify, the way the normals *should* work is sketched in the attached image. Please verify. When the angle between 2 faces is sharper than the crease angle, there is one

Re: [osg-users] VRML Normal Issue

2009-03-24 Thread Ben Axelrod
...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jan Ciger Sent: Saturday, March 21, 2009 12:23 PM To: OpenSceneGraph Users Subject: Re: [osg-users] VRML Normal Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Ben, Ben Axelrod wrote: I have

Re: [osg-users] VRML Normal Issue

2009-03-24 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Axelrod wrote: Thanks for the info. Is this standard procedure with mesh files? Because I have noticed similar affects with a variety of file formats. I agree that when no normals are specified, the proper behavior for the parser is to use

Re: [osg-users] VRML Normal Issue

2009-03-21 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Ben, Ben Axelrod wrote: I have noticed a very strange issue regarding VRML file rendering. This issue happens in OSG viewer version 2.6, with openVRML version 0.14.3. ... Are there some VRML flags to prevent this behavior? Is this a

[osg-users] VRML Normal Issue

2009-03-20 Thread Ben Axelrod
I have noticed a very strange issue regarding VRML file rendering. This issue happens in OSG viewer version 2.6, with openVRML version 0.14.3. Please view the two attached vrml files and observe very different shading on the 2 cubes. The only difference between the files is that in