comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Compute_Mesh_Normals returns normal vector [0, 0, 0]
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Compute_Mesh_Normals returns normal vector [0, 0, 0] [message #49116 is a reply to message #49115] Thu, 22 June 2006 10:26 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
spidersapiens@gmail.com wrote:
> According to the online help, the function "Compute_Mesh_Normals"
> should return "a 3 x M array containing a unit normal for each vertex
> in the input array.". However when I used it in my program, it's
> returning a couple ZERO vector [0, 0, 0] though the rest are normal
> unit vectors. What does zero vector mean in this case or should I say
> this is an IDL bug?

Just a guess, but maybe a few of the verts are identical? I think for
this to happen nVerts_per_poly-1 vertices would have to be the same.
This might be in your data or it could be a subtle error in your
connectivity array. Or it could be neither of these :)

-Rick
[Message index]
 
Read Message
Read Message
Previous Topic: Compute_Mesh_Normals returns normal vector [0, 0, 0]
Next Topic: Space Camper

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 06:21:11 PDT 2025

Total time taken to generate the page: 0.87889 seconds