Bounding box problem in callbacks

bgK

27-07-2006 20:19:41

Thank you for fixing the bug with empty bounding boxes in tile events !
But there is still a problem : the bboxes seem to be relative to the page that owns the tile, and not to the world.
I use the bounding boxes to test if a mesh is or not in the tile, and it would be easier to do if they were relative to the world.

And by the way, TileShow and TileHide events are declared in OgrePagingLandScapeListenerManager.cpp but never called

tuan kuranes

31-07-2006 13:10:56

But there is still a problem : the bboxes seem to be relative to the page that owns the tile, and not to the world.
I use the bounding boxes to test if a mesh is or not in the tile, and it would be easier to do if they were relative to the world.

I'll change that ASAP.
And by the way, TileShow and TileHide events are declared in OgrePagingLandScapeListenerManager.cpp but never called

In the demo code (where it is commented) or in your code ?

bgK

31-07-2006 13:54:49

I'll change that ASAP.
Thanks a lot !

And by the way, TileShow and TileHide events are declared in OgrePagingLandScapeListenerManager.cpp but never called
The functions fireTileShow and fireTileHide are never called in the code of the plugin, so the corresponding events are never called.

tuan kuranes

31-07-2006 18:17:59

fixed in CVS. soon in SDK.

bgK

31-07-2006 19:44:34

Thanks, my problems are gone with the CVS version.
However, i have a new small issue : the TileHide event seems to be called before the tile is actually hidden.

tuan kuranes

01-08-2006 18:35:43

should be fixed in CVS.

bgK

01-08-2006 19:26:11

Everything is perfect now !
Thanks for your great plugin and your great support !