Users
Subject: Re: [osg-users] Confused about Uniforms and StateSets.
HI Richard,
On Fri, Aug 15, 2008 at 12:06 PM, Schmidt, Richard
[EMAIL PROTECTED] wrote:
As a general rule it's best to minimize the number of StateSet and
associated StateAttribute/Uniform/Mode changes, both form the OSG's
CPU
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Friday, August 15, 2008 1:40 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Confused about Uniforms and StateSets.
HI Richard,
On Fri, Aug 15, 2008 at 12:06 PM, Schmidt, Richard
[EMAIL PROTECTED
Hello,
I'm using a geometry shader to do particle animation for a splash
special effect. I am using a few uniforms, one of which is the time at
which the splash starts and others that contain values that are shared
among the different splashes.
I am applying the StateSet containing the
Hi Colin,
As a general rule it's best to minimize the number of StateSet and
associated StateAttribute/Uniform/Mode changes, both form the OSG's
CPU cost, as well as the cost down on the GPU with stalling the
graphics pipeline with state changes. Uniforms in particular can be a
very expensive
refactoring at my end. Would
you get the same result using a DrawCallback?
Cheers,
Colin.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: 15 August 2008 09:43
To: OpenSceneGraph Users
Subject: Re: [osg-users] Confused about Uniforms
Hi Robert,
Hi Colin,
As a general rule it's best to minimize the number of StateSet and
associated StateAttribute/Uniform/Mode changes, both form the OSG's
CPU cost, as well as the cost down on the GPU with stalling the
graphics pipeline with state changes. Uniforms in particular can be a
very
HI Richard,
On Fri, Aug 15, 2008 at 12:06 PM, Schmidt, Richard
[EMAIL PROTECTED] wrote:
As a general rule it's best to minimize the number of StateSet and
associated StateAttribute/Uniform/Mode changes, both form the OSG's
CPU cost, as well as the cost down on the GPU with stalling the
graphics
7 matches
Mail list logo