POV-Ray : Newsgroups : povray.binaries.images : Engine Exhaust(27 KB PNG) : Re: Engine Exhaust(27 KB PNG) Server Time
15 Aug 2024 04:27:21 EDT (-0400)
  Re: Engine Exhaust(27 KB PNG)  
From: Sir Charles W  Shults III
Date: 6 Aug 2002 23:57:03
Message: <3d509a8f$1@news.povray.org>
I don't remember who posted it, but here is a code fragment that makes
engine exhaust using media.  It looks great and I have used it myself.  Hats off
to whomever it was...

//begin code

camera {
  location  <15.0, 15.5, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}

light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-30, 30, -30>
}

#declare Exhaust_Color = <0.7, 0.8, 1.0>;

#declare Rocket_Exhaust = difference {
 sphere {
  0, 1
 }
 cylinder {
  -1 * x, 0 * x, 1
 }
 material {
  texture {
   pigment {
    rgbt 1
   }
  }
  interior {
   media {
    emission Exhaust_Color * 5
    samples 10, 10
    density {
     spherical
     poly_wave 2
    }
   }
  }
 }
 hollow
 scale <10, .75, .75>
}

cylinder {0,<-1.8,3,-.75>.6 pigment {color Silver} finish {metallic 2 brilliance
5 reflection .4}}

Rocket_Exhaust

//end of code!

Cheers!

Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip


Post a reply to this message

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