WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-06-2014, 09:04 PM
aaaa aaaa is offline
Member
 
Join Date: Nov 2014
Posts: 9
how to draw 2D line in the screen, no the in 3D screen

how to draw 2D line in the screen, no the in 3D screen
Reply With Quote
  #2  
Old 11-07-2014, 03:18 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can use an on-the-fly line object:

Code:
import viz
viz.go()

#Add to viz.ORTHO and specify pixel coordinates
viz.startLayer(viz.LINES)  
viz.vertex(100,400,0)
viz.vertex(600,400,0) 
myLines = viz.endLayer(viz.ORTHO)
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
how to draw 2D figure , for example a circle, in the screen, no the in 3D screen aaaa Vizard 4 11-07-2014 03:11 PM
Draw Line Moh200jo Vizard 3 05-05-2010 05:40 AM
Draw line with a triangle at the end Chrissy2009 Vizard 9 08-24-2009 11:12 AM
Draw Line between Points Chrissy2009 Vizard 2 05-13-2009 04:42 AM
Draw Line between Points selected by mouse Johannes Vizard 7 01-07-2005 02:50 PM


All times are GMT -7. The time now is 04:32 AM.


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