PDA

View Full Version : What on earth is RHW



chronozphere
11-10-2006, 03:53 AM
Hi guy's 8)

Each transformed vertex contains a RHW variable.

i found this on MSDN:


Represents the reciprocal homogeneous w (RHW) component of the position.

Is this an important vertex property??
can someone explain its function to me??

Thanx in advance. :)[/quote]

jasonf
11-10-2006, 04:34 AM
Right Hand Welly?
Really High Wall?
Round House Whack?
Reciprocal of Homogenous W-Co-Ordinate

"Following transformation, the X, Y, and Z coordinates are divided by W, and 1/W (reciprocal of homogenous W, aka RHW) is stored in the fourth component of the transformed vertex position:" http://www.mvps.org/directx/articles/linear_z/linearz.htm

Rancid Horse Willy?
Rock Hard Window?
Really Hostile Weather?
Really Humerous Wigs?
Rapid Hand Waving?

OK.. I'll stop :-)

chronozphere
11-10-2006, 06:29 AM
ah thanx.. I'am not a mathematician so i dont understand all the math on that page. :)

I did some test on the vertices tutorial (from clooties website) and i only noticed some color changes. The new value didn't modify the vertex position.

I think you dont need to change this value, for simple 2d drawing. :)