Note: You must be registered in order to post a reply.
|
allked |
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? |
allked |
Posted - Apr 19 2005 : 05:12:20 AM thank you , |
Krisc |
Posted - Apr 17 2005 : 10:26:14 AM Well in 3D it is (1,-1,0) because yes it uses matrices. |
allked |
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 |
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. |
|
|
VBGamer |
© |
|
|
|
|