Game Development Community

Static Shape Transparancy Issue

by Florian · in Technical Issues · 08/26/2007 (4:59 pm) · 8 replies

Hi,
I know this has been asked many times, and a lot of answers are posted
I still have some questions
heres the situation, i have this building of mine, and it has windows in it
the windows have transparancy aplied
everythings working fine and it looks great BUT and here comes the big but
I cant see anything trough the glass but player meshes...
so i mean Diffs and Dts's...
ofcourse this is a major issue that must be fixed

the only remaining question is, how to fix this
can this be fixed mesh wise, or does there have to be engine changes
Can this be simply fixed by adding SORT:: before my mesh or does some major things need to change?

can somebody help me out with this, i tried adding SORT:: before my mesh name but with the new dts exporter(max) crashes when trying to export a mesh with sorting settings added or with SORT:: before the mesh name...

any help is apreciated :)

Thanks,
Florian

btw, about the glass, its a texture with some parts nontransparant(the frame) and someparts half transparant(the glass itself) and some parts fully transparant(holes in the glass)

#1
08/26/2007 (5:34 pm)
If you are talking about a dif with a window and you cannot see the transparency texture threw the window. Like a tree with transparency texture for leaves. When looking threw the window you can see the tree but not the leaves. I believe that is a sort problem. You will need to convert your window to a dts and export it. Or go into the engine.
#2
08/27/2007 (5:51 am)
Yea, but like the title says, its already a dts, the windows are static shapes
sorry for making myself not clear

but i still have the sorting problems with my dts, in fact, i only got sorting problems with my dts
and when i add SORT:: before my mesh, the max exporter crashes when trying to convert sort objects....

so what do i need to do?
#3
08/30/2007 (7:28 am)
This is kinda urgent, can noone help me out with this?
#4
09/04/2007 (7:47 am)
:(
ah well... i guess ill make the windows non-transparant then..
#5
09/07/2007 (11:58 am)
First build a DTS with ONE transparency texture on it. Test that, if it works, then your problems is....

btw, about the glass, its a texture with some parts nontransparent(the frame) and some parts half transparent(the glass itself) and some parts fully transparent(holes in the glass)

If so, then add another texture for the NON transparent parts.
#6
09/07/2007 (1:52 pm)
How do you mean add another texture, the glass is just a plane(2 triangles)
you cant add 2 different textures to one plane, unless you want each triangle to have a different texture, but that isnt what i want..

i did build a DTS with one transparancy texture on it, it just didnt work out :(

thanx for trying to help me tough
#7
09/07/2007 (3:31 pm)
i did build a DTS with one transparency texture on it, it just didnt work out :(

It should work. 2 sided texture? You sure its one simple plane, not two face with normals facing 'out' (like a box with no depth = NOT what you want)?

I have a few windows here i use, i will email you one with mesh and textures on Monday (if you still need the help..). But right this very minute im leaving for the weekend...

Good luck...
#8
09/08/2007 (12:52 am)
Its, not liek that the transparacy doesnt work, its that filters out the objects behind it so you cant really see trough the window, i mean, you see the terain and skybox etc... but you cant see tanks or other dts objects
and you also cant see diffs, so thats my problem, i do want to see everything through my window