![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Attached is a small picture which shows what happened when I tried to create
clouds using media. I get a box with texture mapped onto the outside of it
...is this correct because I expected to find the box filled with the media.
If this is the correct behaviour can anyone suggest how I can get the effect
I want?
Mick
--
*************************************************************
Please visit my web site at:-
http://www.minda.swinternet.co.uk/index.htm
*************************************************************
Post a reply to this message
Attachments:
Download 'StnCirc.jpg' (20 KB)
Preview of image 'StnCirc.jpg'
![StnCirc.jpg](/povray.unofficial.patches/attachment/%3C385bba89%40news.povray.org%3E/StnCirc.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <385bba89@news.povray.org>, "Mick Hazelgrove"
<mha### [at] minda swinternet co uk> wrote:
> Attached is a small picture which shows what happened when I tried to
> create
> clouds using media. I get a box with texture mapped onto the outside of
> it
> ...is this correct because I expected to find the box filled with the
> media.
> If this is the correct behaviour can anyone suggest how I can get the
> effect
> I want?
Could we see some code? It is hard to tell what is wrong without seeing
it.
Also, the image should have been posted to povray.binaries.images, and
just referred to in a message here.
--
Chris Huff
e-mail: chr### [at] yahoo com
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Whoops silly me!
#declare Col = 0.01;
#declare K = color_map {[0 rgb 0][.2 rgb 1][.5 rgb .7][1 rgb 1]}
box {-<50000,0,500>,<50000,100000,1000000>
pigment {rgbf 1}
interior {
media {
scattering {2, rgb Col extinction 1.5}
method 3
jitter 0.0
intervals 1
samples 3,3 file://was .9
aa_level 3 file://was 4
aa_threshold .1
absorption rgb Col/5
file://emission .005
density {
boxed
octaves 9
lambda 2.3
omega.575
turbulence 3
scale 155000
color_map {K}
}
}
}
hollow
translate y*4000
}
#end
fog {distance 950 rgbf <7,9,10,.25>/7.5 fog_type 2 fog_offset 200 fog_alt 1
turbulence .75}
--
*************************************************************
Please visit my web site at:-
http://www.minda.swinternet.co.uk/index.htm
*************************************************************
Chris Huff <chr### [at] yahoo com> wrote in message
news:chrishuff_99-D7DC27.11573518121999@news.povray.org...
> In article <385bba89@news.povray.org>, "Mick Hazelgrove"
> <mha### [at] minda swinternet co uk> wrote:
>
> > Attached is a small picture which shows what happened when I tried to
> > create
> > clouds using media. I get a box with texture mapped onto the outside of
> > it
> > ...is this correct because I expected to find the box filled with the
> > media.
> > If this is the correct behaviour can anyone suggest how I can get the
> > effect
> > I want?
>
> Could we see some code? It is hard to tell what is wrong without seeing
> it.
> Also, the image should have been posted to povray.binaries.images, and
> just referred to in a message here.
>
> --
> Chris Huff
> e-mail: chr### [at] yahoo com
> Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mick Hazelgrove wrote:
>
> Attached is a small picture which shows what happened when I tried to create
> clouds using media. I get a box with texture mapped onto the outside of it
> ...is this correct because I expected to find the box filled with the media.
> If this is the correct behaviour can anyone suggest how I can get the effect
> I want?
Which version (platform) are you using?
-Mark Gordon
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I'm using MegaPov on win 98
Mick
--
*************************************************************
Please visit my web site at:-
http://www.minda.swinternet.co.uk/index.htm
*************************************************************
Mark Gordon <mtg### [at] mailbag com> wrote in message
news:385BC1D8.8B6DD607@mailbag.com...
> Mick Hazelgrove wrote:
> >
> > Attached is a small picture which shows what happened when I tried to
create
> > clouds using media. I get a box with texture mapped onto the outside of
it
> > ...is this correct because I expected to find the box filled with the
media.
> > If this is the correct behaviour can anyone suggest how I can get the
effect
> > I want?
>
> Which version (platform) are you using?
>
> -Mark Gordon
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mick Hazelgrove wrote:
> fog {distance 950 rgbf <7,9,10,.25>/7.5 fog_type 2 fog_offset 200 fog_alt 1
> turbulence .75}
Have you tried it with the fog turned off. I have had problems in the past
with fog interfering with a media container and the media inside. Problem
is that fog will enter a hollow container and I know of no way around this
problem.
I can't test your code right now as I am working on something else at
the moment.
--
Wishing you Seasons Greetings, A Merry Christmas, and A Happy New Year !
Ken Tyler - 1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <385bbfab@news.povray.org>, "Mick Hazelgrove"
<mha### [at] minda swinternet co uk> wrote:
Those dimensions are huge. Are you sure you need a box this big?
I think the problem is the line "samples 3, 3". All the samples end up
being taken at the edges of the box instead of the middle, so you see
the box shape instead of the media shape. Try increasing the number of
samples by a lot.
And remember that you can change the order of the turbulence transform
relative to the other transforms by enclosing it in a warp {...}
statement. This might be useful.
--
Chris Huff
e-mail: chr### [at] yahoo com
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mick Hazelgrove wrote:
>Attached is a small picture which shows what happened when I tried to create
>clouds using media. ......
It looks like you need more samples and add some jitter.
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Oh, and also start with a unit-sized box, and scale/translate it to what
you want, and try without the fog. And with large uninterrupted areas,
put transparent partitions to divide up the media intervals. Don't
forget to increase max_trace_level for this.
--
Chris Huff
e-mail: chr### [at] yahoo com
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
The code looks vaguely familiar... :)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |