![]() |
|
|
|
#1
|
|||
|
|||
|
You will need to create your own model with the proper UV coordinates.
The sample image you provided looks like it can be applied to a standard cylinder. Try the following code: Code:
import viz
import vizshape
viz.go()
viz.fov(60)
panorama = viz.add('panorama.jpg')
cyl = vizshape.addCylinder(radius=100,height=200,slices=100,flipFaces=True,top=False,bottom=False)
cyl.texture(panorama)
viz.link(viz.MainView,cyl,mask=viz.LINK_POS)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Skydome texture problem | theuberk | Vizard | 2 | 01-18-2008 06:56 AM |