Game Development Community

Parts of DTS are see-through! Help please?

by Jimmy Sparks · in Artist Corner · 09/30/2004 (12:40 pm) · 3 replies

I have a rather large static mesh of a bridge. It's roughly 7000 faces, so not insane on the geometry count. Anyway, when I look at the pillars, I can see parts of the bridge that should be behind it, through it...

In this pic, check the area inside the green box. That's what I'm talking about.
www.seibermaki.net/bridge_problem.jpgAny ideas, suggestions? Please! :D Thanks all.

#1
09/30/2004 (2:31 pm)
In you material browser make 2 materials. Both with the same texture map but one with Transperant and the other with it off.

If you have the whole thing textures with a transperant material the exporter gets a little confused.

If that doesn't work you might take the planes that have the transperant texture on them (IE the Cables) and make them seperate objects. Thenwhen you link your model together have them on the very bottom of the heirachy. This usually will resolve any issues with sorting. The engine assembles the model according to the tree structure of the heirachy. So if its doing the solid stuff then the transperant stuff it usually Sorts right.

Let us know how it works out.

Matt
#2
09/30/2004 (3:18 pm)
Thanks for the reply. My bridge is all one object in max(max 5). By 2 materials are you suggesting using a Multi-Sub?

Anyway, I did get it to work by doing the 2nd part of your post. Making anything transparent a seperate object, and linking so that the transparent stuff was at the bottom of the hierarchy.

Thanks again.
#3
09/30/2004 (3:56 pm)
No not multi sub just 2 materail slots. The left is the solid material the right well......
www.matthewcjones.com/oddshots/Material.jpg
Good to here
Matt