View 3D Axis
How could i view the X,Y and Z axis in windows form when working with 3D objects?, i would like that to actually look the objects i place in my project and the coordinates .
is it possible to do this?, if it so, how?
, thanks.
How could i view the X,Y and Z axis in windows form when working with 3D objects?, i would like that to actually look the objects i place in my project and the coordinates .
is it possible to do this?, if it so, how?
, thanks.
Turn off the Z/Depth buffer and draw the axis as 3 lines using a linelist or using D3DXLine (line class in managed code).
x is (0,0,0) - (N, 0, 0)
y is (0,0,0) - (0, N, 0)
z is (0,0,0) - (0, 0, N)
N is a big enough number that the axis will appear for your current view matrix
There is no built in way to do it