Hello,
Surely. Yes, I am using panorama.ive. Then, I downloaded a hall.jpg and trying to add as a texture to it.
I am using the following code:
import vizinfo #For info box
import viztask #For wait time
import vizmat #Matrix in v2.0
import vizact
import math
viz.go()
#Add an object.
room = viz.add('panorama.ive')
#Add a texture.
sky = viz.addTexture( 'hall.jpg' )
#Apply the texture to the object.
room.texture( sky )
On running these lines of code, what I am getting is that there are as if two halls (seems like the picture has been split). I tried to edit its pixels in paintbrush, but, it does not work out.
I am enclosing the hall.jpg file.
Thanks for your time.
Uttama
|