WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-17-2015, 01:39 PM
lklab lklab is offline
Member
 
Join Date: Mar 2015
Posts: 20
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!!
Reply With Quote
  #2  
Old 11-18-2015, 03:39 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
Reply With Quote
  #3  
Old 11-18-2015, 04:03 PM
lklab lklab is offline
Member
 
Join Date: Mar 2015
Posts: 20
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?
Reply With Quote
Reply

Tags
3dsmax, animation, cal3d, cullface, texture

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 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


All times are GMT -7. The time now is 08:05 PM.


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