|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I've been trying to make a scene where the objects are immersed in a
swirling cloud of red and blue. The objects are in a sphere with interior
media / density / colormap pattern gradient / turbulance. There is a
spotlight / parallel. It looks really good, except the swirling clouds
appear to be in the background, rather than surrounding the objects. I've
made every adjustment I can think of, but nothing seems to work. I noticed
something called smokegen.inc, which looks like it might be helpful,but it
does not work with Povray 3.5. Any ideas?
Thanks,
Steve Shelby
current code for media (see any glaring faults?):
#declare sphere1 =
material // sphere1
{
texture
{
pigment
{
color rgbft <1.0, 1.0, 1.0, 1.0, 1.0>
}
}
interior
{
media
{
intervals 3
samples 1,10
absorption rgbt <0.0, 0.0, 0.0, 1.0>
emission rgb <0.002, 0.016176, 0.018>
scattering
{
5 , rgbft <0.05797, 0.01003, 0.01003, 0.001, 0.001> //
henyey greenstein scattering
eccentricity 0.3
extinction 0.5
}
density
{
gradient <1.0, 1.0, 1.0>
color_map
{
[ 0.0 rgbft <1.0, 0.0, 0.0, 0.0, 0.0> ]
[ 1.0 rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
}
turbulence 3.0
ramp_wave
scale 0.5
}
}
}
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Steve Shelby" <ssh### [at] rexnetnet> wrote in message
news:3e4d0122@news.povray.org...
> #declare sphere1 =
> material // sphere1
> {
> texture
> {
> pigment
> {
> color rgbft <1.0, 1.0, 1.0, 1.0, 1.0>
I would change this to rgbf<1,1,1,1> (which can be shortened to rgbf 1)
Apart from that, I'm not sure why your media colours specify anything apart from
rgb -
e.g.
> absorption rgbt <0.0, 0.0, 0.0, 1.0>
> 5 , rgbft <0.05797, 0.01003, 0.01003, 0.001, 0.001> //
> [ 0.0 rgbft <1.0, 0.0, 0.0, 0.0, 0.0> ]
> [ 1.0 rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
Is this for a particular reason? Since the whole point of media is that, by its
nature, it is partly transparent/transluscent, this seems a bit redundant.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tom,
You're right, the f & t settings are irrelevant. The code was generated by
Moray, so it's not as "pure" as hand-coded.
Steve
Tom Melly <tom### [at] tomandlucouk> wrote in message
news:3e4d0287$1@news.povray.org...
> "Steve Shelby" <ssh### [at] rexnetnet> wrote in message
> news:3e4d0122@news.povray.org...
> > #declare sphere1 =
> > material // sphere1
> > {
> > texture
> > {
> > pigment
> > {
> > color rgbft <1.0, 1.0, 1.0, 1.0, 1.0>
>
> I would change this to rgbf<1,1,1,1> (which can be shortened to rgbf 1)
>
> Apart from that, I'm not sure why your media colours specify anything
apart from
> rgb -
>
> e.g.
>
> > absorption rgbt <0.0, 0.0, 0.0, 1.0>
>
> > 5 , rgbft <0.05797, 0.01003, 0.01003, 0.001, 0.001> //
>
> > [ 0.0 rgbft <1.0, 0.0, 0.0, 0.0, 0.0> ]
> > [ 1.0 rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
>
> Is this for a particular reason? Since the whole point of media is that,
by its
> nature, it is partly transparent/transluscent, this seems a bit redundant.
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|