@demofox@mastodon.gamedev.place
@demofox@mastodon.gamedev.place avatar

demofox

@demofox@mastodon.gamedev.place

Graphics and game dev research. previously nvidia, blizzard, monolith, others. graphics, audio synth, exotic computation. No gods, no masters. http://blog.demofox.org.

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

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

For some reason people are talking about homomorphic encryption.
In game dev, for deterministic simulations like you see in RTSs, you can prevent write cheats by ensuring that the hash of the deterministic sim state matches across players.
You can't easily prevent read cheats though - being able to see the entire map when you shouldn't eyc.
Homomorphic encryption is a way to prevent read cheats.
Fyi!

demofox,
@demofox@mastodon.gamedev.place avatar

Last I checked, fully homomorphic encryption was much too slow to use in game dev. There are partially homomorphic encryption schemes though, where you have a subset of operations you can do, vs FHE which can do any operation.

demofox,
@demofox@mastodon.gamedev.place avatar

@dougmerritt I saw it and put it on the todo list and it scrolled away before I got to it! I just had a look, and it seems like "bootstrapping" has been replaced?! If so that's great news. But yeah there are a lot of new things since I last looked. That's pretty cool.

demofox,
@demofox@mastodon.gamedev.place avatar

@lunarood I'm not in charge of what people are into 😀

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

Does anyone know of any code laying around the net that distributes points on a mesh in a blue noise distribution?
A student intern i work with is looking for this. It's tempting to write it, but im also kinda swamped :X

demofox,
@demofox@mastodon.gamedev.place avatar

Mitchell's best candidate would work well here, and would give a sequence instead of a set (use the first N of M total points, for any N), but what makes it more than a 1 hour task is the mesh connectivity, and multiple paths through triangles to the same points that you need to calculate distance between.

demofox,
@demofox@mastodon.gamedev.place avatar

@lritter well i can choose a triangle uniform randomly based on size, and can uniformly generate a point in a triangle.
That'd give you candidates for MBC.
But now you have to calculate distance between points :/

demofox,
@demofox@mastodon.gamedev.place avatar

@lritter so we can keep whichever white noise candidate is farthest away from whatever blue noise point it's closest to.
Then rinse / repeat :P

demofox,
@demofox@mastodon.gamedev.place avatar

@breakin @lritter you still need distance between points on mesh for lloyd relaxation. im more a fan of MBC, but they both have the requirement of needing to be able to calculate distance between points on a mesh, which makes it a longer task hehe

demofox,
@demofox@mastodon.gamedev.place avatar

@breakin @lritter if dense enough, yeah, i bet you could just deal with points within a triangle and the immediate neighbors. I think this is all solvable but not ~1 hour of work haha. sigh...

demofox,
@demofox@mastodon.gamedev.place avatar

@breakin @lritter basically like.. why didn't one of us already write this?! past selves were slacking

demofox,
@demofox@mastodon.gamedev.place avatar

@breakin @lritter yeah that'd work, and xatlas is good at that. But, unless you deal with triangle connectivity, the seams of triangles will be fubar

demofox,
@demofox@mastodon.gamedev.place avatar

@breakin oh yeah, that's true. not good enough for me. sorry for posing an unsolvable problem. Was just hoping some code existed somewhere hehe. TinyOBJ + mitchell's best candidate.

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

@breakin it looks really promising

demofox,
@demofox@mastodon.gamedev.place avatar

@mmby working locally on the surface is what I'd do, yeah, agreed.
Islands would work themselves out

demofox,
@demofox@mastodon.gamedev.place avatar

@vethanis neat

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

Stardew valley is pretty great, I just started playing it. Last night I went and saw the moon jellies on the last day of summer and woke up to fall.

Patricia, to random
@Patricia@vivaldi.net avatar

Ok, I’m sorry, I’m going to ruffle feathers here but… I’m trying to read some newer development process books and… oh my… even super popular ones are so immensely long winded and unconvincing in their dogmatic argumentation: this is bad, this is good, because I said so that’s why.

Recent examples that I’m struggling to finish: “Team Topologies” and “Data Mesh” - I mean they might be great but I’m getting strong “this should’ve been a blogpost” feels.

demofox,
@demofox@mastodon.gamedev.place avatar

@Patricia honestly everything you are saying is why I hate "programming culture". It's cringe, it's gross, it's naive.
For whatever reason, I don't see as much of that in (client side) game development other than the occasional "new c++ feature" fanboys/fangirls and am glad to watch it from afar :P

x00001, to random
@x00001@corteximplant.com avatar

Pirated for Alt Text

demofox,
@demofox@mastodon.gamedev.place avatar

@x00001 did Isaac Asimov write this? 😂

aras, to Playdate
@aras@mastodon.gamedev.place avatar

Because no one stopped me, I ported "Everybody Wants to Crank the World" #playdate demo to PC (Windows/Mac). https://github.com/aras-p/demo-pd-cranktheworld/pull/1 :playdate: :demoscene:

Using Sokol libraries by @floooh to do most of heavy lifting.

Fun fact: while the demo is running, it takes up as much CPU time as the windows task manager on my PC.

demofox,
@demofox@mastodon.gamedev.place avatar

@wolfpld @aras @floooh so pretty

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

Hey software license knowledgeable friends. We recently put code out for a paper that is BSD licensed.
What would happen if some other company forked it and made a bunch of changes/ improvements?
Would it still be copyright EA in the license on their fork? And it'd have to stay BSD right?
Ty, random curiosity :)
https://github.com/electronicarts/fastnoise/blob/main/LICENSE.txt

demofox,
@demofox@mastodon.gamedev.place avatar

@pkhuong can you explain that? Ty Paul :)

demofox,
@demofox@mastodon.gamedev.place avatar

@pkhuong and btw - unlike previous noise texture sets, FAST has no associated patents ;)

demofox,
@demofox@mastodon.gamedev.place avatar

@pkhuong patent is our choice, and it was a unanimous "no" :)

demofox,
@demofox@mastodon.gamedev.place avatar

@pkhuong whats the "patent grant for using the licensed software"?
Like if the company patents the work, the license implies that they are free to use the patent as well?

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