Hi Vaclav,

Your bug fix will break the way that PageLOD is supposed work, it is
suppossed to fallback to the next level of detail which if you
restrict to only rendering the children that match the range you will
end up with holes in the your scenes.

It sounds very much like you still have a problem with the setup of
your PagedLOD ranges.

Robert.

On Tue, Jun 14, 2011 at 2:30 PM, Vaclav Bilek <[email protected]> wrote:
> Robert,
>
> I have solution which works for me. I was just curious what is wrong and
> possibly wanted to help to find a bug.
> I debugged that with very simple scene and messages in the code and I
> did not find solution without modification of the PagedLOD class.
> Anyway, as this works for me and nobody else observes similar problem we
> can close this topic.
>
> Thank you for your help and your patience!
>
> Best regards
> Vaclav
>
> On 06/14/2011 03:15 PM, Robert Osfield wrote:
>> Hi Vaclav,
>>
>> If you've fixed the overlap then I have no idea what might cause the
>> two subgrpah jitter.  I don't recal others come across the same issue.
>>  The code is setup so it will choose one or the other so if you've got
>> things set up correctly it should just work.
>>
>> I'm afraid this issue is one you'll need to investigate.
>>
>> Robert.
>>
>> On Tue, Jun 14, 2011 at 2:01 PM, Vaclav Bilek <[email protected]> wrote:
>>> Hi Robert
>>>
>>> my lowerlod has 5..10 and higherlod has 0..5. Here I don't see an overlap.
>>>
>>> Your are right in case of my extralod which was 0..11. I removed it but
>>> and the problem persists.
>>>
>>> The only possible overlap may be in case o the value of 5, but based the
>>> code the distance is evaluated as:
>>> (min <= distance <max) which from my opinion means that the value "5" is
>>> not overlapping.
>>>
>>> Vaclav
>>>
>>>
>>> On 06/14/2011 02:33 PM, Robert Osfield wrote:
>>>> Hi Vaclav,
>>>>
>>>> On Tue, Jun 14, 2011 at 1:12 PM, Vaclav Bilek <[email protected]> wrote:
>>>>> However when the lower child is present (visible), the higher child goes
>>>>> for a moment into the scene and this makes jitter (two scenes at same
>>>>> place overlapping) and may unnecessarily decrease performance. Is this
>>>>> correct or I still do something wrong. I rearranged the scene to have
>>>>> only lowerlod and higherlod and I still see short 'blink' of the
>>>>> higherlod when it gets first time traversed.
>>>> You shouldn't have two PageLOD children with overlapping ranges, try
>>>> removing this
>>>> overlap.
>>>>
>>>> Robert.
>>>> _______________________________________________
>>>> osg-users mailing list
>>>> [email protected]
>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>
>>> _______________________________________________
>>> osg-users mailing list
>>> [email protected]
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to