WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-11-2012, 03:27 PM
Salvar Salvar is offline
Member
 
Join Date: Nov 2010
Posts: 20
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.
Reply With Quote
  #2  
Old 04-13-2012, 08:27 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,453
Have you tried enabling anti-aliasing?
http://kb.worldviz.com/articles/831
Reply With Quote
  #3  
Old 04-13-2012, 09:46 AM
Salvar Salvar is offline
Member
 
Join Date: Nov 2010
Posts: 20
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?
Reply With Quote
  #4  
Old 04-14-2012, 06:35 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,453
Yes, that applies to polygons. You'll have to create two parallel line strips with smaller widths.
Reply With Quote
  #5  
Old 04-17-2012, 05:25 PM
Salvar Salvar is offline
Member
 
Join Date: Nov 2010
Posts: 20
All right, thanks for the help.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 06:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC