home   drawings   cartoons   stories   waffles   projects   virtual worlds   files   blog

My clouds, made to appear to have volume in a fine blue sky

Should be displaying my dayClouds VRML world here.
If instead you're seeing this text, you need a more modern web browser.

Drag your mouse around the background to rotate the view.
Roll the mouse wheel, or on a touch screen drag 2 fingers, to look up or down.
Right-click, or long-tap to get the menu if you want to choose full-screen view.
The ESC key escapes from full-screen, or on a touch-screen long-tap brings up the menu again then choose to end full-screen mode.

I traced this one at a higher resolution than usual because I want the shading of the clouds to be more clearly seen. VRML works best with image textures that are sized to powers of two (2, 8, 16, 32, 64, 128, 256, 512, 1024, and so on). Normally I'd use 512x512 pixels, but here I used width and height of 1024 pixels:
povray +KFF6 +W1024 +H1024 +FN BackgroundMaker.pov

POV-Ray is not able to output images in jpeg format, so I choose png format (+FN). But jpeg format can give much lower filesizes, which is good for transmitting over the internet, so I convert them easily using the free program, ImageMagick. Two of its commands let me make jpeg files from png files, "convert" and "mogrify". The latter is easier to use on multiple files:
mogrify -format jpg -quality 90 *.png

Here are the files to download if you want to examine them:

my_shadow_clouds.pov
This POV-Ray scene builds the clouds from 11 layers of cloud texture on transparent spheres nested inside each other. I made the spheres planet-sized to get the perspective to look right. The lowest cloud textures are the darkest ones, to make it look like they're shaded by the higher clouds. It's a bit of a hassle, but it does give nice-looking clouds.
BackgroundMaker.pov
Renders the 6 images as the faces of a cube.
backgroundViewer.wrl
This views the background in a VRML world. There is no need for a Viewpoint node or lights as the default position works fine -- the background images are set at infinity, and don't need to be illuminated.
The background images:
BackgroundMaker1.jpg
BackgroundMaker2.jpg
BackgroundMaker3.jpg
BackgroundMaker4.jpg
BackgroundMaker5.jpg
BackgroundMaker6.jpg