Page 1 of 1

Issue with a skybox in Q3A

Posted: Wed Mar 28, 2007 9:41 pm
by Kammesennin
I got this error in the console after applying a skybox to a map of mine, I wouldn'tve cut the screenshot down like this, but I figured with a completely black map this would be pointless.

Image

Any suggestions?

Posted: Wed Mar 28, 2007 9:58 pm
by obsidian
I'm guessing there is something wrong with the way you saved your TGA files.

IIRC, TGA files can store all sorts of extra information, including how it is loaded, reading from the top of the image down or the other way around. Looks like Q3 doesn't like the way you saved it.

What program did you use to create the skybox images?

Posted: Wed Mar 28, 2007 10:12 pm
by Kammesennin
I downloaded it, it was created by some guy named null. So no way to tell really, I guess I'll have to use Terragen or something. I've found many links to tutorials but no links seem to work :( anybody have a working link to a tutorial? I just need a sky with clouds that move, nothing difficult.

Posted: Wed Mar 28, 2007 10:22 pm
by obsidian
Kammesennin wrote:I just need a sky with clouds that move, nothing difficult.
Terragen actually doesn't do that. It renders static clouds and terrain to a skybox image.

What you need are just a couple of textures (sky and a cloud layer) and a shader. Find examples in Q3 and read the shader manual to get yourself started.


Oh, and read this handy thread by your's truly if you want Q3Map2 goodness!
http://www.quake3world.com/ubb/Archives ... 27331.html?

Posted: Wed Mar 28, 2007 10:34 pm
by Kammesennin
Thank you I understand a bit better now. I need to write a shader for the skybox and all should work well.

EDIT: I appreciate the link there, but I don't quite understand it at this point. I'll keep it in mind for future reference though.

Posted: Thu Mar 29, 2007 12:13 am
by obsidian
It's basically a series of improvements illustrating how certain Q3Map2 shader directive can change significantly improve the quality of lightmaps. Not required, but it can be useful if you are looking to tweak your shader.

Better write up here:
http://members.lycos.co.uk/quakeroats/q ... l/apI.html

Posted: Thu Mar 29, 2007 2:26 am
by Kammesennin
Awesome, I really appreciate it. This oughtta help me get some serious work done on my project :) thanks a bunch!