|
|
I need a little help with creating a decent engine exhaust for this. Right
now I'm using a light source inside the engine to produce this effect, which
is fairly ok, but some visible exhaust would be better.
Any ideas on how to add it? I haven't had much experience with media; I
manage to screw up scenes when I add it.
BTW, this is a fighter I'm working on for myself, comments welcome on the
design so far.
Post a reply to this message
Attachments:
Download 'terran07.png' (28 KB)
Preview of image 'terran07.png'
|
|
|
|
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
|
|