Game Development Community

What is wrong with this image ? (#1)

by TheGasMan · in Torque 3D Professional · 03/01/2011 (2:39 am) · 3 replies

torque.abigholeintheweb.com/public_system/useruploads/cubewth.jpg
Y- and Z+ are the same thing ?? reality really is 1.5D !!!? :P
//-------------
So, I wrote a tool that autogenerates cubemaps from a specified object's POV inside of Max. (I plan to add it to the Doit! final release.) Then as I went into T3D to test the images and verify their rotations..I realized that the cubemap setup is like most other things; mangled, crashy, a bit wrong. - I am simply too tired right now to be arsed with sorting this out to continue with my tool...but you can mark another headache on the board for this one since it is over-the-top stupid. :P

//edit: the text overlay should be the correct info iirc.

#1
03/01/2011 (4:25 am)
Yeah, slapping the textures onto the cubemap like that gets a bits crashy ...

Anyhow - I think that this is how it's supposed to work.

farm5.static.flickr.com/4054/4404356004_3857564c52.jpg
singleton CubemapData( bluesky1_Cubemap )
{
   cubeFace[0] = "./cubemap/clouds1_1";
   cubeFace[1] = "./cubemap/clouds1_4";
   cubeFace[2] = "./cubemap/clouds1_2";
   cubeFace[3] = "./cubemap/clouds1_3";
   cubeFace[4] = "./cubemap/clouds1_5";
   cubeFace[5] = "./cubemap/clouds1_5";//bottom - don't have one
};

singleton Material(bluesky1_SkyMat )
{
   cubemap = bluesky1_Cubemap;
   materialTag0 = "Sky";
};
#2
03/01/2011 (12:59 pm)
I really know how to make it work, I just get tired of hitting these dumb bumps that probably frustrate many other users. ..and if I post like I usually do, I'd have the fanboi police ranting back at me that I shouldn't be mad that things are broken because I can; 'fix them myself'. yay!

You know how it is...
#3
03/01/2011 (1:33 pm)
Is this some odd Y-up vs. Z-up mangling it's doing bringing it in (followed by T3D confusing + with -? which I mean let's be honest there's only a single line difference between them...after a few beers I'm sure they look similar)