|
|
I found a very simple solution for the "magic light".
I remembered that "GIMP" can export gradients into POV-Ray Color_maps (Select
the gradient you want to export and click the right mouse button).
So I searched in "GIMP" for a suitable gradient for "magic lights" and found it
in
the gradient "Deep Sea".
The colors of this GIMP-generated Color_map I took over into the media
density_map....and
that was it.
In my WIP-Scene the "magic light" currently looks like in the attached image
shown.
And here a sample scene:
(exported code out of the KPOV-modeler)
---[Snip]-----
global_settings {
assumed_gamma 1.5
noise_generator 2
}
union {
//*PMName Magische Kugel
sphere { <0, 0, 0>, 1.1
pigment { color rgbt <1, 1, 1, 1> }
interior {
media {
density { spherical
density_map {
[ 0 color rgb <0, 0.00904, 0.166667> ]
[ 0.580968 color rgb <0.089516, 0.199522, 0.393939> ]
[ 0.764608 color rgb <0.179032, 0.390004, 0.621212> ]
[ 0.764608 color rgb <0.179032, 0.390004, 0.621212> ]
[ 0.888147 color rgb <0.08951, 0.679851, 0.795454> ]
[ 1 color rgb <0, 0.969697, 0.969697> ]
}
}
density { spherical }
emission rgb <1, 1, 0.9999>
}
}
scale 2
hollow
}
sphere { <0, 0, 0>, 1.15
pigment { color rgbt <1, 1, 1, 1> }
interior {
media {
density { spherical
density_map {
[ 0 color rgb <0, 0.00904, 0.166667> ]
[ 0.580968 color rgb <0.089516, 0.199522, 0.393939> ]
[ 0.764608 color rgb <0.179032, 0.390004, 0.621212> ]
[ 0.764608 color rgb <0.179032, 0.390004, 0.621212> ]
[ 0.888147 color rgb <0.08951, 0.679851, 0.795454> ]
[ 1 color rgb <0, 0.969697, 0.969697> ]
}
}
density { spherical }
emission rgb <1, 1, 0.9999>
}
}
scale 1.5
matrix < 1.61803, 0, 0,
0, 1.61803, 0,
0, 0, 1.61803,
0, 0, 0 >
hollow
}
}
light_source { <4, 5, -5>, rgb <1, 1, 1> }
camera {
perspective
location <0, 0, -5>
sky <0, 1, 0>
direction <0, 0, 1>
right <1.3333, 0, 0>
up <0, 1, 0>
look_at <0, 0, 0>
}
---[Snap]-----
Post a reply to this message
Attachments:
Download 'magiclight.png' (385 KB)
Preview of image 'magiclight.png'
|
|