WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-25-2013, 10:55 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
What version of Vizard are you using? And to be clear, do you get any errors if you run the original script I posted, without any changes?
Reply With Quote
  #2  
Old 01-25-2013, 10:59 AM
shivanangel shivanangel is offline
Member
 
Join Date: Feb 2006
Location: New Jersey
Posts: 182
I'm running 4.06.0138

I get no errors with your code.
Reply With Quote
  #3  
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
Reply

Tags
viz.tex_3d

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to render a texture of the transparent object and then blur it whj Vizard 1 09-25-2012 03:15 PM
Avatar texture swaping sleiN13 Vizard 5 06-24-2011 12:48 AM
How to apply shader and render texture to an object whj Vizard 0 04-23-2010 12:23 PM
Randomly and Continuously Change Avatar's Face Texture Karla Vizard 4 08-22-2008 12:14 PM
how I can get my texture to appear exactly as is defined mspusch Vizard 1 04-23-2005 12:12 PM


All times are GMT -7. The time now is 02:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC