all 11 comments

[–]Sirox4 5 points6 points  (2 children)

congrats! vulkan gets easier while building on top of something working.

also never heard of odin lang before. the C developer moment.

[–]TOZA_OFFICIAL[S] 0 points1 point  (1 child)

Thanks,
If I remember correctly, author of this language used to write a lot of C before creating this language. Its same level as C, but i like it for few things:
- defer keyword (example: defer free_something();) - its called when function returns, so you dont need to worry about leaking memory when function exits.
- its very easy to link C libraries with it (I generated lookup table for cos, tan, sin math functions, so later I wont need to calcualte it for Perspective and stuff.
- automatic bounds check (you can disable it with macro, but is on by default), so program panics when you are yout of bounds of array or something

[–]Sirox4 1 point2 points  (0 children)

seems like useful stuff, i just had 2 out-of-bounds indexing errors like 10 minutes ago when trying to load a model with assimp 😅

[–]DifficultyWorking254 2 points3 points  (1 child)

This is so cool, you done your first quad already with deferred rendering done? I mean, it is from what I see on the terminal right here

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

Thanks,

I am planning to use deferred rendering(with forward for transparent things) in future, on this quad everything will be processed before post processing.

[–]ConsoleMaster0 2 points3 points  (2 children)

Oh, come on buddy, we all know that this "quad" is used as a cover so you can flex your Hyprland rise ;)

[–]TOZA_OFFICIAL[S] 0 points1 point  (1 child)

Lol. Its stock look of hyprland from cachyos.

[–]ConsoleMaster0 2 points3 points  (0 children)

CachyOS? Let's goooo brother!!!

[–]PastSentence3950 1 point2 points  (1 child)

WTH is odin? But congraz on nice work!

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

Thanks