DirectX
-
i'm a beginner on 3D programming and currently using DirectX 9.0. I have trouble when coding and hope to get help from you guys. Here are the application requirements: -application to show warehouse rack in 3D -user able to view the rack in different angle -user able to select the item in the rack -when item selected, the information of the item need to show to user I does not know how to use mouse to select and show the item info. I hope to get some advices and tutorials or articles on the regarding requirements above. thanks
-
i'm a beginner on 3D programming and currently using DirectX 9.0. I have trouble when coding and hope to get help from you guys. Here are the application requirements: -application to show warehouse rack in 3D -user able to view the rack in different angle -user able to select the item in the rack -when item selected, the information of the item need to show to user I does not know how to use mouse to select and show the item info. I hope to get some advices and tutorials or articles on the regarding requirements above. thanks
Wow...you've got your work cut out for you. What I would do if I were you:
1. Google like a madman for "Direct3D 9.0 tutorials"
2. Download the DirectX SDK documentation
3. Look heavily into the following areas:- Microsoft.DirectX.Direct3D.VertexBuffer
- Microsoft.DirectX.Direct3D.Device
- Microsoft.DirectX.Direct3D.Texture
- Microsoft.DirectX.Direct3D.Transforms
- Vector3.Unproject and Vector3.Project
The VertexBuffers hold the "points" that make up the 3D models in your application. The Device is a object that represents the drawing space of your app. Textures are painted onto the 3D models to make them look better, and Transforms are how you move objects around in your "world", as well as your viewing location, or camera. The Project and Unproject methods take a 2D point and convert it into 3D viewspace, and vice-versa. To summarize, start reading a LOT. You'll be working with a heavy amount of trigonometry, geometry and matrix algebra.
Jeremy Kimball I have traveled the gutters, lo these many days, with no signs of life. Well met. -brianwelsch
-
i'm a beginner on 3D programming and currently using DirectX 9.0. I have trouble when coding and hope to get help from you guys. Here are the application requirements: -application to show warehouse rack in 3D -user able to view the rack in different angle -user able to select the item in the rack -when item selected, the information of the item need to show to user I does not know how to use mouse to select and show the item info. I hope to get some advices and tutorials or articles on the regarding requirements above. thanks
In addition to what Jeremy said, I'd recommend reading Managed DirectX 9 Kick Start : Graphics and Game Programming[^]. It's a good book for beginners and intermediate developers targeting Managed DirectX 9. It's a good read.
Microsoft MVP, Visual C# My Articles
-
In addition to what Jeremy said, I'd recommend reading Managed DirectX 9 Kick Start : Graphics and Game Programming[^]. It's a good book for beginners and intermediate developers targeting Managed DirectX 9. It's a good read.
Microsoft MVP, Visual C# My Articles