realXtend / tundra

realXtend Tundra SDK, a 3D virtual world application platform.
www.realxtend.org
Apache License 2.0
84 stars 70 forks source link

Interest Management #619

Closed karivatj closed 11 years ago

karivatj commented 11 years ago

Interest management functionality ported to newest Tundra core. Contains functionality for EA3, A3 and normal Euclidean distance filtering. EA3 filters updates based on what the user sees while A3 relies on basic Euclidean distance. Lots of bugs has been fixed.

One improvement would be to modify OgreRenderingModule to allow raycasting using a basic bounding box based solution instead of raycasting to polygon level. The accuracy is high enough with bounding box approach and is much cheaper way to raycast so it would be a nice feature. I have my own custom raycasting method implemented but I will not include it into this pull request because it alters OgreRenderingModule.

Anyways this should be fully working piece of code which is disabled by default. If you want this enabled it can be done via IM configuration dialog. Just run with --config imDialog.xml to enable the configuration dialog. No future modifications to this pullrequest is planned to be done so I hope this will do.

-Kari Vatjus-Anttila

Stinkfist0 commented 11 years ago

Is this usable with a headless server? What kind of improvements does this bring to Tundra?

jonnenauha commented 11 years ago

Needs to be merged with rex/tundra2 before can be reviewed. Shows ~650 file changes against tundra2. Or something weird is going on. Its showing like this pull request would be adding /android etc. files that are already in tundra2.

Also is there command line switches or more importantly can this be enabled during runtime from code? From C++ and as a bonus javascript would be nice. We also don't need any more startup configs imo, instead of --config imDialog.xml there should be command line switches to turn on the different types, document those and you wont need a startup config.

@cadaver Would be nice to get this stuff in so we can finish it there together (code, script exposure etc.). If the logic is disabled by default and he is not planning to do any more work on it. If you see no big other problems with it. Ofc the pull request needs to be merged and tiptop before that.

karivatj commented 11 years ago

Yeah i just noticed that I messed up the pull request. I'll close this one and merge the IM stuff to tundra2 and then do a new pull request. Sorry about the inconvenience.