WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-15-2006, 03:23 PM
shivanangel shivanangel is offline
Member
 
Join Date: Feb 2006
Location: New Jersey
Posts: 182
On the fly Objects

I was readaing in your help file on how to create onthefly objects.
I see you can make points and lines, but is there anyway to create
faces that unit these points/lines?
Reply With Quote
  #2  
Old 03-15-2006, 03:29 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Sorry, I don't understand exactly what you are asking for. Are you talking about creating triangles? If so, then you can create them like so:
Code:
viz.startlayer(viz.TRIANGLES)
viz.vertex(0,0,0)
viz.vertex(0,1,0)
viz.vertex(1,0,0)
.
.
.
viz.endlayer()
Reply With Quote
Reply


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


All times are GMT -7. The time now is 02:51 AM.


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