| Author: beffy (c++programmer) |
Sometimes it's difficult to get the single skybox pics "sorted" properly in the engine -
if you download some example skyboxes
(e.g. from this site,
the pics are named "bla_dn.jpg", "bla_lf.jpg" and so on...
So after wasting 1 hour trying to get it right the first time,
I've made a simple PNG showing how they should be named in Torque to be in the right place...
(click on the image to enlarge!)
.
The files should be named something like myskybox_0001.png, myskybox_0002.png
and then you write a file called "myskybox.dml" with these entries:
myskybox_0001 myskybox_0002 myskybox_0003 myskybox_0004 myskybox_0005 myskybox_0006 myskybox_0007and put the reference to this file in your mission file (in the "Sky" block:) materialList = "~/data/skies/myskybox.dml";