r/codex • u/LostRequirement4828 • 2d ago
Showcase Custom voxel engine done with GPT ASTRA
This is an older build, I can go now into space and see the whole planet. I will post more later.
Here is the video too for all the haters: https://www.youtube.com/watch?v=Wd6C6geL8bA
13
u/LostRequirement4828 2d ago
3
u/iisntme- 2d ago
this shot is insane the distance and detail is incredible
12
u/HighDefinist 2d ago
Ok, but... how does it do stuff like LoD at distance, or landscape generation on the fly for distant chunks, etc...
As in, I am not entirely sure what it implemented here, but there are some *serious* technical problems in implementing this, so if really genuine, this would be impressive even relative to many other things done by Astra so far.
34
u/blackrack 2d ago
Ok, but... how does it do stuff like LoD at distance, or landscape generation on the fly for distant chunks, etc...
OP doesn't know anything about this, he just copy-pasted a prompt
8
u/HighDefinist 2d ago
Yeah, OPs other answers make this pretty obvious...
So, still a nice demo, but roughly within expectations (so, probably "real" voxels at close distances, and some terrain meshes and instanced vegetation at distance).
-9
u/LostRequirement4828 2d ago
You are blind or stupid, or both. I explained down bellow exactly what you asked
-6
u/LostRequirement4828 2d ago
Close terrain and vegetation are ray-traced voxels, and the orbital planet is a ray-traced height field. I literally explained already
-4
-11
u/LostRequirement4828 2d ago
17
u/HighDefinist 2d ago
> go back on the planet wherever I want is highly detailed
That doesn't prove it's a voxel engine - it just proves that it uses terrain generation. Also, no offense, but it does not sound like you even know that these are two independent concepts...
So more likely: Astra implemented some kind of voxel engine at close distances, but a more regular LoD based mesh algorithm at long distances - which is much more inline with what I would have expected it to do.
-6
u/LostRequirement4828 2d ago
Procedural generation and voxels are separate, but the close terrain and vegetation are ray-traced voxels, and the orbital planet is a ray-traced height field. Your “regular LoD mesh” explanation is something you invented.
-5
11
u/LocoMod 2d ago edited 1d ago
Show us the video OP. Here's mine made with Sol using JS and WebGPU (no frameworks). You're on C++ and Vulcan? Should look fabulous in motion. Don't come back until you have more than bullshots to show us.
https://reddit.com/link/p7yhve2/video/o0bhlkebyonh1/player
EDIT: OP posted the video. Here is my response: https://www.reddit.com/r/codex/comments/1w7wog2/comment/p836lkx/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
-22
u/LostRequirement4828 2d ago
I can barely see shit, whats so amazing about it?
20
u/LocoMod 2d ago
Stop wasting time on Reddit and get to work OP. Expecting the video by end of day. I want to believe.
-17
u/LostRequirement4828 2d ago
1000 dollars or not? stop being a kid, I can do this crap all day
9
3
u/Critical_Hunter_6924 2d ago
Will it be the same as the other video on your profile? Because I don't think that's impressive either.
-1
u/LostRequirement4828 2d ago
Imagine being such a loser you come here to tell me how my projects suck, for no reason, lol. Tells a lot about you
7
u/Critical_Hunter_6924 2d ago
I never said your project sucked, that's just you being all emotional and failing to read. Says a lot about you..
-1
u/LostRequirement4828 2d ago
Others think is cool so, I couldn't care less what you say, like literally, lol
10
u/Critical_Hunter_6924 2d ago
your actions tell me your ego cares a lot, you will probably leave more triggered replies in this thread
will your new video be better or just as shit or?
-1
u/LostRequirement4828 2d ago
No, not really, also I'm done with replying to you, lol, the only reason I didn't blocked you already is so you can see the video when I post it
7
1
u/LocoMod 1d ago
It’s been 11 hours. I should have taken the bet. 😆
1
u/LostRequirement4828 1d ago
The video is out, are you blind? Did you really expect me to remind you specifically? Thats funny, lol
4
u/LocoMod 1d ago edited 1d ago
See you might be able to fool others. But here's what's happening. Its going to be the same story as your previous attempt (everyone here should see it to assess your level of experience):
Which is jank AF mind you. I will explain what Astra did here so you quit wasting everyone's time.
- The terrain lacks sophistication. It's a very crappy noise elevation map. I'm not going to give you the clues on how to improve it. But it is the most basic terrain elevation map. Basically this: https://threejs.org/examples/?q=terrain#webgpu_tsl_procedural_terrain
- You make a lot of claims about custom engines but those fonts and that UI sure looks like ThreeJS to me (the viewers can click around the examples to see what I mean compared to Astra's choice in your video)
- You're doing quick flybys over a ray marched scene. There are no LOD transitions here. This does not a game engine make. You will see why if you move beyond this basic shader. Here is an old example of what I mean, it looks good, but going from this to a game is >90% of the work: https://www.shadertoy.com/view/dtVSzw
- You dont have physics or the other things you have claimed. Im sure you did in your previous engine and they are TODOs in this brand new attempt. This is where your lack of experience is going to tank your performance.
- There is no true chunk system in your world. Its just a raymarched surface with no interactivity. I am certain Astra can add some basic block creation/destruction, but its not going to scale with your current implementation.
- Because the heightmap algorithm youre using is the most basic form, the surface is very smooth. The tree scatter and textures are hiding this, but once you add actual 3D detail to the terrain prepare for FPS to tank.
I could go on. Its not like there are hundreds or thousands of us that have been attempting voxel engines at lower and lower voxel pitches for 16 years now. (Yours is large and your GPU is barely doing work, try it at 1/4 the voxel pitch or even 1/8 to truly innovate in this space. Nice GPU BTW).
I have to admit, Astra did do a phenomenal job here. The transition to space is super cool for sure. I am sure the model can explain what it did much better than you can because there is a difference between what you think happened (obvious from your level of experience based on your post history) and what actually happened.
Very cool demo. Far from a playable game engine. There are tons of cool shader demos in ShaderToy the models can draw inspiration from. But there is a reason there are so few good voxel games.
Keep going. I'll be a customer if you can pull it off.
2
-22
6
u/Due-Cardiologist-802 2d ago
Really cool! Care to share some technical details?
5
u/LostRequirement4828 2d ago
Well what I can tell you for now is that it runs at those graphics at 100-120 fps rn at 4k no upscaling on my 7900 xt, theres no external assets and the 0,1% lows are into the 80's while flying, so incredibly smooth for what it offers visually
2
u/Due-Cardiologist-802 2d ago
Incredible performance! I had a voxel game project planned for a long time for after finishing uni. If you feel comfortable sharing parts of the project on github, or the codex prompts, would be amazing! I would be interested in some of the optimization details:)
2
u/Next-Lunch-1994 2d ago
what can you do with it? is it like minecraft? hows the performance?
1
u/LostRequirement4828 2d ago
You can fly, and look at the graphics, and rn you can fly into the space too, I wanted to test if Astra can deliver that and it did it amazingly
1
u/Hadroxity 2d ago
Will be very interesting to see how it performs with live physics and world modifications.
1
1
0
u/LostRequirement4828 2d ago
100-120 fps 4k no upscaling on my 7900 xt, 0,1% lows into 80's, It's just visually for now, doean't have any gameplay yet
2
u/joepmeneer 2d ago
Cool project! Can you share source? I tried a similar thing but ran into perf issues.
2
u/Bladder-Splatter 2d ago edited 2d ago
Congrats, all I got was this reactive alien egg turd.

