|
|
"Meothuru" <nomail@nomail> wrote:
> In the center of this model, I want to place a dark-blue, glossy
> sphere, encased by a red aura. Whereas the red aura should
> on the top more bright....and of course this should looking
> very magical.
> So I want to ask you....how can I do it better ?
I was wondering about your cylindrical pattern. I think there is a better (and
more controllable) way to get what you want. Here is what I came up with; it
uses two spherical densities, combined in an 'averaged' density_map. It also
shows that you can scale, translate and even rotate an individual density
inside your media sphere.
Replace your 'aura' sphere with this, and see how you like it.
Ken W.
-------
//*PMName Red Aura
sphere {<0, 0, 0>, 1 // don't scale it here--a spherical pattern
// is designed to exactly 'fill' a 1-unit-radius sphere. Scale the entire
// sphere later.
hollow
pigment {color rgbt 1}
interior {
media {
emission rgb 2.0*<1, 1, 1>
#declare density_1 =
density{
spherical
color_map{
[ 0.0 color rgb 0] // OUTSIDE
[ 0.05 rgb 0]
[ 0.2 color rgb <1, .2, 0>]
[ 1.0 color rgb <1, .2, 0>] // CENTER
}
}
#declare density_2 =
density{
spherical
color_map{ // smaller 'radius'
[0.0 rgb 0] // OUTSIDE
[0.6 rgb 0]
[0.7 rgb <1,1,0>]
[0.8 rgb <1,.3,0>]
[1.0 rgb <1,.3,0>] // CENTER
}
scale <1,.6,1> // to flatten it
translate .65*y
rotate -20*x // optional
}
density{
average
density_map{
[.4 density_1] // reduced density
[1.0 density_2]
}
}
}
}
scale 1.3
translate y*1.612
}
Post a reply to this message
|
|