Hi Robert,
I want to come back to my original remark that culling does not work correctly
with AutoTransforms and ROTATE_TO_SCREEN.
I have modified the example osgautotransform.cpp by adding a new class that
contains an AutoTransform and a drawable. An object of this class is added to
the
Hi Hartwig,
On 29 March 2018 at 22:51, Hartwig Wiesmann wrote:
> what I would like to produce is an object that is always oriented towards the
> user (screen) and has the same size independent of the zoom level. Though the
> zoom level is limited in a certain range
Hi Robert,
what I would like to produce is an object that is always oriented towards the
user (screen) and has the same size independent of the zoom level. Though the
zoom level is limited in a certain range by an additional LOD.
Therefore, I think that AutoTranslate is the only viable option,
HI Hatwig,
The code is correct, you can't cull something that you don't have a
valid bounding volume for. Distabling culling for a particular node
only affect that node and all it's parents, it does affect culling of
the children which can still have their own culling be effective.
If you don't
Hi Hartwig,
On 27 March 2018 at 17:44, Hartwig Wiesmann wrote:
> I was not talking about the cullingActive flag but the method
> isCullingActive! isCullingActive checks besides the cullingActive flag if the
> boundary sphere is valid. As long as the boundary sphere
Hi Robert,
I was not talking about the cullingActive flag but the method isCullingActive!
isCullingActive checks besides the cullingActive flag if the boundary sphere is
valid. As long as the boundary sphere is invalid isCullingActive() returns
false. This is the problem I reported.
Code:
Hi Hartwig,
CullingActive flag is only effective for the Node that you set it for
and all it's parents, it doesn't disable culling for the children of
the node with CullingActive set.
Robert.
On 26 March 2018 at 22:28, Hartwig Wiesmann wrote:
> Hi,
>
> I found a
Hi,
I found a very old article covering this issue:
https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg15948.html.
In the meantime it seems to be that proposal (2) has been implemented and the
AutoTransform's computeBound() method returns an invalid bounding sphere during
the
8 matches
Mail list logo