Memory issue about Road

classic Classic list List threaded Threaded
2 messages Options
leo leo
Reply | Threaded
Open this post in threaded view
|

Memory issue about Road

Hi everyone,
    I added a road on earth by class RoadSurfaceLayer, just like the diagram below.

    The memory has been increasing when I moved the camera manipulator forward,no matter the road was not in the viewpoint. The memory didn't release until overflowed.If I annotated the statement "//compiler.compile(features, options().style().get(), fc);" at line 281 in the file RoadSurfaceLayer.cpp
the road was disappeared and the memory was never increased. So I think the nodes of roads are created in the function "compiler.compile(features, options().style().get(), fc);" but they weren't released in time or the release didn't work.
sns sns
Reply | Threaded
Open this post in threaded view
|

Re: Memory issue about Road

hi,
   good work..
 
   Can you tell me how your draping road texture over the terrain.. Tell me how the terrain is getting modified to the road path..

Thanks..