UV [W] Mapping

Community Forums/General Help/UV [W] Mapping

Yue(Posted 2012) [#1]
I would like you to please explain to me is UVW, the textured 3D model. I think that U = X, V = Y, W = Z, but this applied to textures, am I right?


Yasha(Posted 2012) [#2]
U = the vertex's X position on the texture, measured from 0.0 to 1.0
V = the vertex's Y position on the texture, measured from 0.0 to 1.0

W doesn't do anything. If you try to set it anyway, it will just reset itself. (It was intended for future expansion, but the relevant feature was never implemented.)


Yue(Posted 2012) [#3]
ok Thanks.


Yasha(Posted 2012) [#4]
Oooops wait sorry. W doesn't do anything - in Blitz3D. In other engines it indeed corresponds to a texture Z coordinate, as long as the engine supports 3D textures (that's pretty advanced stuff though).

Sorry, for some reason I thought this was a B3D-specific question and answered accordingly. Obviously W does work in other engines.


Kryzon(Posted 2012) [#5]
More info: http://www.gamedev.net/topic/323850-what-is-the-w-in-uvw-mapping/