View Single Post
  #8  
Old 01-25-2013, 11:08 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Can you run the following script and post the entire output?
Code:
import viz
viz.go()

#Create list of 2D images that will make up 3D texture
files = [ 'BodyScans/Test/'+ str(i+1) + '.jpg' for i in range(1,6) ]

#Create blank 3D texture
tex = viz.addBlankTexture([512,512,len(files)],viz.TEX_3D)
print tex.getSize()

#Load each image into 3D texture
for i,f in enumerate(files):
	tex.load(f,i)
Reply With Quote