![]() |
|
#1
|
|||
|
|||
|
texturing on-the-fly objects
I would like to apply a simple texture to an on-the-fly QUAD:
Code:
viz.startlayer(viz.QUADS)
viz.vertex(-.5,0,0)
viz.vertex(.5,0,0)
viz.vertex(.5,-DELTA,11)
viz.vertex(-.5,-DELTA,11)
plank = viz.endlayer()
plank.texture("wood.gif")
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|