Hi Emmanuel,

My guess is that there are some zero area triangles in the geometry.
The TangentSpaceGenerator will have a hard time handling these - the
tangent space is undefined.

Robert.

On 4/11/07, Emmanuel Roche <[EMAIL PROTECTED]> wrote:
Hi,

I'm using the TangentSpaceGenerator on a sphere geometry (one primitiveset
in Triangle_strip), and I added a small part of the result to the end of
this mail : is it correct that some points have a null normal (0,0,0)  ????

regards,
Emmanuel.



10:58:37: INFO: The normal is: (-0.102244,0.021733,0.994522)

10:58:37: INFO: The normal is: (-0.207912,-0.000000,0.978148)

10:58:37: INFO: The normal is: (-0.104528,0.000000,0.994522)

10:58:37: INFO: The normal is: (-0.102244,-0.021733,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.095492,-0.042516,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.084565,-0.061440,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.069943,-0.077680,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.052264,-0.090524,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.032301,-0.099412,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.010926,-0.103956,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.010926,-0.103956,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.032301,-0.099412,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.052264,-0.090524,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.069943,-0.077680,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.084565,-0.061440,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.095492,-0.042516,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.102244,-0.021733,0.994522)

10:58:37: INFO: The normal is: (-0.000000,0.000000,1.000000)

10:58:37: INFO: The normal is: (0.104528,-0.000000,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.102244,0.021733,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.095492,0.042516,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.084565,0.061440,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.069943,0.077680,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.052264,0.090524,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.032301,0.099412,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (0.010926,0.103956,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.010926,0.103956,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.032301,0.099412,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.052264,0.090524,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.069943,0.077680,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.084565,0.061440,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.095492,0.042516,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,0.000000)

10:58:37: INFO: The normal is: (-0.102244,0.021733,0.994522)

10:58:37: INFO: The normal is: (0.000000,-0.000000,1.000000)

10:58:37: INFO: The normal is: (-0.104528,-0.000000,0.994522)

10:58:37: INFO: The normal is: (0.000000,0.000000,1.000000)
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to