A while ago ChatGPT and I made a basic wireframe 3D engine. By adding @AqeeAqee 's triangle filler now you can fill in sides (without sorting )
So, here I’m just going to play around and make some 3D games and models.
The first thing I’m going to show you is a 3D tennis court! I am going to make this into a game if I can.
if you flip it upside down, it will look weird. this is because I haven’t done any depth sorting code so all of the lines and triangles draw in the same order
It reminds me of one of those old-timey wooden mazes…
Woah awesome! Thats so cool!
This is very impressive! I’m looking forward to any future developments on this topic
I’ve done some more work, and with some help by ChatGPT, I’ve implemented the painter’s algorithm! now there is a basic form of sorting.
Okay, now this is really cool!
I have created an Arwing from Starfox! hopefully sometime I can finish my starfox game and make it in real 3D.
hold A and move the arrow keys to free rotate
there can be a lot of z-fighting with some models, but I tried to work around it in this one.
in case you didn’t know what z-fighting is I’ll explain:
The painter’s algorithm gets the average depth of each triangle using it’s 3 vertices and then draws the triangles with the most depth first, and then the ones closer to the viewer last. Z - fighting as far as I can tell is when the average depth of a triangle behind another is higher than the one that is supposed to be in front. This usually happens with long, skinny triangles. But there are ways that you can get rid of it making small adjustments to your model.
also, If anyone is wondering how to make your own model, all you have to do is edit the 3d cube with sorting project, set your desired amount of vertices to the positions you want them to be in, (try to use multiplications and divisions of the “size” variable instead of integers so it will look the same when the size is changed) find the triangles array thing. each triangle needs 3 vertices and one color so change the vertices in your desired amount of triangles and choose a color. now, you are done! but it takes a whole lot more to create a 3D game!
Imagine the possibilities if you merged this with @Kiwiphoenix364’s spatial projection
Can you make a basic project that I can add on to because I want to make something made up of a bunch of small cubes
could you give some more information? i’m not sure I understand.
Just want to make a mini skyblock island
could you make some sort of 3d Mario land type game made of cubes or just anything as a 3d platformer engine
sorry everyone, I will not accept requests until I am done with my game jam game
A sneak peak of my game jam submission!
It has taken me up until today to finish this model. (I really need to finish my obj to java converter…)
Woah, I wonder if you could make a 3D platformer with this stuff! I might ask ChatGPT later…
here is a higher resolution one, it is slower and will have more glitches, also, the animations are less noticeable, but you can see the model better
I’ve tried this before, but it seems like it is not really in ChatGPT’s capabilities. I am just going to code this game by myself this time. I’m thinking of calling it: Escape From the Huge Disgusting Dinosaur Bugs 3D
The dinosaur looks suspiciously like Kermit the frog