texturing on-the-fly objects
I would like to apply a simple texture to an on-the-fly QUAD:
Code:
viz.startlayer(viz.QUADS) |
Hi,
Two problems. First, for each vertex you need to define a texture coordinate. Second, you need to add the texture before you apply it to an object. Sample code: Code:
viz.startlayer(viz.QUADS) |
All times are GMT -7. The time now is 04:35 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC