Re: [osg-users] New osgTerrain serializer not calling TileLoadedCallback

2010-06-25 Thread Wang Rui
Hi Brad, A solution for serialziers to call static functions at the end of reading/writing is to use a user serializer. The serialziers/osgManipulator/Draggers.cpp uses a DefaultGeometry serializer to run setupDefaultGeometry() once the reading process is finished, and this can also be applied to

[osg-users] New osgTerrain serializer not calling TileLoadedCallback

2010-06-24 Thread Christiansen, Brad
Hi, Using the new serializes for osgTerrain, it appears that the TileLoadedCallback is not being called when a new TerrainTile is loaded. This used to be done at the end of the TerrainTile_readLocalData method in the old (.ive/.osg format) loaded but I cant see it being done from the new

Re: [osg-users] New osgTerrain serializer not calling TileLoadedCallback

2010-06-24 Thread Christiansen, Brad
...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Christiansen, Brad Sent: Thursday, 24 June 2010 10:19 PM To: OpenSceneGraph Users Subject: [osg-users] New osgTerrain serializer not calling TileLoadedCallback Hi, Using the new serializes for osgTerrain

Re: [osg-users] New osgTerrain serializer not calling TileLoadedCallback

2010-06-24 Thread Robert Osfield
PM To: OpenSceneGraph Users Subject: [osg-users] New osgTerrain serializer not calling TileLoadedCallback Hi, Using the new serializes for osgTerrain, it appears that the TileLoadedCallback is not being called when a new TerrainTile is loaded. This used to be done at the end

Re: [osg-users] New osgTerrain serializer not calling TileLoadedCallback

2010-06-24 Thread Christiansen, Brad
...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Thursday, 24 June 2010 10:48 PM To: OpenSceneGraph Users Subject: Re: [osg-users] New osgTerrain serializer not calling TileLoadedCallback HI Brad, I'm afraid I'm still learning about the serializers myself so can't provide a quick answer

Re: [osg-users] New osgTerrain serializer not calling TileLoadedCallback

2010-06-24 Thread Robert Osfield
Hi Brad, On Thu, Jun 24, 2010 at 4:09 PM, Christiansen, Brad My question now is, at this stage, is it a good idea to rely on the TileLoadedCallback mechanism within the current osgTerrain design? I don't have any plans to remove TileLoadedCallback, but it's a niche part of osgTerrain only

Re: [osg-users] New osgTerrain serializer not calling TileLoadedCallback

2010-06-24 Thread Wang Rui
-users-boun...@lists.openscenegraph.org [mailto: osg-users-boun...@lists.openscenegraph.org] On Behalf Of Christiansen, Brad Sent: Thursday, 24 June 2010 10:19 PM To: OpenSceneGraph Users Subject: [osg-users] New osgTerrain serializer not calling TileLoadedCallback Hi, Using the new

Re: [osg-users] New osgTerrain serializer not calling TileLoadedCallback

2010-06-24 Thread Christiansen, Brad
Of Christiansen, Brad Sent: Thursday, 24 June 2010 10:19 PM To: OpenSceneGraph Users Subject: [osg-users] New osgTerrain serializer not calling TileLoadedCallback Hi, Using the new serializes for osgTerrain, it appears that the TileLoadedCallback is not being called when a new TerrainTile