#1
|
|||
|
|||
Turning a path into a wireframe
Hi.
I'm currently trying to turn a set of coordinates that form a curved line into a wireframe of a road where these coordinates define the middle of the street. The simplest I've come up with is using the coordinates to draw a very thick line (via viz.LINE_STRIP and viz.linewidth) and setting the polygon mode to POLY_WIRE, but it comes out as a filled line with very jaggy edges. Any ideas? I'm probably missing something obvious here. Thanks. |
#2
|
|||
|
|||
Have you tried enabling anti-aliasing?
http://kb.worldviz.com/articles/831 |
#3
|
|||
|
|||
I have not. Thanks, I'll try that. But that still leaves the issue of POLY_WIRE giving me a filled area. Does this only apply to polygon shapes, and not lines?
|
#4
|
|||
|
|||
Yes, that applies to polygons. You'll have to create two parallel line strips with smaller widths.
|
#5
|
|||
|
|||
All right, thanks for the help.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Array, concatenate, multiple path help please | sircedric4 | Vizard | 3 | 10-28-2009 05:14 AM |
Start_position on animation path | ptjt255 | Vizard | 1 | 08-24-2009 11:40 AM |
smoothing a cubic bezier path | just alex | Vizard | 10 | 04-22-2009 01:07 PM |
Problems with interaction of vizact.turn and animation path | Enlil | Vizard | 3 | 11-24-2008 04:23 PM |
speed on animation path | whj | Vizard | 8 | 11-17-2008 07:41 PM |