Skybox wierdness
by Daniel Buckmaster · in Torque Game Engine · 10/24/2007 (8:55 am) · 6 replies
I'm trying to create a custom skybox using skies I created with Terragen. However, Torque seems to be forcing me to use cloud layers. From what I understand, a sky.dml file only needs to refer to 7 files - the siz sides of the skybox, and an environment map. I add seven valid files, all in JPG format, and try to run the level. I get an error while loading objects that I don't have the right artwork. The engine seems to be searching for cloud1_ and all sorts of variations on this (my env map image is called cloud1). However, if I add a cloud layer using the same image (cloud1), the sky will work fine.
What's up here?
What's up here?
About the author
Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!
#2
10/24/2007 (9:19 am)
If I only put six files in the .dml, I get a crash in dgl/materialList.h.
#3
It may be based from a problem from the text file itself.
Are you a Mac User?
10/24/2007 (10:59 am)
I got this problem too a few times...It may be based from a problem from the text file itself.
Are you a Mac User?
#4
10/24/2007 (2:22 pm)
I vaguely recall something about needing to hit return/enter after the last entry, or having an empty line at the bottom -- it's been a few years, so it could be a red herring. But, it's simple enough to test ...
#5
10/24/2007 (2:27 pm)
@Eric: now that you mention this, that's the trick! 8-)
#6
EDIT: Thanks, that was it!
10/25/2007 (11:28 am)
Heh, thanks, I'll try it. For the record, no, I'm on Windows. Yeah.EDIT: Thanks, that was it!
Torque 3D Owner Eric Forhan