How do you update mesh of chunk?
How do you update mesh of chunk?
How did you do? Some optimization? Please any links by code. Many thanks.
Re: How do you update mesh of chunk?
Well, it's kind of complex at this point but you could start reading from these locations:
https://github.com/minetest/minetest/bl ... .cpp#L1587
https://github.com/minetest/minetest/bl ... ock_mesh.h
https://github.com/minetest/minetest/bl ... k_mesh.cpp
https://github.com/minetest/minetest/bl ... .cpp#L1587
https://github.com/minetest/minetest/bl ... ock_mesh.h
https://github.com/minetest/minetest/bl ... k_mesh.cpp
- Hybrid Dog
- Member
- Posts: 2828
- Joined: Thu Nov 01, 2012 12:46
- GitHub: HybridDog
Re: How do you update mesh of chunk?
l noticed loading mapchunks causes jerking, so it's not done in a separate thread, is it?
Who is online
Users browsing this forum: No registered users and 3 guests