Dark Lines on models
by Joseph D. Walters · in Torque Game Engine · 05/01/2007 (9:46 am) · 5 replies
I have a character model one of my artists created in Maya. When I bring it into the engine there is a dark line up the middle of the character's face and up the middle of the character's back. If I move the camera closer to the character the line disappears and the model looks normal.
The texture on the face is all one texture so it has us baffled. It is not a shadow, I moved a light around the character and the line doesn't go away.
Thanks in advance
The texture on the face is all one texture so it has us baffled. It is not a shadow, I moved a light around the character and the line doesn't go away.
Thanks in advance
About the author
#2
Here are links to images showing what is going on, you can see the seams below the nose and on the neck in the zoomed out image but as the camera gets closer they disappear:
http://www.diggablegames.com/images/Viv1.jpg
http://www.diggablegames.com/images/Viv2.jpg
05/01/2007 (10:31 am)
There is no LOD on this model. Here are links to images showing what is going on, you can see the seams below the nose and on the neck in the zoomed out image but as the camera gets closer they disappear:
http://www.diggablegames.com/images/Viv1.jpg
http://www.diggablegames.com/images/Viv2.jpg
#3
What happens is when the mipmaps are generated some of this black "bleeds" into your texture. That is, when you're further away and have a lower resolution mipmap showing you get these at the edges of your texture. Only way to fix it is to make sure the color extends a bit further outside the UV map in your texture. (or simply use a more "neutral" color as the background).
05/01/2007 (10:41 am)
This is a pretty common problem, you probably have a black background on your texture, right?What happens is when the mipmaps are generated some of this black "bleeds" into your texture. That is, when you're further away and have a lower resolution mipmap showing you get these at the edges of your texture. Only way to fix it is to make sure the color extends a bit further outside the UV map in your texture. (or simply use a more "neutral" color as the background).
#4
Sorry.
PS: Is that showtool?
05/01/2007 (10:44 am)
Check the welds on that center seam. Make sure all the points are connected. Looking at the second pic, it looks like her neck has some non welded points. It could also be that you have black or some other color on your texture, when you pull away the engine will downgrade the resolution of the texture. Other than that, i don't know.Sorry.
PS: Is that showtool?
#5
I am passing this on to the artist, hopefully this will fix it.
Thanks.
05/01/2007 (10:53 am)
Yes, this is in Showtool, but The same thing happens in my game.I am passing this on to the artist, hopefully this will fix it.
Thanks.
Torque Owner AllynMcelrath
Does it have LOD?