as long as you do not access the blocks directly you should be fine
you'll need to get rid of getEnclosingRegion (by manually creating a region)
and of all calls that have to do with the size of the volume (just insert the value from some variable you created yourself)
David Williams wrote:
Can you give me a patch which I can apply to the current head of the RLE branch, so I can recreate the problem myself? If so I'll see what I can do about fixing those optimisations. In the mean time you can just comment them out while working on your streaming stuff.
I created a solution that works, and imo should not be noticably slower than the previous VolumeSampler (didn't test it, but if anyone feels up to it, there's a #define that can easily be used to change the method back or to something new)
please tell me about any issues, I know things like the serialization or the changetracker cannot work at all, but serialization is imo obsolete anyway and the changetracker should be changeable to the new Volume with some effort