 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I want to render an old scene I had written for pov 3.1. Because I want to change
some things and use 3.1 features I need to convert the halo to a media.
The old scene has following code:
halo {
emitting
spherical_mapping
linear
lambda 2
turbulence <0.3,1,0.3>*1.2
color_map {
[ 0.0 color rgbt<1,0,0,1>]
[ .5 color rgbt<1.75,1,0,0>]
[ 1.0 color rgbt<2,2,0,-1>]
}
jitter 0.1
frequency 1
samples 20
scale 0.4
}
My problem is that I don't remember what kind of pattern the two lines
spherical_mapping
linear
mean. Unfortunatley I have no more 3.0 docs. Does anybody of you remember the
meaning of this and know how to translate that to a density_map?
- Micha
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3A71DED3.8CFCD3B1@gmx.net>, Micha Riser <mri### [at] gmx net>
wrote:
> My problem is that I don't remember what kind of pattern the two lines
>
> spherical_mapping
> linear
>
> mean. Unfortunatley I have no more 3.0 docs. Does anybody of you
> remember the meaning of this and know how to translate that to a
> density_map?
Well, I would start with the "spherical" pattern... ;-)
An attempt at translating is below. (Note: I never did much with halo,
and have no way to check to see how similar the media is, so this is
just a guideline for the syntax.)
media {
emission color White
method 3// Use this if using MegaPOV, if not,
// remove this and use more intervals.
intervals 1// using 2 or 3 may help, I almost always use 1, but
// the official version requires much more.
samples 20, 20
density {spherical// ramp_wave and frequency 1 are default
turbulence <0.3,1,0.3>*1.2 lambda 2
scale 0.4
color_map {// media ignores transmit and filter and uses the
// brightness of the color to determine density
// use the color for "emission" to specify the overall
// density
[0.0 color rgb < 0, 0, 0>]
[0.5 color rgb < 1.75, 1, 0>]
[1.0 color rgb <-2,-2, 0>]// I don't know what was intended
// with the negative transmit...
}
}
}
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thank you Chris! This gave the same pattern as with the halos. I just had to play
a little around with the color strengths in the color_map and now it looks nearly
the same.
- Micha
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Here's another one where I have big problems converting it:
halo{
emitting
planar_mapping
poly
exponent 2.5
omega 1.07
lambda 1.6
turbulence <6,1,6>
color_map{
[0 color rgbt<0.5,0,0,1>]
[.5 color rgbt<1.75,1,0,0>*0.5]
[1 color rgbt<2,2,0,0>*0.4]
}
translate<5,0,0>
scale <1,0.7,1>
samples 20
}
Any help is appreciated.
- Micha
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3A730841.432BCFFB@gmx.net>, Micha Riser <mri### [at] gmx net>
wrote:
> Here's another one where I have big problems converting it:
>
> halo{
> emitting
> planar_mapping
> poly
> exponent 2.5
Try "planar poly_wave 2.5" as the pattern. The other changes should be
similar to your previous example...put pattern and color_map stuff in a
density {} block, remove filter/transmit values and adjust color_map,
etc...
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |