Difference between revisions of "Povray"

From Ghoulwiki
Jump to: navigation, search
(skybox)
Line 8: Line 8:
 
* http://ghoulsblade.schattenkind.net/files/pov/skybox1.pov
 
* http://ghoulsblade.schattenkind.net/files/pov/skybox1.pov
 
* http://ghoulsblade.schattenkind.net/files/pov/renderskybox.php.txt  (optional, execute using php to generate all six faces with one command)
 
* http://ghoulsblade.schattenkind.net/files/pov/renderskybox.php.txt  (optional, execute using php to generate all six faces with one command)
 +
(this is hereby released under public domain)
  
 
placing a camera inside an explosion and maybe cutting out the interior gives nice skyboxes for spacegames (like http://sfz.schattenkind.net)
 
placing a camera inside an explosion and maybe cutting out the interior gives nice skyboxes for spacegames (like http://sfz.schattenkind.net)
Line 23: Line 24:
 
</gallery>
 
</gallery>
 
see also http://sfz.schattenkind.net/wiki/index.php/Screenshots  for more screenshots of those skyboxes in action
 
see also http://sfz.schattenkind.net/wiki/index.php/Screenshots  for more screenshots of those skyboxes in action
 +
(these rendered images are hereby released under public domain)
  
 
==== space, dark green ====
 
==== space, dark green ====
Line 34: Line 36:
 
Image:Povray_skybox_in_sfz.jpg|here's how it looks in action with stars rendered onto it at runtime
 
Image:Povray_skybox_in_sfz.jpg|here's how it looks in action with stars rendered onto it at runtime
 
</gallery>
 
</gallery>
 +
(these rendered images are hereby released under public domain)
  
 
==== clouds ====
 
==== clouds ====
  
 
3 cloudy skyboxes
 
3 cloudy skyboxes
* http://ghoulsblade.schattenkind.net/files/pov/povskyclouds.zip
+
* http://ghoulsblade.schattenkind.net/files/pov/povskyclouds.zip   (.pov files and rendered images)
 
a few samples :
 
a few samples :
 
<gallery>
 
<gallery>
Line 45: Line 48:
 
Image:Cloudskybox3_up.jpg
 
Image:Cloudskybox3_up.jpg
 
</gallery>
 
</gallery>
 +
(these rendered images and the .pov files are hereby released under public domain)
  
 
=== texture generation ===
 
=== texture generation ===
Line 79: Line 83:
 
Image:Exp_002112_000.jpg
 
Image:Exp_002112_000.jpg
 
</gallery>
 
</gallery>
 +
(these rendered images are hereby released under public domain)
  
 
and here's the code :  
 
and here's the code :  

Revision as of 10:35, 22 May 2007

see also http://ghoulsblade.schattenkind.net/files/pov/

see also http://www.ogre3d.org/wiki/index.php/POVRay_Skyboxes

see also http://www.ogre3d.org/wiki/index.php/POVRay_Explosions

skybox

(this is hereby released under public domain)

placing a camera inside an explosion and maybe cutting out the interior gives nice skyboxes for spacegames (like http://sfz.schattenkind.net)

i suggest rendering stars onto the skybox ingame using dots or tiny billboards, this way they will look sharp even if the skybox is not ultra-highres.

space, bright red

see also http://sfz.schattenkind.net/wiki/index.php/Screenshots for more screenshots of those skyboxes in action (these rendered images are hereby released under public domain)

space, dark green

(these rendered images are hereby released under public domain)

clouds

3 cloudy skyboxes

a few samples :

(these rendered images and the .pov files are hereby released under public domain)

texture generation

  • todo : search .pov files for this
  • todo : camouflage texture...
  • also interesting : kwerkzeug (google)

explosion

http://ghoulsblade.schattenkind.net/files/pov/explosion01.pov

random explosion generation

i made a php script that would generated random colormaps and some random turbulence parameters and let it render all night long, producing one explosion image after another, and keeping the sources for later high-detail rendering of the good ones.

this is kind of bruteforcing artwork with enough processor power =)

also there are a few php scripts in there for comfortable viewing and marking the good ones, but you'll have to adjust them a bit.

here are a few samples :

(these rendered images are hereby released under public domain)

and here's the code :

http://ghoulsblade.schattenkind.net/files/pov/exploder.zip

warning ! requires quite a bit of harddisk space if you keep it running for a long time....

i give no warranty that your computer will not explode during the process ;)

you can also create nice skyboxes from these, see above