POV-Ray : Newsgroups : povray.unofficial.patches : re MegaPov and media Server Time
2 Sep 2024 16:16:13 EDT (-0400)
  re MegaPov and media (Message 1 to 10 of 10)  
From: Mick Hazelgrove
Subject: re MegaPov and media
Date: 18 Dec 1999 11:47:05
Message: <385bba89@news.povray.org>
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


 

From: Chris Huff
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 11:56:58
Message: <chrishuff_99-D7DC27.11573518121999@news.povray.org>
In article <385bba89@news.povray.org>, "Mick Hazelgrove" 
<mha### [at] mindaswinternetcouk> 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] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Mick Hazelgrove
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 12:08:59
Message: <385bbfab@news.povray.org>
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] yahoocom> wrote in message
news:chrishuff_99-D7DC27.11573518121999@news.povray.org...
> In article <385bba89@news.povray.org>, "Mick Hazelgrove"
> <mha### [at] mindaswinternetcouk> 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] yahoocom
> Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Mark Gordon
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 12:18:20
Message: <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

From: Mick Hazelgrove
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 12:48:17
Message: <385bc8e1@news.povray.org>
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] mailbagcom> 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

From: Ken
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 12:53:43
Message: <385BC829.33916F44@pacbell.net>
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

From: Chris Huff
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 12:56:24
Message: <chrishuff_99-2FAA7B.12570018121999@news.povray.org>
In article <385bbfab@news.povray.org>, "Mick Hazelgrove" 
<mha### [at] mindaswinternetcouk> 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] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: ingo
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 13:01:51
Message: <8EA0C705Cseed7@204.213.191.228>
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

From: Chris Huff
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 13:02:16
Message: <chrishuff_99-3A1847.13025218121999@news.povray.org>
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] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: TonyB
Subject: Re: re MegaPov and media
Date: 18 Dec 1999 15:12:17
Message: <385beaa1@news.povray.org>
The code looks vaguely familiar... :)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.