POV-Ray : Newsgroups : povray.general : Media help Server Time
28 Nov 2024 05:41:45 EST (-0500)
  Media help (Message 1 to 8 of 8)  
From: SharkD
Subject: Media help
Date: 20 Jun 2007 23:50:02
Message: <web.4679f544ff1ff7b14c561030@news.povray.org>
Can someone please tell me why the following sphere is not showing up in my
scene?

 sphere
 {
  0,1
  scale <1/16,1/4,1/16,>
  hollow
  material
  {
   interior
   {
    media
    {
     intervals 1 //5  higher slows it up and gives smoother images
     samples 1 //5  lower = more blocky
     emission .300 //1    brightness of glowing media
     density
     {
      spherical scale <1/16,1/4,1/16,>
      warp {turbulence <.8,.07,.05>}
      density_map
      {
       [0 rgb 0]
       [.6 rgb 0]
       [.7 color Yellow]
       [.8 color Yellow]
       [.9 color White]
       [1 color White]
      }
     }
    }
   }
   texture {pigment {Clear}}
  }
 }


Post a reply to this message

From: SharkD
Subject: Re: Media help
Date: 21 Jun 2007 00:00:01
Message: <web.4679f7756015d1cf4c561030@news.povray.org>
I forgot to add that the same media works fine in this scene:

http://news.povray.org/povray.text.scene-files/thread/%3C4464397b@news.povray.org%3E/


Post a reply to this message

From: Slime
Subject: Re: Media help
Date: 21 Jun 2007 01:36:05
Message: <467a0e45$1@news.povray.org>
>       spherical scale <1/16,1/4,1/16,>
>       warp {turbulence <.8,.07,.05>}

Your sphere is really small and you're applying turbulence - it might be
moving the only part of the spherical pattern that has a value greater than
zero outside of the sphere itself. Does it work if you remove the warp? If
so, try reducing the turbulence or move the scale to after the warp.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

From: SharkD
Subject: Re: Media help
Date: 21 Jun 2007 03:50:02
Message: <web.467a2ca66015d1cf96f3cfc0@news.povray.org>
"Slime" <fak### [at] emailaddress> wrote:
> >       spherical scale <1/16,1/4,1/16,>
> >       warp {turbulence <.8,.07,.05>}
>
> Your sphere is really small and you're applying turbulence - it might be
> moving the only part of the spherical pattern that has a value greater than
> zero outside of the sphere itself. Does it work if you remove the warp? If
> so, try reducing the turbulence or move the scale to after the warp.
>
>  - Slime
>  [ http://www.slimeland.com/ ]

It still won't show up :(
Removing the warp makes it partially visible, but it's not dense enough in
the center of the shape.


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Media help
Date: 21 Jun 2007 07:40:44
Message: <467a63bc$1@news.povray.org>
SharkD wrote:

> Removing the warp makes it partially visible, but it's not dense enough in
> the center of the shape.

Well, how about increasing emission strength and adjusting the density
map instead of applying a warp? BTW, does it make sense to use "Yellow"
in a density map? Maybe you want to use a color_map instead.


Post a reply to this message

From: SharkD
Subject: Re: Media help
Date: 21 Jun 2007 15:20:01
Message: <web.467acf286015d1cfd919ca980@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> SharkD wrote:
>
> > Removing the warp makes it partially visible, but it's not dense enough in
> > the center of the shape.
>
> Well, how about increasing emission strength and adjusting the density
> map instead of applying a warp? BTW, does it make sense to use "Yellow"
> in a density map? Maybe you want to use a color_map instead.

Thanks! Adjusting the emission strength did the trick. There's a formula in
the docs on how to do it properly.


Post a reply to this message

From: Alain
Subject: Re: Media help
Date: 21 Jun 2007 19:17:42
Message: <467b0716$1@news.povray.org>
SharkD nous apporta ses lumieres en ce 2007/06/20 23:49:
> Can someone please tell me why the following sphere is not showing up in my
> scene?
> 
>  sphere
>  {
>   0,1
>   scale <1/16,1/4,1/16,>
>   hollow
>   material
>   {
>    interior
>    {
>     media
>     {
>      intervals 1 //5  higher slows it up and gives smoother images
By default using method 3, this should stay at 1.
>      samples 1 //5  lower = more blocky
Raise this instead, samples 25 interval 1 is MUCH faster than intervals 5 
samples 5 for the same final number of samples.
>      emission .300 //1    brightness of glowing media
>      density
>      {
>       spherical scale <1/16,1/4,1/16,>
>       warp {turbulence <.8,.07,.05>}
>       density_map
>       {
>        [0 rgb 0]
>        [.6 rgb 0]
>        [.7 color Yellow]
>        [.8 color Yellow]
>        [.9 color White]
>        [1 color White]
>       }
>      }
>     }
>    }
>    texture {pigment {Clear}}
>   }
>  }
> 
> 
Your media is prety faint, try raysing emission some.
Only 40% of your radius emit, the rest been density 0, combined with the low 
emission makes it hard to see, especialy if the background is light.

-- 
Alain
-------------------------------------------------
'hAS ANYONE SEEN MY cAPSLOCK KEY?'


Post a reply to this message

From: Alain
Subject: Re: Media help
Date: 21 Jun 2007 19:20:14
Message: <467b07ae$1@news.povray.org>
SharkD nous apporta ses lumieres en ce 2007/06/21 15:19:
> Christian Froeschlin <chr### [at] chrfrde> wrote:
>> SharkD wrote:
>>
>>> Removing the warp makes it partially visible, but it's not dense enough in
>>> the center of the shape.
>> Well, how about increasing emission strength and adjusting the density
>> map instead of applying a warp? BTW, does it make sense to use "Yellow"
>> in a density map? Maybe you want to use a color_map instead.
> 
> Thanks! Adjusting the emission strength did the trick. There's a formula in
> the docs on how to do it properly.
> 
> 
There is no set formula that can work in every cases. As a rule, if you double 
the thickness of your media, you should halve it's density, or emission, to keep 
the same aspect/brightness.

-- 
Alain
-------------------------------------------------
Wouldn't it be nice if whenever we messed up our life we could simply press 
'Ctrl Alt Delete' and start all over?


Post a reply to this message

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