Getting the normal of a triangle from Blitz3D?

Blitz3D Forums/Blitz3D Programming/Getting the normal of a triangle from Blitz3D?

Craig H. Nisbet(Posted 2007) [#1]
Is there any way to get the normal of a triangle from Blitz 3D?

I know you can get the normal from a point, but this info is not helping me with what I need to do.


Pepsi(Posted 2007) [#2]
Code Archives is a great place to look:

Get the normal of a triangle:
http://www.blitzbasic.com/codearcs/codearcs.php?code=466
nomilized normal if you need that too:
http://www.blitzbasic.com/codearcs/codearcs.php?code=467

Hope that helps :)


Stevie G(Posted 2007) [#3]
http://www.blitzbasic.com/Community/posts.php?topic=64797#723403


bytecode77(Posted 2007) [#4]
why dont you take UpdateNormals() ?


big10p(Posted 2007) [#5]
UpdateNormals sets vertex normals and has nothing to do with surface normals of individual tris.