Hi,

Thanks Wang Rui. I am also on GMT +8 (Perth Australia) so yes, it is a little 
late :  )

I am still investigating the issue but it seems the previous problem yourself 
and Robert fixed in relation to the reading of .source file has re-appeared. I 
will post details if I can confirm the issue as well as having a look at the 
changes you made to solve the problem before.

Cheers,

Brad

From: [email protected] 
[mailto:[email protected]] On Behalf Of Wang Rui
Sent: Thursday, 24 June 2010 11:56 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] New osgTerrain serializer not calling 
TileLoadedCallback

Hi Brad,

Thanks for the information. I believe this is a bug of the osgTerrain 
serializers. I will have a look at it tomorrow and try to submit a fix. I'm at 
the timezone GMT+8 and it's a little late at present. :)

Cheers,

Wang Rui

2010/6/24 Christiansen, Brad 
<[email protected]<mailto:[email protected]>>
Hi,

I am quite stuck now as to what the best approach is for this behavior using 
the new sterilizers and am hoping somebody with some knowledge in this area can 
help.

What I need to do is call a static method once an object (TerrainTile in this 
instance) has been loaded. I can't see any mechanism by which I can add a 
callback which is called at the end of the de-serialization process. At the 
moment I am looking at writing out a dummy value at the end of the stream so 
when I read it back in I get the opportunity to make my call. This is a very 
ugly hack.

Any pointers would be greatly appreciated.

I should add that the more I examine this new mechanism the more I like it. 
Very clean and extensible (except for my odd use case :). Thanks to Wang Rui, 
Robert and everyone else involved. A great addition to osg.

Cheers,

Brad

-----Original Message-----
From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 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, 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 
serializer (and my caqllback isnt getting called).

I have started to understand the new serializers a little but am hoping to get 
some advice on the most appropriate place to call 
TerrainTile::getTileLoadedCallback()->loaded(theNewlyLoadedTile, options).

Cheers,

Brad



DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or 
copyright
material or information that is subject to legal professional privilege. They 
are for
the use of the intended recipient only.  Any unauthorised viewing, use, 
disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without 
the
written permission of the owner. If you have received this transmission in 
error, or
are not an authorised recipient, please immediately notify the sender by return 
email,
delete this message and all copies from your e-mail system, and destroy any 
printed
copies. Receipt by anyone other than the intended recipient should not be 
deemed a
waiver of any privilege or protection. Thales Australia does not warrant or 
represent
that this e-mail or any documents, files and previous e-mail messages attached 
are
error or virus free.
--------------------------------------------------------------------------------------

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



DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or 
copyright
material or information that is subject to legal professional privilege. They 
are for
the use of the intended recipient only.  Any unauthorised viewing, use, 
disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without 
the
written permission of the owner. If you have received this transmission in 
error, or
are not an authorised recipient, please immediately notify the sender by return 
email,
delete this message and all copies from your e-mail system, and destroy any 
printed
copies. Receipt by anyone other than the intended recipient should not be 
deemed a
waiver of any privilege or protection. Thales Australia does not warrant or 
represent
that this e-mail or any documents, files and previous e-mail messages attached 
are
error or virus free.
--------------------------------------------------------------------------------------

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




DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or 
copyright
material or information that is subject to legal professional privilege. They 
are for
the use of the intended recipient only.  Any unauthorised viewing, use, 
disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without 
the
written permission of the owner. If you have received this transmission in 
error, or
are not an authorised recipient, please immediately notify the sender by return 
email,
delete this message and all copies from your e-mail system, and destroy any 
printed
copies. Receipt by anyone other than the intended recipient should not be 
deemed a
waiver of any privilege or protection. Thales Australia does not warrant or 
represent
that this e-mail or any documents, files and previous e-mail messages attached 
are
error or virus free.
--------------------------------------------------------------------------------------

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

Reply via email to