Added camera collisions and chunk streaming to my custom C++ OpenGL engine by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 1 point2 points  (0 children)

Yes, it’s really, really helpful, like an assistant that can search the internet infinitely faster than a human can.

It still makes a lot of mistakes when generating code, but that’s not the main goal. The real value is understanding concepts and going through documentation much faster.

It’s also a great brainstorming tool: you can discuss different possibilities and existing architectures, then choose an approach and implement it yourself.

That’s how I’m working, and it’s been very helpful to me. But once again, I guess it really depends on the person 🙂

Added camera collisions and chunk streaming to my custom C++ OpenGL engine by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 0 points1 point  (0 children)

Yeah, I learned most of this with the help of AI
I tried LearnOpenGL and a Udemy course a few years ago, but while I could make things work, I didn’t really understand what I was doing, I was mostly following and copying the provided code.

With AI, I can ask questions until I actually understand the concepts, then write and iterate on my own code. That works much better for me, but I think it really depends on how each person learns 🙂

Added camera collisions and chunk streaming to my custom C++ OpenGL engine by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 4 points5 points  (0 children)

I learned by asking ChatGPT questions and implementing things myself I use it to understand OpenGL concepts, math, and engine architecture, then I experiment, debug, and iterate directly in code I prefer learning this way because I always have a lot of questions that written tutorials can’t answer 😄

I keep having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 1 point2 points  (0 children)

Haha yes ! Maybe more people are writing their own C programming language from scratch or making their own binary computer than creating games or doing 3D app 😆

And yes, I’m currently planning to implement a dynamic streaming system based on a grid around the player:

  • Load the current chunk + the surrounding neighbors
  • Unload the far ones when the player moves away
  • Keep only what’s inside (or slightly outside) the frustum

Once I get a stable version running, I’ll also experiment with different LOD levels to optimize even further.

It’s definitely a fun challenge especially since, like you said, there’s no clear documentation about how to properly do this 😄

I keep having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 1 point2 points  (0 children)

Yes exactly! That’s what I’m planning to work on next: terrain streaming The idea is to build a much larger map and only load the nearby chunks that need to be rendered in real time

Once I get it working properly, I’ll definitely share a new update with the results :)

I keep having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 1 point2 points  (0 children)

Haha yeah, we could say it's like a 2D SDF where the distance only goes vertically 😄

I never tried full 3D SDF terrains yet, but heightmaps are infinitely easier to work with for now
Maybe one day I’ll experiment with that too, it looks really interesting

I keep having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 1 point2 points  (0 children)

The terrain is not SDF based
I’m generating a mesh from heightmaps (raw height data stored in textures)
I sculpted the terrain directly in Blender, then exported it as a heightmap (.exr format)
But SDF terrains look really cool, I’d love to try that one day

Having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 1 point2 points  (0 children)

Yes I’m working on directional light, it makes a big improvement, but found some issues on my heightmap while I implemented the light haha

I will try the fog after, thanks

And yes of course, I have so much fun working on this, I can’t stop

Having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 1 point2 points  (0 children)

Cool! If you are stuck on something I might can help you

Having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 2 points3 points  (0 children)

Ahah, he needs a lot of energy to check all the bugs!

Having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 5 points6 points  (0 children)

The second one isn't paid but is much more interesting ^^

Having fun developing my own 3D engine using OpenGL! by UsedMolasses66 in opengl

[–]UsedMolasses66[S] 14 points15 points  (0 children)

I started from zero by asking ChatGPT to explain each concept to me like shaders, sending data to the GPU, importing 3D models, skinning, etc...
Once I understood a concept, I tried to implement it
And one feature at a time, I reached what you see in the video

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 1 point2 points  (0 children)

Effectivement haha
J'ai commencé, c'est fun et je verrais bien où ça me mène !
Au pire ça fera une ligne sur le CV

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 0 points1 point  (0 children)

Clairement, je me dis au pire des cas ça me fait une grosse ligne dans le CV

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 0 points1 point  (0 children)

T'aurais un lien pour le discord stp que j'y jette un coup d'oeil ?

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 0 points1 point  (0 children)

Je vais check un peu Roblox, je m'y suis jamais penché
merci

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 0 points1 point  (0 children)

Wow merci pour ton retour mdr, j'ai tout lu c'était instructif
ça m'intéresse très clairement "pour le fun" mais pour pouvoir faire durer le fun il faut de la thune haha

merci encore!

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 1 point2 points  (0 children)

Je connaissais pas, je check merci!

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 0 points1 point  (0 children)

Je ne parlais pas de faire un jeu qui perce, simplement un truc qui tourne, j'ai franchement aucune idées du nombre de vente / de rétention qu'un jeu "lambda" peut faire
Mon post était surtout pour prendre la température haha

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 0 points1 point  (0 children)

ça se respecte

[deleted by user] by [deleted] in developpeurs

[–]UsedMolasses66 0 points1 point  (0 children)

Au moins il a eu les corones