PDA

View Full Version : Skybox with large terrains



Mukund
02-13-2011, 11:46 AM
Hello Everyone,

i am trying to render terrains with "skybox" effect. Well the terrains i have seen are pretty small.

Then i saw this video:

http://www.youtube.com/watch?v=404wWR5mrtU&feature=related

The terrain here looks really huge. How exactly do they design the skybox here? Are the images used for the skybox really huge? Or they repeat the textures?

Could anyone please throw some light on it?
Thanks.

Jacek Nowak
02-13-2011, 02:00 PM
skybox is whatever size you want, usually 1x1x1, but it follows yo u around, so that no matter where you move, you can never reach it

just set skybox position to camera position and you're set

ZbuffeR
02-13-2011, 02:31 PM
And by the way, there is no skybox on the video you linked to.
Looks more like a cloud plane + direction-dependant colored fog.

Mukund
02-14-2011, 10:10 AM
Thanks for the reply Jacek Nowak, Zbuffer.

@Zbuffer
>>Looks more like a cloud plane + direction-dependant colored fog.

Could you please elaborate more on that? What exactly is meant by a cloud plane and direction-dependant clolored fog? Any links would be really helpful.

Thanks.

BionicBytes
02-14-2011, 03:08 PM
A cloud plane is a quad drawn at or near to the top of the sky box to look like a layer of cloud.
The fog is view space fog drawn at the far plane. As the camera moves the fog is also drawn where the camera is viewing - thus giving the illusion that fog extends all the way to the horizon.

Mukund
02-15-2011, 07:24 AM
Thank you BionicBytes.