Thread: D3D 9 Lines

  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
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    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

  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, 11: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-21-2008, 12:58 AM
  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