POV-Ray : Newsgroups : povray.general : Speed Problem / Question Server Time
28 Dec 2024 23:53:55 EST (-0500)
  Speed Problem / Question (Message 1 to 3 of 3)  
From: Sereib
Subject: Speed Problem / Question
Date: 25 Sep 2013 11:10:01
Message: <web.5242fc6eee2e66081fba8a750@news.povray.org>
Hello,

I have scene with some plants (many triangles) on the ground, and clouds (a
stretched box with scattering media) in the sky.

The plants alone render very fast (> 10.000 pps), and clouds alone also.
However, if I put both elements to the scene, rendering becomes very slow (< 200
pps).

I tried putting both elements in two different light_groups, such as:

light_group{ light_source{ L1} object{Plants}}

light_group{ light_source{ L2 } object{Clouds}}

but this did not help. I might add, that the lower border of the cloud-box is
much higher than the upper border of the plants. Adding "no_shadow" to both,
plants and clouds, also does not help. Photons and radiosity are also switched
off for this scene.

Any idea what's the reason for this slow-down, and what would help? To my
opinion, there should be no interaction of both, plants and clouds, during
rendering.

Thank you!


Post a reply to this message

From: Sereib
Subject: Re: Speed Problem / Question
Date: 25 Sep 2013 11:25:01
Message: <web.5242ff4f7c99f9161fba8a750@news.povray.org>
Hello,

I found a solution: Bounding the plants in a box which does not hit the clouds
helps. However, I still don't know why ...


"Sereib" <nomail@nomail> wrote:
> Hello,
>
> I have scene with some plants (many triangles) on the ground, and clouds (a
> stretched box with scattering media) in the sky.
>
> The plants alone render very fast (> 10.000 pps), and clouds alone also.
> However, if I put both elements to the scene, rendering becomes very slow (< 200
> pps).
>
> I tried putting both elements in two different light_groups, such as:
>
> light_group{ light_source{ L1} object{Plants}}
>
> light_group{ light_source{ L2 } object{Clouds}}
>
> but this did not help. I might add, that the lower border of the cloud-box is
> much higher than the upper border of the plants. Adding "no_shadow" to both,
> plants and clouds, also does not help. Photons and radiosity are also switched
> off for this scene.
>
> Any idea what's the reason for this slow-down, and what would help? To my
> opinion, there should be no interaction of both, plants and clouds, during
> rendering.
>
> Thank you!


Post a reply to this message

From: Alain
Subject: Re: Speed Problem / Question
Date: 26 Sep 2013 20:04:15
Message: <5244cb7f@news.povray.org>

> Hello,
>
> I found a solution: Bounding the plants in a box which does not hit the clouds
> helps. However, I still don't know why ...
>
>
> "Sereib" <nomail@nomail> wrote:
>> Hello,
>>
>> I have scene with some plants (many triangles) on the ground, and clouds (a
>> stretched box with scattering media) in the sky.
>>
>> The plants alone render very fast (> 10.000 pps), and clouds alone also.
>> However, if I put both elements to the scene, rendering becomes very slow (< 200
>> pps).
>>
>> I tried putting both elements in two different light_groups, such as:
>>
>> light_group{ light_source{ L1} object{Plants}}
>>
>> light_group{ light_source{ L2 } object{Clouds}}
>>
>> but this did not help. I might add, that the lower border of the cloud-box is
>> much higher than the upper border of the plants. Adding "no_shadow" to both,
>> plants and clouds, also does not help. Photons and radiosity are also switched
>> off for this scene.
>>
>> Any idea what's the reason for this slow-down, and what would help? To my
>> opinion, there should be no interaction of both, plants and clouds, during
>> rendering.
>>
>> Thank you!
>
>
>
>

The mesh for your plants may have some stray, isolated, triangles placed 
very high. Those are probably very small makint them essentialy 
invisible, showing only by accident.
If that's the case, then, your manual bounding effectively removed those.

If that's the case, doing an intersection of your mesh and a box similar 
to your bounding box should have about the same effect.



Alain


Post a reply to this message

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