Game Development Community

Pipeline quirk?

by John Coyne · in Artist Corner · 08/24/2005 (3:16 am) · 10 replies

Hi
I'm using a demo of the torque pipeline for cshop and am getting some really unusual lighting when i export into torque. Kind of like a very bright tinge going through certain parts of the dif. Is this a bug, something i'm doing wrong, or is it like a watermark that gets removed if you register the program.

btw. other than this, the program is great and i'm almost certain to buy it if i can clear this up.

#1
08/24/2005 (12:37 pm)
Could you post a screenshot? It is not any sort of intentional watermark and i don't think i've seen what your describing before.
#2
08/24/2005 (12:55 pm)
@ John

Just a thought - the tinge isnt greenish or pinkish is it?

If so it is probably a lightmap border issue.

Try changing either your outside light scale setting in the worldspawn entity to 16 AND/OR change the lightmap border size to 2 or 3, again in the worldspawn entity.

There a couple of pictures in here of the pinkish tinge.

If its not that then Tom is the expert :)
#3
08/24/2005 (2:36 pm)
It is a purple tinge so i'l give that a shot and see how it goes.

http://www.thewilderzone.co.uk/gmarine/tinge.jpg

Dont know how to upload images but you get the idea :S
#4
08/24/2005 (4:00 pm)
I had this same issue. Tom gave me great advice that helped. Here is the quote from him:
Quote:First what is your outside lightmap scale set to in the worldspawn entity? If you don't have one it is set to 32... you could move it up to 16 and i bet you'll see an improvement if it isn't fixed outright. Next if your using TGE 1.3 or higher you can set the lightmap border size in the worldspawn from 0 to 2 or 3. This will add a little border around the lightmaps generated which helps fix these little filtering issues.
.
This did fix me issue. Also here is a link to the thread that discussed this matter.
www.garagegames.com/mg/forums/result.thread.php?qt=30903
#5
08/25/2005 (3:11 am)
Thanks :D
#6
09/12/2005 (6:27 pm)
How do you see the worldspawn entity in CShop 4.1? The .csm file isn't readable in a text editor and I don't see it in the editor anyplace. Do I have to export to .map and then re-import?
#7
09/12/2005 (6:34 pm)
If you have a worldspawn in the CSM you should be able to find a green box in the scene. When you select it and hit the 'P' key you'll get the properties which will show it's classname as "worldspawn".

If you cannot find it add by selecting 'Objects->Torque->worldspawn' from the menu, left click somewhere in the 2d views, and then right click and select create. If you have two in the scene the export will warn you of that.

I usually place it myself somewhere outside of the main part of the map, so it's easily found. The location of it does not effect anything in the final DIF.
#8
09/12/2005 (7:16 pm)
Thanks :)
#9
09/17/2005 (4:07 pm)
Ok, I've set the value in the worldspawn entity every where from 32 to 1 and still have the problem. I'm getting splashes of green and purple all over my level. I've tried overlapping walls, intersecting walls, angling wall corners, etc. no change.

Strangely enough, I never noticed it until I moved up to 1.1 of the Pipeline (from 1.01). Admittedly I hadn't done much mapping before upgrading though, so maybe I just was lucky. Is this a problem in all Torque maps? or just ones done in CS?

*edit* Ok, never mind. I re-read the thread and saw the part about setting the lightmap border. I did that and the problem went away :)
#10
09/19/2005 (11:07 pm)
Sorry i didn't jump in here sooner... was busy with another project. I'm glad to see the borders fix solved it for you.