hi-
a skycube is basically 6 individual rendered shots taken within a scene, and projected in such a way to give the illusion of a 3d environment . you can make beautiful skycubes in bryce, lightwave, other modellers etc...
i use terragen for 'conventional' looking skies:
http://www.planetside.co.uk/terragen/
and mojoworld for scifi effects:
http://www.pandromeda.com/
terragen offers a free version that does a good job but i recommend the commercial one... it's very inexpensive and offers much higher resolutions.
anyhoo... you take whatever program you choose and develop a scene (individual results will vary - practice make perfect
) . once the scene is to your liking you render out the individual pics that will comprise your finished skycube.
each of the programs you choose to use will go about this rendering process a bit differently, however, the basic procedure is that you will set up a fixed point in the middle of your scene and then 'pivot' the camera in order to take the 6 shots ( top - bottom - right - left - front - back). once you have these renders 'in hand' (so to speak) you can bring them into the various 3d game engines.
gamestudio is a bit strange in this respect. instead of simply projecting the 6 renders directly, it requires a bit of post production work. essentially you have to make a single composite of the 6 renders. the finished pic will be 3072 x 512
once this is done, you have to 'add' the cube into your gamestudio levels via a few lines of code.
- Code: Select all
sky cube
{
type=<2f-a+6.tga>; /// name of the cube file you're using
layer=2; /// number of sky layers you want - moving clouds etc...
z=5; //// adjusts distance perception of sky view
material=mat_sky;
flags=cube,visible;
}
sky clouds
{
type=<clouds_c.tga>; // tileable cloud texture
layer=1;
scale_x=1;
speed_u=4;
speed_v=2;
material=mat_sky;
flags=dome,visible;
}
the second half of this code... the part starting with 'sky clouds' is optional... but i prefer to have a moving cloud layer for added realism.
hope this helps a wee bit