Open mrzzzrm opened 10 years ago
I added documentation and removed the WIP. Architecture stuff will happen with #542 and Line-intersection at some later point.
generally looking good. couldn't enjoy the performance because I'm on laptop on battery this is going to be fun to merge with transparency...
Beside the naming of the WorldElementBuilder, anything else?
I agree with the renaming, voxelobject sounds good. Runs smooth on my machine, code looks fine :shipit: after renaming. But I think this is a major change so maybe wait for a second shipit
Did the renaming ;)
weren't we about to de-singletonize the world to allow sectors? because there is an awful lot of World::instance()
in this diff.
I don't think the de-singletonizing was for this PR. I have a pretty complete branch (that misses some other things) for sectors where World::instance() is gone, though
is there a PR for that? If both should be merged... In order to not have the trouble when merging, maybe this feature should already be built without needing that lateron. Just a suggestion
I made this mergeable again and looked over the code once more. I would probably solve it more generically today, but I think it is fine as it is. What do you think, one more shipit?
Depends on #563 #568 Fixes #414
Code still needs cleanup and doc, maybe Line::intersects() can be optimised, but here it is: the BulletEngine
Please test it and report back. Expect significant improvements in the F2 battle, but there are still perfproblems with splitdetection and in VoxelRenderData::updateBuffer() (when using the homebase)