Hello,

(i am using OSG 2.8.2)

Let me try to explain the problem :

I have a big database (TerraPage).  I load it into my application. I have two 
views (cameras) within a window and i can position each camera individually 
looking directly down at the terrain ( I am using orthographic projection ). If 
I move 2 cameras to an identical location everything is fine, and I can keep 
moving them to the same position.  

However, when i move them to a different locations ( looking at different tiles 
i presume). The memory usage starts to increase at about 0.5mb per second and 
never stops. It seems to only happen when i use setViewAsLookAt which changes 
the modelview matrix. I used to move around the map using the ortographic 
projection matrix(by setting left and right top and bottom params) i have never 
noticed the memory increase. 

In other words it seems that having 2 views with cameras positioned in 
different places break something in the databasepager.  

I have tried playing with some settings such setTargetMaximumNumberOfPageLOD or 
calling clear on the database pager. Does anyone have or had similar issues? I 
have no idea how to debug this. Is what i am saying possible? and the 
databsepager has a bug?

Does anyone have any ideas? How to debug this? How to rule out the that there 
is a bug in databasepager?

Any help or advices are appreciated.
Thanks!
Sergey

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17989#17989





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to