|
|
On 10/25/20 5:57 AM, Le_Forgeron wrote:
> Le 25/10/2020 à 10:33, Le_Forgeron a écrit :
>> Le 25/10/2020 à 02:35, Bald Eagle a écrit :
...
>>
>> Commenting the media in the last union, get the same bad result as
>> hgpovray38 with povray master 3.8;
>>
I'd not have looked if not for the claim of the same bad results in
povray master 3.8, but I branched off the last commit to master and I do
not see that line in tracepixel.cpp commented. (I've not run the test case)
If any help, I went on to look at the state of tracepixel.cpp for every
commit since the move the github. I see twelve up to v3.8 master head
and none have the precompute... line commented.
>
> Ok, I can fix it... but I do not understand yet why it happened and how
> it works.
>
> diff --git a/source/core/render/tracepixel.cpp
> b/source/core/render/tracepixel.cpp
> index 6d661b07..50d420a1 100644
> --- a/source/core/render/tracepixel.cpp
> +++ b/source/core/render/tracepixel.cpp
> @@ -235,7 +235,7 @@ void TracePixelCameraData::SetupCamera(const Camera&
> cam)
> bool normalise = false;
> camera = cam;
> useFocalBlur = false;
> - //precomputeContainingInteriors = true;
> + precomputeContainingInteriors = true;
> cameraDirection = camera.Direction;
> cameraRight = camera.Right;
> cameraUp = camera.Up;
>
Post a reply to this message
|
|