Game Development Community

Transparency and "that other" issue :)

by Shaderman · in Artist Corner · 03/12/2008 (2:48 pm) · 10 replies

I'm having trouble exporting .obj files and need some help.

*Image*

Both DTS exports are made from the same source .obj file and use the same materials / textures. The tree I've exported with Blender has transparency / z-fighting issues on the leafes and that "color issue" on the trunk / roots while the Milkshape export is ok.

Any help would be apprciated.

#1
03/12/2008 (4:15 pm)
...
#2
03/12/2008 (6:09 pm)
Someone really needs to write a realtime per poly sorting routine. i don't understand all of it, but i guess i'll have to figure out how to do so.
#3
03/12/2008 (6:28 pm)
...
#4
03/14/2008 (12:13 am)
Thanks Joseph, it was a front/back face thing. Now there's one issue left:

*Image

the left try was exported from Blender and is overly bright. The right tree was exported from Milkshape and looks ok. Any ideas on that brightness issue?
#5
03/14/2008 (12:16 am)
...
#6
03/14/2008 (10:48 am)
I didn't set the "self illuminating" option, so the problem is still not solved. I'm lost in all those options Blender has and have no idea what could cause this brightness. I think I'll give up at this point because Milkshape does a good job on exporting these models and that's all I need at the moment :)

Thanks again for your help Joseph.
#7
03/14/2008 (3:04 pm)
...
#8
03/14/2008 (3:58 pm)
I wasn't able to see the screenshot because imageshack is blocked on the firewall at my job, but I have two comments which may or may not be useful.

1) If you are having weird color issues that are not associated with sunlight / ML, try disabling HDRL if you have it on. I've found that DRL / Bloom work fine, but HDRL sometimes causes textures to look really weird.

2) As for translucent textures Z fighting, you can try setting translucentZWrite = true in your material definition. I'm not sure of the performance implications or any other considerations with using this, but it solved several issues for me where I had translucent materials that were popping through each other.
#9
03/14/2008 (3:59 pm)
Actually, as a follow up to my last post, those are only in regards to TGEA. I'm not sure how you'd handle your issues if you are working with TGE ;P
#10
03/17/2008 (12:15 pm)
@Joseph: Yes, I had tried both possibilities (self illuminating on/off). I've just sent you a small Blender file. Please don't waste your time, I can help myself using Milkshape.

@Matt: Thakns for your answers. We're using TGEA and I wonder where to switch between DRL/HDRL. The translucent problem was solved by unchecking the "double sided" option in Blender.