Results 1 to 4 of 4

Thread: [RESOLVED] Drawing a Line using Direct3D

  1. #1

    Thread Starter
    Addicted Member cc2^^'s Avatar
    Join Date
    Apr 2008
    Location
    Right behind you.
    Posts
    165

    Resolved [RESOLVED] Drawing a Line using Direct3D

    I am using Direct3D Graphics for a 2D shooter game i am making. And i need to be able to draw lines. But since Direct3D can't draw a line from 1 vertex to another, i don't know how to draw one. It has to be atleast 3 vertices to be drawn.
    So i tried drawing a very small triangle looking like a line, but when the second vertex was above the other 2 vertices, the line became invisible.

    So does anyone know how to draw a simple line with Direct3D? Thank you.
    I think I am, therefore, I am. I think.

  2. #2

    Thread Starter
    Addicted Member cc2^^'s Avatar
    Join Date
    Apr 2008
    Location
    Right behind you.
    Posts
    165

    Re: Drawing a Line using Direct3D

    bump
    I think I am, therefore, I am. I think.

  3. #3

    Thread Starter
    Addicted Member cc2^^'s Avatar
    Join Date
    Apr 2008
    Location
    Right behind you.
    Posts
    165

    Re: Drawing a Line using Direct3D

    anyone?
    I think I am, therefore, I am. I think.

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width