| Convenient way to draw lines |
|
 |
|
 |
|
 |
|
 |
Group: microsoft.public.win32.programmer.directx.graphics · Group Profile
Author: TonyTony Date: May 12, 2007 08:21
Hello,
I am currently writing an application that needs to graphically
display a network of nodes. I would like to indicate the presence of a
connection between nodes by drawing a line between them. However, the
issue is that the node data will continually be changing, so it
doesn't make sense to me to try to hold onto a vertex buffer
containing all the lines to be drawn. I'm wondering if there is a more
convenient way to draw lines on the screen without going through the
overhead of creating long buffers when they will need to be recreated
often.
Thank you in advance.
|