POV-Ray : Newsgroups : povray.advanced-users : I can't see my media : Re: I can't see my media Server Time
2 Nov 2024 11:25:31 EDT (-0400)
  Re: I can't see my media  
From: Ken
Date: 11 Oct 1999 15:59:26
Message: <38024161.27F579FD@pacbell.net>
TonyB wrote:
> 
> Hi. As the title indicates, I'm having trouble in my latest hallway scene in
> seeing my media. I basically took away reflections for now, removed all
> lights, and tossed in a
> 
> box {-<75,10,250>,<75,50,250> hollow pigment {rgbf 1} interior {media
> {intervals 20 samples 2,10 scattering {2, rgb 0.0001*<1,.75,.25> extinction
> .1} confidence 0.9999 variance 1/1000 ratio 0.9}}}
> 
> with new lights, such as:
> 
> light_source {< 15,12,0> 1 spotlight point_at  0 radius 20 falloff 30
> tightness 20 media_interaction on}
> 
> OK, great, I get my light shining in through the window and all is nice,
> buuut... I get no dust in the air through which the lights shine. If I
> increase the rgb value of the scattering, things just get darker in the
> spots without spotlights. What do I do?
> 
> PS: Yes, Mike, I would be using your MiniPatch, but I am currently using UV
> mapping, which is not available in the SuperPatch. :(

 I have run into problems myself when trying to produce a scene with media
where the camera is inside of the container. It does not work the same way
as if your camera is outside the container when using media inside an
interior statement.

  Try a simple scattering media instead. I have been playing with the code
below lately and have had pretty good results. The settings here might be
a little grainier than you want but can easily be adjusted to give a finer
"dust" if you so desire. Just make sure that you still specify hollow on
your box so that the media will enter it.

media {
scattering {1, .1 extinction .25}
//method 1
//jitter .5
samples 15, 51
intervals 14
ratio .99
confidence .999
variance 1/10
}  

 I have also just recently found that adding a black media along with your
reactive media can speed up render times when using a scattering media. I
have no concrete evidence to support this claim but if you try my above code
try also adding this along with it to see how it compares time wise:

media {
scattering {1, 0 extinction .15}
//method 2
samples 10, 51
intervals 15
ratio .99
confidence .999
variance 1/10
} 

I intentionaly use slightly different sampling and intervals to avoid
cancellation effects. It may make no difference but why mess with it
if it works... I may also be completely daft :)


-- 
Ken Tyler -  1100+ 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

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