Hi all,
I'm currently developing an osg application and I want to use occlusion queries
for, let's say, fill consumption meassurement. I want to be able to get number
of pixels rendered from some part of tree (the one under OcclusionQueryNode). I
came with two ideas:
1. As I understand the OQN
Hi guys,
On 3/7/09 12:48 AM, Jeremy Warren wrote:
--
From: Robert Osfield robert.osfi...@gmail.com
Sent: Wednesday, July 01, 2009 3:18 AM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Read number of Pixels
--Jeremy
--
From: "Robert Osfield" robert.osfi...@gmail.com
Sent: Wednesday, July 01, 2009 3:18 AM
To: "OpenSceneGraph Users" osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Read number of Pixels an object takes up
Hi Jeremy,
The OSG now h
Ulrich Hertlein wrote:
While
we're on the subject: for simple objects, say a sphere or an AABB,
shouldn't it be possible to do this calculation quicker on the CPU
without going to the GPU? Isn't something like this done for small
feature culling?
Host computation has (by definition) no
Hi Paul,
On 3/7/09 5:57 PM, Paul Martz wrote:
Ulrich Hertlein wrote:
While we're on the subject: for simple objects, say a sphere or an
AABB, shouldn't it be possible to do this calculation quicker on the
CPU without going to the GPU? Isn't something like this done for small
feature culling?
Sent: Wednesday, July 01, 2009 3:18 AM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Read number of Pixels an object takes up
Hi Jeremy,
The OSG now has support of OpenGL occlusion query that can provide the
number of pixels covered when rendering. See
Hi Jeremy,
On Thu, Jul 2, 2009 at 11:48 PM, Jeremy Warrenjw...@hotmail.com wrote:
Thanks for the direction. I looked through osgocclusionquery and also the
API, however I have been unable to come up with a pixel specific information
pertaining to the node.
I'm afraid I haven't dived into the
Hi Jeremy,
The OSG now has support of OpenGL occlusion query that can provide the
number of pixels covered when rendering. See osgocclusionquery
example.
Robert.
On Wed, Jul 1, 2009 at 12:35 AM, Jeremy Warrenjw...@hotmail.com wrote:
I have a simple scene. Colored background and an object, say
I have a simple scene. Colored background and an object, say a box. I want to
figure out how many pixels the box is taking up in the scene. It seems like a
simple request, but haven't come up with any solution. Any takers?
Thanks in advance
--Jeremy
Jeremy
I am not sure exactly how to do this in OSG now, but I did something like
this 4-5 years ago in OSG 0.9x. I used the ARB_occlusion_query extention
http://oss.sgi.com/projects/ogl-sample/registry/ARB/occlusion_query.txt. I
placed nodes in different renderbins added cull and draw callbacks
10 matches
Mail list logo