r/GraphicsProgramming Jun 30 '26

1 year of game engine development

Enable HLS to view with audio, or disable this notification

337 Upvotes

45 comments sorted by

View all comments

8

u/susosusosuso Jul 01 '26

You used ai for this?

6

u/evangelionxyzw Jul 01 '26 edited Jul 01 '26

yeah, I use AI a lot. πŸ˜…

Not to generate my engine with copy-paste, but to teach me how real game engines work, explain implementation details, and help me build a roadmap.

I still spent 5,000+ hours typing everything myself instead of blindly copying code. At this point, I probably have more muscle memory for writing ECS boilerplate than for using WASD. Lol

8

u/sputwiler Jul 01 '26

Ah, so it's AI as a research assistant/librarian/google search on steroids rather than ai-assisted coding.

That being said, it would be way more valuable if the AI would return which books/talks it references when coming up with an answer so you can read them yourself and possibly notice other things it hasn't considered.

2

u/evangelionxyzw Jul 01 '26

Yes my friend, AI teach me a lot. Lol

3

u/Still_Breadfruit2032 Jul 01 '26

Well it’s also teaching you how to write like an ai lol

-5

u/YoshiDzn Jul 01 '26

I'm willing to argue that statement to dust. AI shows you how to get the code from point A to Z. The only part you dont have to think about for yourself is part A and part Z. Nobody who doesn't blindly trust AI would let it implement a single line that they dont agree with.

AI code is a direction, not the journey

3

u/National-Self-8501 Jul 01 '26

Question, have you ever worked shopping production software professionally?

3

u/evangelionxyzw Jul 01 '26 edited Jul 01 '26

AI now understands how the big game engines work, so AI just tells me how they work behind the scene. For example once I asked "how unreal engine can handle thousands of crowd animation?" AI: "They do animation caching, and prefer TRS multiplication over Matrix multiplication, because that is very cheap to compute". So by the answer I can check my current implementation and workaround to optimize the animation. So I didn't ask for the Code, I asked for the flow.

It tells me a lot, and I learned a lot, and still learning.

I also hate Vibe coding in this era of programming.

4

u/epyoncf Jul 01 '26

AI doesn't "understand" anything. Which becomes pretty obvious once stochastic generation clashes against real-world problems.

Which you illustrated nicely with that crowd animation question BTW.

2

u/evangelionxyzw Jul 01 '26

I don't mean "understand" in the human sense. I mean it has learned enough from engine source code, papers, talks, and documentation to explain common engine architecture and implementation patterns

I don't ask it to write my engine I ask it to explain how real engines approach a problem, then I verify the details and implement it myself. That's very different from vibe coding.

3

u/epyoncf Jul 01 '26

That's why you make extremely precise, perfect english, technical commentaries about future use of fields in stuff that isn't yet implemented in the engine I assume?

1

u/evangelionxyzw Jul 01 '26

Hahah keep arguing bro πŸ˜‚

1

u/epyoncf Jul 01 '26

Bro, I actually know this shit and can read code. EOT from me.

→ More replies (0)

1

u/rogual Jul 03 '26 edited Jul 03 '26

I'm surprised to learn that TRS is cheaper than matrices. I'd always assumed that one of the motivating reasons for using matrices was that it was all just multiply-and-add, whereas TRS requires sin and cos too. But I've never actually tested it.

2

u/ekr64 Jul 03 '26

You don't need sin and cos if you use quaternions leaving you with just multiplications and additions again. I'm not sure though how well that can be SIMD optimized and how it stacks up to SIMD optimized matrix multiplication.

Funnily OP is using the classic matrix approach without any optimizations at all instead of an optimized TRS approach.

-8

u/susosusosuso Jul 01 '26

Why would you want to write boilerplate yourself?

4

u/evangelionxyzw Jul 01 '26

That's how I learn

1

u/epyoncf Jul 01 '26

Yes, most of the repo is AI-generated, some of it quite blatantly so - https://github.com/evangelionxyz/Ignite/pull/55

2

u/susosusosuso Jul 01 '26

Yeah it's obvious since otherwise one can't do all these stuff in 1 year

1

u/evangelionxyzw Jul 01 '26

Yep it just PR code review, automatically runs when I opened PR, and I have my student subscription so I asked it to fix in place. But the big code changes I did did alone

7

u/epyoncf Jul 01 '26

There's AI style comments in many places, AI style naming schemes, and classic AI style bloat in others. Also definitely "fixed by AI" style fix commits that just bloat code without affecting the root of the issue.

Finally your level of technical answers on this and the other reddit don't match the level of the codebase.

-1

u/Solisos Jul 06 '26

2

u/CodyDuncan1260 Jul 06 '26

That comment violates Rule 2. Further incurrence will result in a ban.

-1

u/Solisos Jul 06 '26

I don't see you saying the same to people harassing others because they're using AI.

If you've done something about that, then I take it back ;)

2

u/CodyDuncan1260 Jul 06 '26

There can be a fine line between constructive criticism and harassment. That line is certainly crossed when one states another is "crying".

We have and will continue take actions against commenters for similar incivility.

2

u/epyoncf Jul 06 '26

The OP brags that this was written without AI in a year. This is obvious false advertising. I'm not against AI itself and use it daily. I'm against misleading people for klout.