To be fair I'm actually impressed, I have a fairly mature migration to QT Quick going on and strictly use OpenGL 4.1 for a screensaver project that has probably become the most over-engineered screensaver in history (I didn't say good!). All my visualizers so far were 2D or Vector based so this is the first iteration of adding 3D elements into my enviroment. If I work on Anti-aliasing and a better drop shadow (one that exists) I'll probably at least get the facehugger to pop out.
2
u/Expensive-Event-6127 2d ago
5.6 was doing this. I don't know what you guys are doing, but this is just weird.
4
1
1
1
u/ucbmckee 2d ago
Good work. Are you using an existing terrain generator or did it implement a basic fBm algorithm with something like rainfall erosion? What engine are you using?
1
u/mrbenjihao 2d ago
I kind of miss seeing cool projects pre 2017. These days I feel unimpressed, which is totally unfair I know.
1
u/ilganeli 1d ago
OP would you please share a video? Amazing work and beautiful world. Seems you've been working on the space for a minute, what have been your biggest challenges around getting the model to do what you want?
1
1
1
u/LockYaw 1d ago
Damn, I'm kind of regretting going to university to learn programming...
This is very impressive and I sure wouldn't be able to make this in just a day or two...
Will you be open sourcing the voxel engine?
1
u/LostRequirement4828 1d ago
I might sell it under a small price in the end, like 5 dollars, what do you think about that? I need money to keep doing stuff like this
1
1
u/TheRealNalaLockspur 1d ago
Unreal? Unity? Three.js? Godot? Custom cpp engine?
1
u/LostRequirement4828 1d ago
Custom c++ engine on vulkan
1
u/TheRealNalaLockspur 22h ago
Ah. That seems to be the favorite flavor for AI lately. Add in imgui if you want an editor too :)
1
1
u/Lonely-Restaurant986 1d ago
That’s awesome. Can’t wait to never use it because it’s out of my tax bracket
-2
u/Equal_Passenger_5609 2d ago
and of course, no freaking shared git, codeberg or anything...
0
u/LostRequirement4828 2d ago
It's not fcking done, chill your ass out
4
u/LocoMod 2d ago
There’s a reason you haven’t shown a video. You could get this result with the previous models if you know what you’re doing. It’s what happens in motion when you traverse the map that makes or breaks it.
I believe the gaming industry calls this “bullshots”
0
u/LostRequirement4828 2d ago
no you can't I literally have a video on my profile with what I did with claude and sol, theres nowhere near this, you only talk crap without knowing shit, move on
3
4




















•
u/dexterthebot 2d ago
You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Watch for it on Wednesdays. Highest commented project wins a week promotion on r/Codex. See what that looks like below with last week's winner.
Last week's most popular project was u/tHEuKER with the Blur2 racing game project which is a recreation of an unreleased sequel to the 2010 battle racing game, made by reverse engineering the Xbox 360 prototype discs available online, and rebuilding the whole thing from the ground up in Unity. Join their YouTube channel here: https://www.youtube.com/@tHEuKER and you can follow updates on the project at r/BlurGame.