#💬 lili2ʹs Feedback
1 messages · Page 1 of 1 (latest)
Ain't the top of my priorities rn lmao, but I'll get around to it eventually
Tysm :)
I never learned how to do greedy meshing but dang this looks complicated
In my regular terrain generator I use a mesh that has is back side invisible perhaps this will cut down some triangle Roblos still renders even if it’s not seen, also btw what or any docs/tutorials/references did you use
I could drop the psuedo code if you want, though you'd have to wait ~6 hours cus I'm in bed rn.
https://devforum.roblox.com/t/how-to-make-a-greedy-mesher/474436
https://devforum.roblox.com/t/consume-everything-how-greedy-meshing-works/452717
This post will show you how to make a 2D(easily extendable to 3D) greedy mesher for all your voxel optimization needs(i would not recommend visible faces only for this as it runs slower than all in my testing). So let’s start by making a heightmap. But inside of that we will also make a table of whether or not it has been visited before(you’ll s...
Hey! I initially made this as a response to a DM I got asking how my greedy mesher algorithm for Blox works. Greedy meshing is a really useful concept when working with voxels, especially in Roblox where large numbers of parts can cause a lot of lag. The idea is to combine adjacent blocks with each other, to reduce the part count while visually...
I’m also in bed rn lmao
These references contain all the info you need, however it might be a bit complicated to implement it
Oh haha
No shit bro
Hollow cube?
Like merge an array of parts into one?
What do you mean by a hollow cube?
With greedy meshing you combine all of parts of the same "type" into one larger part
I’ve done something like that but not exactly
So basically the same thing
So your gonna check if the part face can be seen (4 points) every frame? On every part? 
Not every frame, when it's meshed
You mean greedy meshed
No need to not render below surface level, greedy meshing is already more then enough
Eh same thing
Whoa that’s a lot of extra triangles

Anyways ples gib high level diagram of your voxel engine (what ever that means)
Yep, exactly
Hmm idk about selling my voxel engine, would have to be a large chunk of money lmao.
I might do a forum post on a guide about how to make your own
In the morning dw
I know how greedy meshing “expands“ the thing I don’t get is how do I code it in “moving” 
It’s 10 49 pm rn lol
Damn
Hmm u reckon if I could get scripter 3 if I added some more features to this
I mean I see this as already s3
Oh damn
What features should I add
I'm kinda stuck now
The lod stuff is sick.
I was originally using parallel lua when I was doing like static world generation, but when I changed it to render chunks around the camera I couldn't figure out a way.
Currently I'm using coroutines, which I dont really have any issues with
Fun fact: sleeping helps with writing good code, tried and tested
DUUUUUDE THAT IS AWSOME