Not drawing if six solid neighbours

dextrus
New member
 
Posts: 3
Joined: Wed Nov 14, 2012 18:20

Not drawing if six solid neighbours

by dextrus » Sat Nov 17, 2012 22:25

I've been profiling the game on the Raspberry Pi (running at about 10fps if there are no blocks coming in).

Would I be correct in assuming that all solid nodes in a block are drawn? I don't understand the structures enough yet (using a text editor, atm) so I can't see how the nodes and the blockmesh are connected, but I can see that the nodes are drawn in clientmap.cpp. What I want to do is not send for drawing, nodes that have neighbours on each side, and only update their status if a neighbouring block is destroyed.

I also read somewhere (but I've forgotten) that there was an optimisation that sorted block meshes based on texture? I'd love to have a look at that too.

Can anyone with more knowledge than I point me in the right direction?

/Dextrus
 

Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 6 guests

cron