WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   On the fly Objects (https://forum.worldviz.com/showthread.php?t=541)

shivanangel 03-15-2006 03:23 PM

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?

farshizzo 03-15-2006 03:29 PM

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()



All times are GMT -7. The time now is 03:28 AM.

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