View Full Version : Question on Mpoint

Jeep Wang
03 March 2004, 07:31 AM
Hello,I'm poor about Maya Api,and also English. There is a question on Mpoint class.
(x,y,z)three components are enough to denote the position of a point,why there are four float component (x,y,z,w) in Mpoint,what's the meaning of the float 'w' ? Thank you!

03 March 2004, 06:52 PM
w is the 4-d homogeneous component. Basically it affects how the point is transformed. If w is 1, then it should be treated as a point, if w is 0, then it is a vector.

Search for some reference on 3d tranformations and homogeneous coordinates for a more detailed explanation

Jeep Wang
03 March 2004, 03:17 AM
I got it.Thanks a lot! :):bounce:

CGTalk Moderation
01 January 2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.