D3D 9 Lines

This is a discussion on D3D 9 Lines within the Game Programming forums, part of the General Programming Boards category; I seen in a lot of editor-like programs (Sandbox editor, 3Ds Max, Maya), that they had "3D Lines", in that ...

  1. #1
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204

    Thumbs up D3D 9 Lines

    I seen in a lot of editor-like programs (Sandbox editor, 3Ds Max, Maya), that they had "3D Lines", in that they appear to be in 3d space. I've looked around but all I can find is stuff on ID3DXLine, which only draws it on top of everything and it is only in screen coordinates. Also, I'd like to be able to have curved lines and whatnot. Here's an example from 3ds:

    http://i80.photobucket.com/albums/j1...pidd/lines.jpg

    Is this easy or overly complicated?

    Thanks.

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Lines can be drawn via disjoint triangles.

  3. #3
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204
    Can you please elaborate?

    Thanks.

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  5. #5
    Not stupid, just stupider yaya's Avatar
    Join Date
    May 2007
    Location
    Earthland
    Posts
    204
    Ah, I see. Thanks a bunch.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with deleting completely blank lines
    By dnguyen1022 in forum C Programming
    Replies: 3
    Last Post: 12-07-2008, 10:51 AM
  2. Replies: 11
    Last Post: 10-07-2008, 06:19 PM
  3. Print out first N lines
    By YoYayYo in forum C Programming
    Replies: 1
    Last Post: 02-20-2008, 11:58 PM
  4. Reading lines from a file
    By blackswan in forum C Programming
    Replies: 9
    Last Post: 04-26-2005, 04:29 PM
  5. count only lines of code...
    By flightsimdude in forum C Programming
    Replies: 13
    Last Post: 09-23-2003, 07:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21