this post was submitted on 26 Aug 2023
259 points (97.1% liked)

Programmer Humor

19149 readers
1246 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
all 15 comments
sorted by: hot top controversial new old
[–] [email protected] 20 points 1 year ago (1 children)

Making your own engine is worthwhile learning experience. The same as trying to recreate any of the foundational tools that you use. Might not be the fastest or best way to make a game but a good way to make yourself a better developer.

[–] [email protected] 12 points 1 year ago (1 children)

Not the fastest

This is my 4th Vulkan related "project" and 2nd attempt at making something other than a glorified tutorial workspace in 6 years, and it took me 4 weeks to draw this stuff with minimal technical debt.

I could just use an existing game engine, but what's the fun in not manually sorting all draw commands by mesh>pipeline>material and hunting synchronization hazards by just looking at funny glyphs for extended periods of time?

[–] WiildFiire 7 points 1 year ago (3 children)
[–] [email protected] 3 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/Z_1vfTkBq-k?si=NpJuy9WU7vxkeb36

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Thank you! I haven't laughed that hard in a year or more. My sides hurt.

[–] [email protected] 2 points 1 year ago

Truly what inspired me to fight against Vulkan's complexity

[–] dylanTheDeveloper 2 points 11 months ago (1 children)

Now do a camera that can be controlled

[–] [email protected] 2 points 11 months ago (1 children)

Done, that wasn't the hard part - after that I spent a few days on normal mapping and passable light reflections

[–] dylanTheDeveloper 2 points 11 months ago (2 children)

What kind of method you gonna use for reflections?

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

For reflected objects none, that's too much effort - this thing only reflects light sources.

Proper reflections require either too much effort, or me being smarter than I actually am.

(Reflecting light sources is as easy as doing some tangent-space wizardry and a few dot products)

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

Nobody asked, but whatever:

[–] dylanTheDeveloper 2 points 11 months ago
[–] psycho_driver 0 points 1 year ago

Another day, another dream fulfilled.