[Papervision3D] Normal vector

laurent laurent at logiquefloue.org
Fri Sep 7 06:44:11 PDT 2007


I'm thinking to use the transform matrix3D, but I don't know how to make 
a normal vector from that. Can someone explain me a bit what are the 4 
colomnsn and specialy the 4th one, can't figure out what is it used for.

n11   n21   n31   n41
n12   n22   n32   n42  
n13   n23   n33   n43

to get a normal vector should I do something like that:

normal.x = n11*n12*n13
normal.y = n21*n22*n23
normal.z = n31*n32*n33

thx
L



laurent a écrit :
> Hi list!
>
> What is the best way to get the normal vector of a do3d ?
>
> L
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>   




More information about the Papervision3D mailing list