allked
Neophyte
5 Posts |
Posted - Apr 11 2005 : 04:41:46 AM
|
i don't know how to draw a box using dx9 in vb.net who can tell me step-by-step? and the vertex in 2d the x y (150 , 250),why it changed in 3d coordinate? like -1, 1, 0,?, cuz it use matrix? |
|
Krisc
Knave
69 Posts |
Posted - Apr 15 2005 : 8:16:04 PM
|
Could you go into more detail about what you are doing and then perhaps we can help?
Are you trying to use DirectDraw or Direct3D? If it is Direct3D that you are using then all vertices are kept in 3d coordinates but you can use an orthogonal projection to place objects in screen coordinates in 2d using direct3d.
|
|
|
allked
Neophyte
5 Posts |
Posted - Apr 17 2005 : 10:24:26 AM
|
i mean the vertex location in 2d is like(150,250,25), but in 3d coordinate it is (1,-1,0) ,what's that mean |
|
|
Krisc
Knave
69 Posts |
Posted - Apr 17 2005 : 10:26:14 AM
|
Well in 3D it is (1,-1,0) because yes it uses matrices. |
|
|
allked
Neophyte
5 Posts |
Posted - Apr 19 2005 : 05:12:20 AM
|
thank you , |
|
|
|
|