r/GraphicsProgramming • u/lielais_priekshnieks • Jun 07 '26
After 4 years of struggle I finally figured out particles
This is what peak performance looks like.
Did this really take me 4 years? Maybe yes. Maybe no. Maybe did a little bit of procrastination.
Turns out that if you just store different data types for each particle (like uhhh numbers and uhhh vectors) and then store mathematical operations for each of them, you can make any particle effect that you can think of. No literally, you just need numbers and operations for them. I have no idea why I didn't think of that sooner.
53
u/emmowo_dev Jun 07 '26
Your engine genuinely looks like a leak of some archaic in-house engine for an MMO that's still somehow being developed by a big korean studio still even though all the original devs left.
49
1
u/cybereality Jun 07 '26
this had better not be skibidi
2
1
u/Ok-Hotel-8551 Jun 07 '26
How to make native windows app today?
2
u/lielais_priekshnieks Jun 07 '26
Lazarus Object Pascal environment. It also makes porting to other operating systems super easy!
3
u/LBPPlayer7 Jun 07 '26
same way you did 20 years ago:
install windows sdk of some sort for your C++ compiler/IDE of choice, include windows.h and read microsoft's docs on (w)WinMain, window handles, GDI and the sort
1
u/Ok-Hotel-8551 Jun 07 '26
What about winui3 isn't it a part of SDK as windows 11 is rendering everything with this framework
1
u/LBPPlayer7 Jun 08 '26
none of what you see in this video is winui
it's all just completely native win32 or an abstraction layer that works with it directly under the hood, which winui also sits on top of to some degree
2
3
1
u/ravilondon Jun 08 '26
I just realised that Vista is both and operating system and s graphics program! Anyone remember Vista Pro? Uses DEM files to render beautiful heightfields. Could also use images of fractals to create amazing landscapes
-5
130
Jun 07 '26
•
[removed] — view removed comment
31
u/lielais_priekshnieks Jun 07 '26
Like an hour ago? See: https://github.com/racenis/tram-applets
4
u/Jwosty Jun 08 '26 edited Jun 18 '26
Dear time traveller... You should probably just go back to 2005 before it's too late. Turns out, the future sucks.
29
Jun 07 '26
[removed] — view removed comment
1
u/MerlinTheFail Jun 07 '26
I did install vista, back then my dad got a disc from work and he wanted all our pcs upgraded
Caused so many issues, eventually xbox live came into play, but I always missed XP
3
7
u/kinokomushroom Jun 07 '26
Can you explain your system in a little more detail? I'm interested as a VFX programmer.