Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. DirectX

DirectX

Scheduled Pinned Locked Moved C#
graphicsgame-devbusinesshelptutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    ghho
    wrote on last edited by
    #1

    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

    J H 2 Replies Last reply
    0
    • G ghho

      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

      J Offline
      J Offline
      Jeremy Kimball
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • G ghho

        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

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        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

        M 1 Reply Last reply
        0
        • H Heath Stewart

          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

          M Offline
          M Offline
          MKlucher
          wrote on last edited by
          #4

          If you needed another reccomendation on this, here it is. The book is awesome!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups