@MSymetry There is additional perf overhead of rendering SDF stuff (particularly if I used the same setup as is used for world geometry), and as you said there are limitations like texturing. It's also easier to use existing pipelines.
I'm now rendering triangle meshes (for some objects) on top of the world (SDF) in my engine using this dead-simple approach:
- All meshes share the same vertex and index buffers for easy batching
- Using a standard set of vertex attributes, each in its own buffer (so ...
1/
- I do need to bind material textures per (instanced) draw because I'm not using bindless (WebGPU lacks it currently), but that's the only per-draw state change.
- All meshes are authored in Blender and exported to glTF, where textures are then compressed to BCn.
4/
Alright interns, we need to have some real talk here
I am tired of vibing on stream. I dont really like vibe coding unless its a tool i have no desire to build (how i manage things on my stream / how i write my youtube videos are great examples of things i would never build but i have). I dont like vibing the things i care about. I hate the code it generates, i hate the feeling of getting everything i ask for and nothing i want. I hate the subtle offness around vibe coded things. It is just driving me nuts. So for the next while i am going to be done vibing on stream.
I genuinely have been trying my hardest to make this work and i cannot quite put a finger on why i hate it, but i do. And i just feel so horribly guilty and wrong because i am not getting the results of "everyone else on twitter."
How am i, someone who prides themselves on making youtube videos that i think are actually good for people. To make videos that help people laugh at the silliness of tech or learn something new. But here i am not able to keep up with all these people claiming the sky is literally coming down. I just feel horrible and guilty about it.
Now i know the world is changing fast, and i want to be able to understand that change super well, be able to talk about it, be able to give really accurate opinions about it so for the last 3 months i have vibe coded an absurd amount of things. But now... i am just tired of it.
I dont want this any more. I want to be a tradcoder.
I dont know why i told everyone this, but i just have this growing sickness that is just eating me alive around vibing and i dont know how to express it.
You all are fired,
CEO ThePrimeagen
Ever since i started working on my personal project using Odin, I feel so slow when having to use Unity for my job. But its not even just the slow engine & compiling times, its also the fact that it pushes you to work with many abstraction layers i feel like
And btw, podcasts that are in various stages of release pipeline include:
- @mmalex Hardware from Scratch - live design of the tiniest game console
- @DelaneyGillilan on why JS sucks, but web itself doesn't (Datastar btw)
- @antovsky (one more Large Arrays of Things + joint Code Review of Anton's games from 2008)
- @miketuritzin on his SDF engine & upcoming game
- @filpizlo & @cmuratori on Fil-C & memory safety more broadly
- @zeuxcg on meshoptimizer (tons of cool awesome graphics info!!)
- @castano on his time at Nvidia, Thekla & Spark - realtime GPU texture codec (hats off!)
Since it's a lot the plan is to pick up the pace for couple of weeks and release two episodes weekly.
Are you ready?
I can't believe how freaking long this took, but finally: i have a small instanced renderer with a render graph running on mac, windows and linux with sdl3 and in the browser using
#odinlang and #wgpu
Next up: MSDF font rendering 😎
Learning about UTF8 strings is way deeper than i thought. Having to manually deal with runes vs characters etc. is something i never thought about prior to researching it to then implement myself
Currently reading the @odinlang book by @karl_zylinski and enjoying it so far. Especially the fact that switch statements expect all possible cases by default or it doesn't compile is such a small thing but one i would love to have in every language!
Having bought an e-ink tablet has been one of the best investments recently!
I can finally read and mark down the holy Game Engine Architecture book without any distractions!
A long long time ago, someone came up with the .csv file type which stands for "COMMA separated values" - then microsoft came along and just used semicolons instead. Thanks microsoft :)
So i basically just broke my brain for 3h straight on some recursion problem... A few stack overflows and a ton of breakpoints later, it finally works😮💨
Highly recommend @cmuratori talk at @BetterSoftwareC !
Working in Unity made me feel like I was forced into OOP, but this talk really made me think and realize I already encapsulated most stuff the correct way, not the OOP way :) but I will definitely keep an eye on it even more
While my initial impression of godot was super good and UE (with C++) mid - it flipped 180deg now where i really start to like "the ue way" and c++ while gdscript gives me flashbacks of js and python🥲
I know ppl hate on the liquid glass design - especially cause of the horrible readability... but still thought it would be a fun little challenge to try an recreate a very simple version of it in unity :)
Might work on it some more cause it was pretty fun!
That moment when you need to add functionality to your code-base and it just fits perfectly because you "overengineered" the systems months before and now it pays off bigtime 😮💨
Can't get enough of that feeling