Game Development Community

Transparency problem

by Hermanto · in Torque Game Engine · 05/01/2006 (5:29 am) · 6 replies

I have a model created in 3dsmax. i want to implement transparency on my model especially in his hair. i have 3 color maps in this model. only the head's color maps has opacity. after i export the model to Showtool, the head becomes all transparent except the eye.


i use png file for this model. anyone can help me solving this transparency problem?

About the author


#1
05/02/2006 (10:45 am)
Wierd, it looks like your normals are flipped inside out. Do you have two-sided materials off?
#2
05/02/2006 (11:11 am)
This could eb one of those wierd Z-sorting things. In which case you have my sympathy. =\
#3
05/02/2006 (11:14 am)
ITs torque.

you need to set your objects render order by seting its Higharchy.

And you should seporate out textures that are transparent from ones that are not, if they are all the same texture, this will happen.

Its a querk of Torque (a flaw in my eyes).

Welcome to torque.

This will help.

http://tdn.garagegames.com/wiki/DTS/3dsmax/Z_Sorting_Explained

I realy wish they would make Transparices behave better, its very limmiting.
#4
05/02/2006 (11:48 am)
@ Kirby

Bingo.
#5
05/03/2006 (9:03 am)
At last i understand what causing this problem.. thanks a lot for the help.. you're all great
#6
05/03/2006 (9:07 am)
Your welcome.

The Z-sorting problem is a bitch and a half, even more so on animated objects.

Sadley, you will also find that totaly unrelated objects in the engine will "Flip" positions also when they come near each other. IE: Tree branch showing in front of your players hair in some situations. Or, two trees, the forground being pushed behind the background tree at some angles.

Its very limmiting.

le-sigh.