Hi Renzo,
On Thu, 15 Oct 2020 at 09:05, OpenSceneGraph Users <
osg-users@lists.openscenegraph.org> wrote:
> thanks for pointing out how cull traversal operates.
>
> Yes, it might be I am searching in the wrong direction. I need to get the
> minimum and the maximum Z coordinate of the geometry ver
Hi Wojtek,
it looks interesting. I do not have a shadowed scene but I will try
it, thanks.
Regards,
Renzo
On 15-Oct-20 2:54 PM, OpenSceneGraph
Users wrote:
Hi Renzo,
You may look a
Hi Renzo,
You may look at osgShadow\MinimalCullBoundsShadowMap.cpp. It scans
RenderBins and compute bounds of culled drawables to optimize shadow map
resolution.
Cheers,
Wojtek Lewandowski
czw., 15 paź 2020 o 12:40 OpenSceneGraph Users <
osg-users@lists.openscenegraph.org> napisał(a):
>
> Hi We
Hi Werner,
I do not know if I have found the code that you are suggesting. I
see that CullVisitor could help to find the near and far plane,
however with Z I meant the world vertical axis, not the axis of the
view frustum.
Regards,
Renzo
On 15
Hi Renzo,
Maybe a node visitor with z-near and z-far as parameter is a possible approach.
Werner
On 15. Oktober 2020 09:46:57 MESZ, OpenSceneGraph Users
wrote:
>
>Hi Robert,
>
>On 14-Oct-20 3:56 PM, OpenSceneGraph Users wrote:
>
>Hi Renzo,
>
>
>On Wed, 14 Oct 2020 at 12:00, OpenSceneGraph Users
Hi Robert,
On 14-Oct-20 3:56 PM, OpenSceneGraph
Users wrote:
Hi Renzo,
On Wed, 14 Oct 2020 at
12:00, OpenSceneGraph Users
wrote:
Hi Renzo,
On Wed, 14 Oct 2020 at 12:00, OpenSceneGraph Users <
osg-users@lists.openscenegraph.org> wrote:
> I am using osg::Drawable::getBoundingBox() to retrieve the bounding box
> around the whole geometry. Is there a similar short way to get the
> equivalent box for just the culled geometry or
7 matches
Mail list logo