POV-Ray : Newsgroups : povray.binaries.images : Background Smoke Columns : Re: Background Smoke Columns Server Time
30 Jul 2024 20:20:02 EDT (-0400)
  Re: Background Smoke Columns  
From: Tek
Date: 8 Feb 2011 08:30:00
Message: <web.4d5143f2b2dbd432caa39c860@news.povray.org>
"[GDS|Entropy]" <gdsHYentropyAThotmailDTcom> wrote:
>
> I have not been able to reproduce the exact effect as shown in your post,
> and am very interested to do so.
> Would you mind posting the scene source?

Ok here's the full source for the scene (with a simplified object):

// Background Clouds - by Tek

#version 3.7;

#declare S = <1,0,-1>*.2; // saturation tweaker, balance oranges & blues

#include "rad_def.inc"

global_settings { radiosity { Rad_Settings(Radiosity_Fast,on,on) } }

media { // fog
 emission 1
 absorption 1
 density {
  rgb .03*(1-S)
 }
 samples 100
}

media { // dark clouds
 absorption 1
 density {
  pigment_pattern {
   granite scale <5,20,5> warp { turbulence .4 octaves 3 }
   colour_map { [.5 rgb 0][.8 rgb 1] }
  }
  rotate -y*8 translate z*7-y*2 rotate y*20
  cubic_wave
  warp { turbulence .3 lambda 2.5 }
  density_map {
   [0 rgb 0]
   [1 rgb 10*(1+S)]
  }
 }
 samples 100 // Fix precision errors with brute force
}

camera {
 right x*image_width/image_height
 up y
 direction z*2

 location vrotate(-z*4,<10,20>)
 look_at 0
}


// object
cylinder {
  -z, z, .3
  pigment { planar rotate x*90 colour_map { [.9 rgb .1][.9 rgb 1] } }
}

// prevent media accumulating to white
sphere { 0, 10 inverse pigment { rgb 0 } no_shadow }

light_source { vrotate(-z*1000,<60,120>),rgb 1*(1+S) parallel point_at 0 }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.