Game Development Community

Glitches with shading

by Andrew "Anger" · in Artist Corner · 03/04/2007 (12:17 pm) · 3 replies

Hey to everyone, people.. :)
right now I have several problems and questions with exporting..
first of all I would like to know if there is any limitation for the texture size which I use on my characters, coz right now I can't get my model export with material with texture which is bigger than 512*512 ... maybe it's just me, not sure
the second problem is that when I export my model, showtool shows it with texture but with no shading, just as it would be flat.. very bad bug, coz it's the same in TGEA we use.. maybe some help here?
and the last one, is.. about half year ago when we used exporter some of our models had serious bug - shading on some parts of the model was just crazy, like there would be an extra light or something.. just curios if someone else has experienced something like this :\
thx in advance

#1
03/04/2007 (1:03 pm)
...
#2
03/05/2007 (10:13 am)
@Andrew:
The 512x512 texture size problem sounds like it might be a video card limitation. Like Joseph, I've also used 2048x2048 and maybe larger textures in torque on models exported from blender. Are you testing on a system with an old and/or otherwise limited capability video card ?

As far as shading goes, I spent a long time trying to track down what I first thought was a bug in the blender DTS exporter, but eventually turned out to be a problem in TGE. I documented some of my work, including the final solution in Shading/Normal Problems Under Linux.

Note, I've only reproduced the problem under linux compiling with GCC, but since the underlying problem is one of compiler aliasing and optimization, its possible it can affect any optimizing compiler on any system/os.
#3
03/09/2007 (1:07 pm)
Hey, thanks for sharing all the detail. About texture problem - I had experianced that when I was working on my old pc with GeForce 2... that could probably cause this type of problem.
about the shading - downloaded the latest exporter and everything worked fine.. thx again