Skies

Blitz3D Forums/Blitz3D Beginners Area/Skies

wizzlefish(Posted 2004) [#1]
How do you create a sky, along with a sun and clouds? How would I go about doing this?


GitTech(Posted 2004) [#2]
Have a look at Terragen:

http://www.planetside.co.uk/terragen/

And at the following tutorials:

http://www.blitzcoder.com/cgi-bin/articles/show_article.pl?f=gametracer04092002.html
http://www.blitzcoder.com/cgi-bin/articles/show_article.pl?f=gamejoseph03212002.html


wizzlefish(Posted 2004) [#3]
Nice!

But is there a way to make a box and just texture the inside with a seamless sky texture?


wizzlefish(Posted 2004) [#4]
And since I plan on making commercial products, I can't use the downloaded version, and I can't afford the commercial license. Is there any _cheaper_ way?


CodeOrc(Posted 2004) [#5]
Well you could use the CreateSphere command and Flip it's mesh and paste a tileable or sphereical map on it. You would need to make it larger than your game world and place it's center at your game world's 0,0,0...

OR

You can look at the Castle demo that comes with B3D. It uses a box-type sky. It's under the Samples>Mak directory if you have the purchased version.

Hope that helps...it's the only "free" way I know of. If anyone else has a free solution please share the info.


TomToad(Posted 2004) [#6]
You don't really need to make the sphere larger than your world. You can just change it's Z order so it gets rendered before anything else, then it will appear behind everything. Move it with the camera so you'll always be inside.




wizzlefish(Posted 2004) [#7]
thanks


CodeOrc(Posted 2004) [#8]
Ahh...

That makes much more sense. And it improved my framerate.

Thanx!

BTW- what is the preferred framerate for a game anyway?


jfk EO-11110(Posted 2004) [#9]
60Hz

BTW one guy released a dozen or so very nice skybox textures not so long ago, probably you'll find it in the art creation section. (search for "skybox")


Ross C(Posted 2004) [#10]
There's a very good CreateSkyBox function in the archives, for constructing the mesh :o) You simply provide the textures.