Mattia Metry

173 posts

Mattia Metry banner
Mattia Metry

Mattia Metry

@MSymetry

Dev; Tech Nerd; Focusing on 3D real-time rendering and gamedev;

Basel, Switzerland 가입일 Mart 2021
411 팔로잉101 팔로워
Mattia Metry
Mattia Metry@MSymetry·
@miketuritzin I see. And so i assume you just render the mesh-based stuff after the sdf scene and compose them using the depth buffer?
English
1
0
0
17
Mike Turitzin
Mike Turitzin@miketuritzin·
@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.
English
1
0
1
17
Mike Turitzin
Mike Turitzin@miketuritzin·
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/
English
2
1
95
9.4K
Mattia Metry
Mattia Metry@MSymetry·
@miketuritzin What is the reason you feel the need to have mesh-based assets? Are SDF CSGs limiting in some way? Or is it mainly texturing?
English
1
0
0
15
Mike Turitzin
Mike Turitzin@miketuritzin·
- 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/
English
3
0
8
1.2K
Mattia Metry 리트윗함
ThePrimeagen
ThePrimeagen@ThePrimeagen·
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
English
523
427
8.5K
639.9K
Mattia Metry
Mattia Metry@MSymetry·
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
English
0
0
0
19
Mattia Metry 리트윗함
Łukasz | Wookash Podcast
Łukasz | Wookash Podcast@wookash_podcast·
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?
English
7
7
134
7.3K
Mattia Metry
Mattia Metry@MSymetry·
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 😎
English
0
0
0
112
Mattia Metry
Mattia Metry@MSymetry·
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
English
0
0
0
21
Mattia Metry
Mattia Metry@MSymetry·
Unions also seem like a very nice and well thought through concept!
English
0
0
0
16
Mattia Metry
Mattia Metry@MSymetry·
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!
English
1
0
0
46
Mattia Metry
Mattia Metry@MSymetry·
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!
English
0
0
1
27
Mattia Metry
Mattia Metry@MSymetry·
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 :)
English
1
0
2
32
Mattia Metry
Mattia Metry@MSymetry·
That feeling when your code just starts to fall into place - seemingly emerging and shaping itself.... This is why i code!
English
0
0
0
34
Mattia Metry
Mattia Metry@MSymetry·
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😮‍💨
English
0
0
0
26
Mattia Metry
Mattia Metry@MSymetry·
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
English
0
0
1
31
Mattia Metry
Mattia Metry@MSymetry·
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🥲
English
0
0
0
38
Mattia Metry
Mattia Metry@MSymetry·
On holiday for 3 days now and im already playing around in godot & unreal a bit just to get a feel for those different engines😅
English
1
0
0
39
Mattia Metry
Mattia Metry@MSymetry·
Here's a short video with motion - each button has different blur and refraction Adding interactions might be a fun next step🤔
English
0
0
1
45
Mattia Metry
Mattia Metry@MSymetry·
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!
Mattia Metry tweet media
English
1
0
1
102
Mattia Metry
Mattia Metry@MSymetry·
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
English
0
0
0
32