Game Development Community

My new Cubemap will not stay saved - RESOLVED

by Dave Seabrook · in Torque Developer Network · 05/22/2011 (8:10 am) · 5 replies

I'm going through the Create a Sky Box tutorial and every time I create a new Cubemap and apply the textures and Save it it works great while I have the World Editor open. Once I close the World Editor and open it up again the Cubemap has vanished.I have tried reinstalling Torque but I get the same result. I save several times during each step of the process. I'm running Windows 7 x64. Please help!!! I want to love Torque but this seems like a pretty big bug and I cannot find anything on the forums regarding it.

About the author

Recent Threads


#1
05/22/2011 (12:01 pm)
The T3D editors love to mangle the scripts on save, or sometimes not save them at all. Happens to me all the time with particle editor. The workaround is to make it all by hand in script (materials.cs). This should (hopefully) be fixed up in 1.1 final.

Here's an example from core/art/skies/Newlevel_sky

singleton CubemapData( NewLevelSkyCubemap )
{
   cubeFace[0] = "./cubemap/skybox_1";
   cubeFace[1] = "./cubemap/skybox_2";
   cubeFace[2] = "./cubemap/skybox_3";
   cubeFace[3] = "./cubemap/skybox_4";
   cubeFace[4] = "./cubemap/skybox_5";
   cubeFace[5] = "./cubemap/skybox_6";
};

singleton Material( NewLevelSkyMat )
{
   cubemap = NewLevelSkyCubemap;
};

#2
05/22/2011 (4:39 pm)
Was THREED-1526 and got fixed for 1.1 final.
#3
05/22/2011 (8:16 pm)
That did it. Thank you so much for your help and quick response. Just curious Rene, what is THREED-1526 and how would I reference it?
#4
05/22/2011 (8:29 pm)
Quote:what is THREED-1526 and how would I reference it?

Sorry for the terse post of mine. T3D doesn't have a publicly accessible bugtracking system at this point so posting ticket numbers from the internal tracking system has become a customary way to let people know that a problem they have reported has been logged and is being worked on.
#5
05/23/2011 (3:18 am)
I'm a Nube so I appreciate any help I can get. Now I know and I'm glad that this is something that is being addressed. Thanks again.