Okay, drawing all six faces with optimized meshes, much better. Now I just need to clean my code up again, cause it's a little messy. XD
Notices by Angle (angle@anticapitalist.party), page 7
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:34 JST Angle -
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:33 JST Angle Yeah this bug is still here though. :/
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:32 JST Angle Anyway, now I just need to clean up the code some and then I'm going to work on block stacking - that is, having multiple different bits of block data in one voxel. So you can stack slabs, or have piles of stuff on a desk, or have a solid block with a crack in it and a layer of dirt on top of that, or the like.
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:31 JST Angle Though to start with, it's just gonna be the solid block modifiers, as I haven't programmed slabs or anything else yet. XD
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:30 JST Angle Admittedly, it would look a lot better if I had a better texture generation algorithm. Might revisit once I've got that. XD
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:30 JST Angle Huh. Do I want to switch over my chunks to tracking blocks by id's first though? Right now it's all java's object references, so I should be able to save space by assigning ints as id's and then looking those up when referenced... But that'd also make the code a bit slower, and I have no idea if it's necessary. Hmm. :/
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:29 JST Angle Anyway, for the moment I'm working on that lighting propagation algorithm. I figured out the bitwise manipulation required, and I wrote the algorithm, now I just need to actually integrate it into my code. :/
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:29 JST Angle Yeah I'm not gonna worry about this part yet, I think. Just gonna tackle block stacking for now.
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:28 JST Angle Alright, so I changed my mind about block stacking. Rather, I'm just gonna create a new kind of block as necessary, or use block entities, or something. And I'm gonna also track sides - so, if you make a house, and then paint the outside red, the paint is tracked separately from the blocks.
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:27 JST Angle Th first one also shows a lighting bug where things aren't updated properly when they get lit up, as well. :/
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:27 JST Angle I already started implementing this, but at some point I made it lag on startup. Shouldn't be too hard to fix, as I haven't actually added much new data, just changed it's structure, but I'm still trying to get the profiler to work.
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:26 JST Angle Oh, so a friend suggested I use KD Trees to store chunk data, instead of octrees. What do you all think about that? I'm not sure how well I could make it work - it sounds complicated. I should at least be able to hide all that complexity inside the chunks, though, so that's not to bad. :/
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:25 JST Angle Well, got the lighting update bug taken care of, and even more refactoring. Might push sky light propagation off till tomorrow though. :/
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:25 JST Angle Alright, got a basic implementation for sides going. Now I just need to make it less programmer arty...
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:24 JST Angle Better, but still plenty of room for improvement. XD
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:23 JST Angle See? Step up. XD
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:22 JST Angle Alright, got diagonal propagation implemented, but it's extremely laggy, and it causes my game to run out of memory and crash if I try and do all of the sky channels at once. XD
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:22 JST Angle Alright, I think this is good for now. I'll probably come back to it later. All the textures need more attention, really, but that can wait.
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:21 JST Angle Soo, now I think it's time to figure out block metadata, and maybe block entities? Not sure. :/
-
Angle (angle@anticapitalist.party)'s status on Friday, 13-Jan-2023 07:30:20 JST Angle Actually, maybe I should leave block data and entities until I actually know what I want to do with them. So, maybe I should focus on implementing stuff so I'd actually want to use metadata. I think for now, that would mean actually allowing interaction with the world - collision detection and block picking (Selecting the block the user is looking directly at), specifically.