![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
			
			Hello Vizard Support, 
		
		
		
		
		
		
		
		
	
	I had a question when using <multimedia:image>.setImageData(). I'm working on an updated volume renderer and I'm trying to populate a 3D texture ( btw, thank you for helping me with that months ago ) but instead of using the .load() method with a file name I wish to fill the 3D texture with images that have already been loaded into Vizard. Specifically, I'm trying to do something like this: Code: 
	def loadBlank3DTexture( blank3DTex, imageList ): ''' Fill 3D texture with provided list of images in sequential order ''' for i, image in enumerate( imageList ): imageSize = image.getSize() print i, image blank3DTex.setImageData( image.getImageData(), imageSize, blank3DTex.getPixelFormat(), i ) Then I tested with images with differing RGB values to see if a specific channel was being shown and I noticed only the blue channel was being displayed. Obviously, there is something I am not understanding about the setImageData method. I seem to only be passing the blue channel. Any thoughts? Thanks, George  | 
| Tags | 
| 3d texture, setimagedata | 
		
  | 
	
		
  | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| question about NVIDIA 3D vision | Weihua An | Vizard | 5 | 08-02-2010 07:49 AM | 
| Question about using function | hankiwan | Vizard | 1 | 02-15-2010 11:50 AM | 
| how to invoke command line question | billjarrold | Vizard | 2 | 01-11-2010 09:51 AM | 
| beginner flow control question | jvacare1 | Vizard | 4 | 09-14-2009 09:19 AM | 
| General question and question regarding arrays | dan12345 | Vizard | 1 | 01-15-2008 11:15 AM |