www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: bionicoz on April 22, 2011, 10:09:12 am

Title: Problem with transparent textures
Post by: bionicoz on April 22, 2011, 10:09:12 am
Hi.
I load a simple .3ds model with textures. I set the the transparency on the model with obj.setTransparency(quitehighvalue).
seems to work, but i have this behaviour:
(http://bio.shell.la/~bionicoz/img/Photo0030.jpg)
(http://bio.shell.la/~bionicoz/img/Photo0031.jpg)

Am I doing something wrong?
Title: Re: Problem with transparent textures
Post by: EgonOlsen on April 22, 2011, 01:35:10 pm
Don't make the house transparent at all or otherwise, you'll get sorting errors like your screenshot shows them. There are a few threads floating around here that explain this in more detail.
Title: Re: Problem with transparent textures
Post by: bionicoz on April 22, 2011, 02:48:30 pm
Importing in two separate Object3D worked. But is that the only solution?
I'll look for the threads, btw. Ty, as always.