![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				How do IM\ make avatar textures two sided?
			 
			
			
			I created a 3d animated tree in 3ds max. I exported it fine with Cal3d except for the fact that the branch texture only appears on one side of the planes. If I export it as osgb it looks fine but lacks animation.  
		
		
		
		
		
		
		
		
	
	I see that there is a cullFace method that can swap which side of the plane has the texture but i can't disable it completely. (why??) likewise the inspector can turn it off but i have no way of saving it. Any help would be much appreciated!!! thanks!!  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			Currently changes made in Inspector can only be saved to OpenSceneGraph formats, but not avatars. To disable backface culling for the leafs, you would need to check the '2-sided' option in 'Shader Basic Parameters' in the object's material. You could also do this through the Vizard code: 
		
		
		
		
		
		
		
		
	
	Code: 
	model.disable(viz.CULL_FACE)  | 
| 
		 
			 
			#3  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			Thanks so much Jeff. 
		
		
		
		
		
		
		
		
	
	The textures appear on both sides now, but looking from below the transparency still has a substantial outline. Any way to remedy this?  | 
![]()  | 
	
	
| Tags | 
| 3dsmax, animation, cal3d, cullface, texture | 
		
  | 
	
		
  | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| How to make neck of avatar invisible | Frank Verberne | Vizard | 4 | 02-05-2014 06:39 AM | 
| Unexpected Avatar lookAt() behavior when using yield statements | chris2307 | Vizard | 2 | 12-17-2013 03:58 AM | 
| How to make avatar always in front of youself (e.g. 20cm) when direction changes | Xianshi Xie | Vizard | 2 | 06-30-2009 12:13 PM | 
| Max -> Vizard, Two Sided Textures | shivanangel | Vizard | 5 | 12-04-2008 04:15 AM | 
| Looking through the eyes of an avatar | Frank Verberne | Vizard | 2 | 04-01-2008 06:52 AM |