April 28th, 2009, 02:55 AM
Simple question about normalising...
When you normalise a 3d vertex/vector you make sure it is within the range of 0-1 (or -1)...
Is this basically to turn it from a position in 3d space to a direction? im trying to understand alot more about 3d maths and things, its easy enough to copy code and vaugley understand what its doing and why its doing it... but i wanted to try to make sure my understanding was correct...
April 28th, 2009, 06:49 AM
Re: Simple question about normalising...
You have the basic idea.
Though I don't usually see uses for length of -1, just 1.
With a length of one, certain operations for which a normal is used ( dot products for example ) make more sense for their context, as in 1 * 1 = 1.
That's not a deep explanation as to why it's done, just an intuitive point.
If my post was interesting or helpful, perhaps you would consider clicking the 'rate this post' to let me know (middle icon of the group in the upper right of the post).
Click Here to Expand Forum to Full Width