Search results

  1. Panserbjoern

    Tweaking Chunk Storage

    Immortius Hm... I am currently experimenting with the implementation of serialization handlers for tera arrays. I have already implemented handlers for every array type. They are using a similiar interface like you suggested it above. Internally they use DataOutputStream/DataInputStream...
  2. Panserbjoern

    Tweaking Chunk Storage

    I absolutely agree! Obtaining the arrays themselves would be nice for performance. Though the loss of encapsulation is a problem. Think about liquids for example. public boolean setBlock(int x, int y, int z, Block newBlock, Block oldBlock) { if (newBlock != oldBlock) {...
  3. Panserbjoern

    Tweaking Chunk Storage

    Cervator, Immortius 1. I have implemented some additions to sparse chunks. Chunk deflation is now executed asynchronously and it's now fully configurable. There is the pull request: https://github.com/MovingBlocks/Terasology/pull/400 2. About block dynamics. I can implement a...
  4. Panserbjoern

    Tweaking Chunk Storage

    Hi dei, thank you very much! Well, theoretically it would be possible to store the data of the arrays without knowing the exact details of the implementation. They would just be stored as dense arrays. But when you load a saved world the loaded arrays would also be dense arrays because we dont...
  5. Panserbjoern

    Tweaking Chunk Storage

    Oh yeah, about the protobuf stuff. I am not sure whether it makes sense just now to implement that. It will be necessary to have protobuf implemented for every tera array variation i think. And thats not finished yet...
  6. Panserbjoern

    Tweaking Chunk Storage

    Cool! :D Thanks for pulling! :omg: Can you elaborate on that? What do you mean with "chunk additions" and "module"? We can certainly use tera arrays fo that. I think it would require some extensions to local chunk provider to allow for asynchronous calculation of chunk summaries as well as...
  7. Panserbjoern

    Tweaking Chunk Storage

    Hi all I hope you enjoyd chrismas! I have finally implemented the benchmarks for sparse arrays and made a comment on github: https://github.com/MovingBlocks/Terasology/pull/391#issuecomment-11792232 Greetings, Panserbjoern
  8. Panserbjoern

    Tweaking Chunk Storage

    Skaldarnar, Cervator To clarify: There are two kinds of compression regarding the chunks: When the world gets saved to disk the resulting binary representation of the chunks is compressed with a zip algorithm. That was already working and still is. The sparse arrays are a way to compress the...
  9. Panserbjoern

    Mapgeneration

    Hi Nym Traveel In that case i think, there wont be any problem. My changes only affect some internals of the Chunk class. I was thinking about stacking chunks on top of each other too. It should not be difficult to implement that with the current architecture. I have read through the...
  10. Panserbjoern

    Mapgeneration

    Hi Nym Traveel Esereja has pointed out, that you are working on "vertical chunks". What does that mean? Is there any code available? I am studying the code related to chunk generation, management and storage and i've implemented a simple mechanism for sparse chunks. Its simple and i thought...
  11. Panserbjoern

    Tweaking Chunk Storage

    Hi Esereja Can you tell me what vertical chunks are? Maybe you can post a link to a forum thread or something on GitHub?
  12. Panserbjoern

    Tweaking Chunk Storage

    Cervator edit: Moved to Core Projects. Might need a thread redo sometime to be more up to date, tons of changes since @Panserbjoern started with sparse chunks, now we have stacked chunks and so on too :-) Skaldarnar edit: Moved to incubator, added header Name: Chunk Storage Summary: Several...
  13. Panserbjoern

    Greetings

    Yes they did! Both of it! :D Thats the note:
  14. Panserbjoern

    Greetings

    Cervator, done! I was so deep in Terasology, i totally forgot... :D
  15. Panserbjoern

    Greetings

    Ok, i found it out myself :)
  16. Panserbjoern

    Greetings

    Hi Cervator Sorry for the late answer. I am currently chewing through the code for chunk generation, caching and storage, etc... To keep it simple for the moment, i am rewriting the implementation of TeraArray and TeraSmartArray. The goal is to write a sparse implementation of TeraArray and...
  17. Panserbjoern

    Greetings

    Cervator, whats about the sparse chunks? I've read the discussion about sparse arrays to store block-data. Is that still an issue? I did not find any code... Maybe i might take a look at sparse chunks? Greetings, Panserbjoern
  18. Panserbjoern

    Greetings

    By the way, Immortius, i used gradlew for the eclipse setup and it worked like a charm. Though i haven't yet tried to recompile any changes...
  19. Panserbjoern

    Greetings

    Hi Skaldarnar and Cervator and Immortius Thank you very much for your answers! I got it up and running now and i am digging through the code. I would like to contribute something to the project, unfortunately i am not very experienced in game development, though. Can you point out some...
  20. Panserbjoern

    Greetings

    Name: Manuel 'Panserbjoern' Brotz GitHub: https://github.com/mbrotz/Terasology Facebook: http://www.facebook.com/manu.brotz From: Switzerland, Zürich Skills / Tools: The usual web stuff, asp, php, pascal, java, linux Found via: c't magazin für computer technik (http://www.ct.de/)...
Top