@slembcke@mastodon.gamedev.place
@slembcke@mastodon.gamedev.place avatar

slembcke

@slembcke@mastodon.gamedev.place

Open source he/him, making Veridian Expanse (https://fosstodon.org/@vexpanse). I made the Chipmunk2D physics engine, and some other fun libraries. By day, I do a lot of game adjacent work like therapeutic VR, real time drone mapping, and math for heavy machinery.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

gfxstrand, to random
@gfxstrand@mastodon.gamedev.place avatar

I just love it when someone feels the need to explain to me how the Mesa Vulkan runtime and window system code works as if I didn't write 90% of it...

Gonna explain NIR next? I'd love to learn more about that!

slembcke,
@slembcke@mastodon.gamedev.place avatar

@gfxstrand First the engineers in the game engine send messages to the API using morse code. The plumbers take the messages, and put them into the pipelines to pump them to the trucks. The drivers transport the trucks to the knights in armor (sometimes called hardwear). Finally they are pressed through a screen to chop them up into little squares called pixels. How did I do?

slembcke, to random
@slembcke@mastodon.gamedev.place avatar

Uff... Years later I still often have no idea how you are supposed to build simple bits of software on Windows. I needed to build a couple of utilities static linked against libpng. Spent a couple hours banging my head against it. Tried finding prebuilt binares for libpng that provided static libs, tried building it myself but it refused find the zlib I built... Gave up and just cross-compiled them using mingw on Linux in a couple minutes. 🀷 Bah!

slembcke,
@slembcke@mastodon.gamedev.place avatar

@Doomed_Daniel Sadly no, I need to work with indexed color PNGs specifically. Converting to RGB destroys them, and libPNG is the only lib I've ever seen that can work with them.

jonikorpi, to random
@jonikorpi@mastodon.gamedev.place avatar

Me: β€œRight, I have a multiplayer backend, but need to replace it with a single-player one. Obviously it’s gonna be simpler and easier to make, so shouldn’t take long. 2 days tops?”

Me today, 8 days later: β€œffffffffffffffff”

slembcke,
@slembcke@mastodon.gamedev.place avatar

@jonikorpi @lisyarus I dunno, I’m enjoying my own half-arsed ECS. There isn’t much to it, (maybe 200 sloc?) but I don’t feel like I need to use it for everything either.

TomF, to random
@TomF@mastodon.gamedev.place avatar

I know it sounds odd for a cutting-edge person like me, but my personal home PC was so old it didn't even have an SSD - not even a small one. And I really noticed this in game load times. They didn't just get bad, they got ATROCIOUS. Everything else was fine - even a potato CPU and GPU can run new games, but the load times are AGONISING.

slembcke,
@slembcke@mastodon.gamedev.place avatar

@aras @TomF @bnut Drives me nuts that you can’t just disable the β€œreal-time-protection” part. I’m unconvinced it does anything useful for all the overhead it has during builds.

jonikorpi, to random
@jonikorpi@mastodon.gamedev.place avatar

Every year I try a β€œbetter” task management system, and eventually end up limping back to plaintext markdown files. Hello again today.txt, devlog.txt, and design.txt.

slembcke,
@slembcke@mastodon.gamedev.place avatar

@jonikorpi Heh, I was just about to say we are trying something new called Notion. I expect it to last 6 months… >_>

slembcke,
@slembcke@mastodon.gamedev.place avatar

@jonikorpi Weird/related... I was about to ask "When did Notion turn their search box into a frustratingly slow AI prompt", but I think I'm being A/B tested as it only happens on my one computer...

demofox, to random
@demofox@mastodon.gamedev.place avatar

Is there a command line way in windows to copy a file only if the destination file is different (bytewise comparison) than the source file?

I'm trying to not change the timestamp on files which aren't changed by a copy operation to minimize code build times.

slembcke,
@slembcke@mastodon.gamedev.place avatar

@demofox CMake has a subcommand for that on the chance this is for a project using CMake already.

slembcke, to random
@slembcke@mastodon.gamedev.place avatar
jonikorpi, to random
@jonikorpi@mastodon.gamedev.place avatar

Over 300 posts on my timeline in 12 hours. For me I think Mastodon’s now busier than Twitter ever was.

slembcke,
@slembcke@mastodon.gamedev.place avatar

@jonikorpi Same.

sol_hsa, to random
@sol_hsa@mastodon.online avatar

So I'm inserting 50 million (precalculated) primes to <unordered_set>.

Takes 21.6 seconds.

I replaced the hash function with a trivial one, drops time to 7.8s.

Replaced allocator with a stack allocator, down to 3.6 seconds.

That's still a pretty long time. Ideas?

slembcke,
@slembcke@mastodon.gamedev.place avatar

@sol_hsa How often do you search? Assuming the primes are stored in order can you just binary search them in the original array instead?

slembcke,
@slembcke@mastodon.gamedev.place avatar

@demofox @castano @sol_hsa Wait... is the vertical on that graph time to search? Does it actually get faster for larger n in that testcaseβ€½ (edit: Ooooh, it's all the numbers from 1:n, that's less surprising I guess.)

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

Trying out a bit softer outlines, also the outline depth threshold increases with distance to the camera so that a distant forest doesn't turn into a single huge outline mess

slembcke,
@slembcke@mastodon.gamedev.place avatar

@lisyarus Nice! This already looks like a lovely style to build on.

pikuma, to random
@pikuma@mastodon.gamedev.place avatar

Happy new year, everyone! ❀️

2023 started off a bit bumpy with my NES lectures not getting the visibility I was hoping for. It's now one of the least enrolled courses of the school and it made me question all the other retro-programming ideas I have in mind. Bummer. πŸ˜”

But the arrival of a perfect baby boy put everything into perspective and that alone turned the entire year around! πŸΌπŸ‘Ά

Yay! πŸ₯‚πŸ˜

Super Mario Happy New Year

slembcke,
@slembcke@mastodon.gamedev.place avatar

@pikuma That’s too bad about the NES course. When I learned that a few years ago it really reinvigorated my love for programming. Congrats on the parenthood though!

lorenschmidt, to random
@lorenschmidt@genart.social avatar

Octavia, looking out at the snow

slembcke,
@slembcke@mastodon.gamedev.place avatar

@lorenschmidt Tigger the fur-ocious winter hunter.

demofox, to random
@demofox@mastodon.gamedev.place avatar

I am becoming an optimal transport person. All sorts of problems are reforming in my head as optimal transport problems.
The accessibility of sliced optimal transport is what's really done it for me. A super simple algorithm that unlocks the world of OT.
It also helps that it is essentially a generalization of blue noise that encompasses both sample points and noise textures.
It's good stuff.

slembcke,
@slembcke@mastodon.gamedev.place avatar

@demofox (a decade from now) "My predecessor's plan to put a railroad through every home didn't fix the transportation problem, and really only ended in a predictable disaster. If elected president, I will provide freshly sliced, optimal transport and clean blue noise for every citizen!" This message was approved by the @demofox for president campaign.

demofox, to random
@demofox@mastodon.gamedev.place avatar

Heat is molecular vibration?
Measure temperature in dB, cowards.

slembcke,
@slembcke@mastodon.gamedev.place avatar

@demofox Phonons! Virtual particle for vibrating things.

saint11, to random
@saint11@mastodon.gamedev.place avatar

Every now and then I want to make a procedural image or PDF, like cards for game prototyping, grid papers, etc. Is there a good and modern library for drawing that? (Ideally c# but I'm up for anything with an easy setup)

slembcke,
@slembcke@mastodon.gamedev.place avatar

@saint11 Sounds like you want SVG maybe? Maybe InkScape or such will let you name certain elements so you can mix and match editing things for templates, and then inserting other shapes or text within them from code.

lorenschmidt, to random
@lorenschmidt@genart.social avatar

i soldered?!

slembcke,
@slembcke@mastodon.gamedev.place avatar

@lorenschmidt I assume the interrobang means it was your first time? That looks great in that case! My first attempts were blobby dissasters before I figured out what flux was for. >_<

badlogic, to random
@badlogic@mastodon.gamedev.place avatar

How Diabloe II's perspective mode worked. Beautiful.

https://simonschreibt.de/gat/dont-starve-diablo-parallax-7/

slembcke,
@slembcke@mastodon.gamedev.place avatar

@badlogic Ooh. I wrote an article about 2D perspective in 3D engines a few years ago for verdant skies. https://www.gamedeveloper.com/programming/adding-some-perspective-to-your-unity-2d-game-

slembcke, to random
@slembcke@mastodon.gamedev.place avatar

Happy 19th birthday Tigger! First he slept in, then began his usual morning routine. Eat breakfast, beg to go out on the deck to groom himself, beg to go out on the porch to sun himself, sniff the bush where that rabbit lives, then finally try to eat grass and get brought back in. A busy morning.

image/jpeg
image/jpeg
image/jpeg

slembcke,
@slembcke@mastodon.gamedev.place avatar

@Doomed_Daniel You know... I was just about to make a joke about how you must be a fan since he's basically your profile picture. That was the exact moment when I realized your profile pic is in fact not a roaring Tiger. >_> (facepalm)

slembcke,
@slembcke@mastodon.gamedev.place avatar

@Doomed_Daniel Your avatar has shrouded my eyes and fooled me for years now! I believed it when it spoke to me, and I did everything it asked. Even that time it wanted me to desecrate a park bench with lime jello and unopened junk mail. Aurgh! What a fool I've been! >_<

jonikorpi, to gamedev
@jonikorpi@mastodon.gamedev.place avatar

Realised my erosion algorithm’s been broken for months. So I took the necessary first step to fixing it: breaking it even more.

Enormous hexagonal rock pillars protrude out of stylized video game terrain.

slembcke,
@slembcke@mastodon.gamedev.place avatar

@jonikorpi Ship it! :)

badlogic, to random
@badlogic@mastodon.gamedev.place avatar

Feels like I'm installing a root kit. I probably am, given who Unity merged with. God fucking damn it.

slembcke,
@slembcke@mastodon.gamedev.place avatar

@badlogic Actually… they used to install a kernel extension based DRM back in the PPC Mac days.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • β€’
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • everett
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • GTA5RPClips
  • ngwrru68w68
  • cisconetworking
  • provamag3
  • InstantRegret
  • cubers
  • khanakhh
  • ethstaker
  • Leos
  • Durango
  • normalnudes
  • tester
  • modclub
  • tacticalgear
  • megavids
  • anitta
  • lostlight
  • All magazines