POV-Ray : Newsgroups : povray.general : Someday I'll understand media - right after I get women figured out and work out the tensions in the Middle East. : Re: Someday I'll understand media - right after I get women figured outand work out the tensions in the Middle East. Server Time
30 Jul 2024 02:27:29 EDT (-0400)
  Re: Someday I'll understand media - right after I get women figured outand work out the tensions in the Middle East.  
From: Alain
Date: 31 Jan 2010 16:49:20
Message: <4b65fae0$1@news.povray.org>

> Look, I'm not looking for super accuracy here, just a little media to
> scatter my light sources.
>
> right now I' looking down a long corridor so I made this.
>
> #declare media_box=box{
> <-10,-10,-50><10,30,200>
> hollow
> pigment{color rgbf 1}
> interior{
> media {
> intervals 9
> scattering { 1, rgb 0.03 }
> samples 1, 10
> confidence 1/10
> variance 1/1000
> ratio 0.9
> }
> }
> }
>
> however, when I use it my render takes many hours to complete.
> is there something that can produce a simple, easy haze to scatter my
> light and take, oh say 10 minutes?

The default sampling method is method 3. The documentations are about 
the old method 1. The settings given are not good for method 3.

Remove intervals 9. It realy bogs you down. Default to intervals 1 and 
MUST be left at that value.

Use samples 9 instead. The second samples value is totaly ignored and 
best left out.
Also, remove ratio 0.9. It's no longer needed.

You can also leave confidence and variance out and use the default values.
This gives something like:
interior{ media { scattering { 1, rgb 0.03 } samples 20}

This will be much faster and gives the same, or beter, result.

As said, scatering is the slowest kind of media, but you can make it 
even slower with bogus parameters.


Alain


Post a reply to this message

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