Game Development Community

SkyBox Troubles

by Alexander Loren · in Torque Game Engine · 03/06/2005 (2:00 am) · 4 replies

Alrighty, I have just gotten back into working with Torque after a long stint using Blitz3D. During that time, I have forgotten everything I knew about Torque so please forgive me for this simple question.

But in the skyname.dml file, what parts of the skybox do the numbers in the default one represent? I know, or at least I think, that the bottom three have to do with the clouds and also anything that gets environment mapped. I've played around with adding in my own skybox, and I just can't get everything to lineup right. Any help will be appreciated, thanks.

#1
03/06/2005 (2:21 am)
Ive been using Torque only a couple of months but this is my understanding of skyboxes. The names in the default sky_day.dml are the names of your image files in your sky folder. With skyboxes the first 6 images make up your box, the first 4 being the sides of the box and the fifth being the top and sixth being the bottom. The seventh image is a perspective of the top of the skybox for the environment map. The other names in the dml file are your cloud images. Heres a break down of the sky_day.dml

day_0001 (This is the first side of the skybox)
day_0002 (Second side)
day_0003 (Third side)
day_0004 (Fourth side)
day_0005 (Top of of the skybox)
day_0006 (Bottom of the skybox)
day_0007 (Perspective view of the top of the sky box)
cloud1 (Cloud image)
cloud1 (Cloud image)

The easiest way to make a sky box is through a program like Bryce. If you make your sky images in an image program like photoshop you have to make sure the sides are seamless or it will look messed up in the game.

I hope this helps at all, like I said I'm new to using Torque so I'm still in the process of learning everything.
#2
03/06/2005 (2:31 am)
Thank you greatly Zach, with this bit of info I was able to fix why my skyboxes where mis-aligned. Good luck to you with learning Torque, we all need it :)
#3
03/06/2005 (6:15 am)
What is exactly the purpose of "day_0007 (Perspective view of the top of the sky box)" ?
I don't understand in what case it is displayed.
#4
03/06/2005 (4:28 pm)
Glad I could help Alexander =)

@Pat day_0007 of the skybox is used for the reflectivity on your players armor and I'm not sure but I think also the specular shading on the surface of the water. Maybe someone who knows more about it could correct me.