View Single Post
  #4  
Old 04-03-2009, 11:29 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
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
Attached Thumbnails
Click image for larger version

Name:	hall.jpg
Views:	843
Size:	46.1 KB
ID:	307  
Reply With Quote