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. |
Have you tried enabling anti-aliasing?
http://kb.worldviz.com/articles/831 |
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?
|
Yes, that applies to polygons. You'll have to create two parallel line strips with smaller widths.
|
All right, thanks for the help.
|
All times are GMT -7. The time now is 08:00 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC