Game Development Community

Face is not being shown in .dif

by Tyler Slabinski · in Artist Corner · 11/29/2009 (8:12 pm) · 4 replies

img515.imageshack.us/img515/944/screenshot20091129at701.pngimg39.imageshack.us/img39/9486/screenshot20091129at703.png
I believe you can see the problem here. One is in constructor, and the other is in TGE. Does anyone know what the problem is here? I don't know what is wrong, but as far as my testing is going, it's the only face on my entire .dif that doesn't show up ingame.

#1
11/29/2009 (8:15 pm)
Tyler, what you are seeing is due (normally) to bad geometry.
If you compare both images, you should notice the floor tiles are lighter in the same area that isn't being rendered. If you look at that section closely in the wireframe view, you should be able to see the problem.

#2
11/29/2009 (8:30 pm)
I managed to fix it, but what do you mean about 'bad geometry'? It was an ordinary cube.
#3
11/29/2009 (10:19 pm)
Sometimes the vertices get reversed. That causes a part to render inside out, which means it doesn't render at all.
I'm glad you got it fixed.

Edit to add: Just in case you don't know what a vertice is.
#4
11/29/2009 (10:51 pm)
Ahh, I was under the assumption that difs have double sided faces.