POV-Ray : Newsgroups : povray.binaries.images : strange behavior, lightsource + lookslike + media : Re: strange behavior, lightsource + lookslike + media Server Time
30 Jul 2024 18:14:20 EDT (-0400)
  Re: strange behavior, lightsource + lookslike + media  
From: Alain
Date: 4 Nov 2011 12:55:01
Message: <4eb418e5@news.povray.org>

> Alain<aze### [at] qwertyorg>  wrote:
>> Some media hints:
>> intervals MUST remains at 1
>> samples NEVER use the second parameter when using the default smpling
>> method: method 3.
>
> Ok. what advice do you have on the implementation of resolution modification
> based on distance to camera?
>
> I'd like far away media to have lower resolution, to speed up renders.

For that, you need to set the camera location before you define the 
media. Next, you calculate the distance using vlenght(). Then, acording 
on that value, you can set samples to a decreasing value as you go 
farther from the camera.

>
>> As it is, you take only one sample at the mid point of the container and
>> assume that it don't change.
>>
>> Also, your containers overlap each other. As the spherical pattern have
>> an effective radius of 1, reducing your containers radius to that value
>> suppress the overlap, and some changes related to the location.
>
> I'm not sure I'm following you here...but it sounds like I may have buggered
> something and need to fix it?
>
> There may be a need for a few different "layers" to these glows, to fully
> reproduce the effects of the megapov "glow" effect.
>
> Any advice on how to go about this would be appreciated.
>
> I looked into adding in the glow patch to 3.7rc3, but the two versions of pov
> are so different that given my unfamilarity with the code base, I don't have a
> good idea of what needs to be done to convert the glow patch to the new
> architecture of povray...so I thought this macro might be faster to implement.
>
> Here is what it looks like as of this morning.
>
>> Alain
>
> Ian


Post a reply to this message

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