Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 directx vb.net help
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

allked
Neophyte

5 Posts

Posted - Apr 11 2005 :  04:41:46 AM  Show Profile  Reply with Quote
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  Show Profile  Visit Krisc's Homepage  Send Krisc an AOL message  Click to see Krisc's MSN Messenger address  Reply with Quote
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.

Go to Top of Page

allked
Neophyte

5 Posts

Posted - Apr 17 2005 :  10:24:26 AM  Show Profile  Reply with Quote
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
Go to Top of Page

Krisc
Knave

69 Posts

Posted - Apr 17 2005 :  10:26:14 AM  Show Profile  Visit Krisc's Homepage  Send Krisc an AOL message  Click to see Krisc's MSN Messenger address  Reply with Quote
Well in 3D it is (1,-1,0) because yes it uses matrices.
Go to Top of Page

allked
Neophyte

5 Posts

Posted - Apr 19 2005 :  05:12:20 AM  Show Profile  Reply with Quote
thank you ,
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.