Results 1 to 10 of 34

Thread: Thyandyr's voxel engine

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Achieved:
    • TChunkManager per frame update (TChunks load, create, unload etc. few items per frame)
    • Each TChunk in separate VBO
    • Frustrum culling on Camera change (TChunk.InFrustrum = boolean). VBO stays in but does not get drawn if not in frustrum.
    • VBO freed on TChunk unload


    Managed to introduce annoying stutter effect on fast camera movements.

  2. #2
    I'm back from few weeks holiday. I have no idea what I am doing but somehow I manage to make some progress.

    Stutter is fixed, frustrum culling is working much better too (only on one plane, need to add 4 more.

  3. #3
    Quote Originally Posted by Thyandyr View Post
    ...frustrum culling is working much better too
    Now with 4 planes and distance is handled by other means. Nice job me!

  4. #4

  5. #5
    Nice progress there.

  6. #6
    Changed from keeping track of neighbouring chunks and accessing their data, to n+2^3 array that just keeps extra layer (redundant) of data around the real data. for chunk edge drawing and occlusion. Works much better.


  7. #7
    Will put this eventually to GitHub once it is decent enough and I have learned to use Github. I did start a project and made readme, but no code yet. Link in initial post.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •