Hello Gerrit,
On 11/22/2011 02:18 PM, Gerrit Voß wrote:
> On 23 Nov, 2011, at 1:44, Carsten Neumann<[email protected]> wrote:
>> By default the render action does not have a StatCollector; I changed
>> the code to only add the attachment and collect statistics if there is a
>> collector present (otherwise it's a waste of time anyway).
>> Incidentally this also fixes a bug where we were counting triangles twice.
>
> careful, it is not just about statistics. IIRC the occlusion culler also uses
> this statistics object, which as far as I remember introduced by the occ.
> culler.
> Just checking for statistics might not be enough, could you quickly check
> this.
ah, thanks for catching this. You are right, the occlusion culler uses
the number of triangles to decide if it's even worth to run a query for
an object or if drawing the object outright is cheaper. So I've changed
the test in the RenderPartition to also check if we are in OC mode.
I've also grepped the source tree for other uses of the attachment,
there is basically only ScreenLOD which adds or uses them - of course
that means ScreenLOD is one of those other things that is going to cause
trouble for Christoph's case.
Cheers,
Carsten
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users