@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

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, 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" 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

@lunarood is there some % code changed that is required for something to be considered derivative and then can be licensed and copyrighted differently?

demofox,
@demofox@mastodon.gamedev.place avatar

@lunarood interesting. Thanks so much :)

demofox,
@demofox@mastodon.gamedev.place avatar

@callionica thanks a lot :)

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?

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

LF individual with last name of Mann to co author a paper and help invent the Wolfe Mann algorithm :)

demofox,
@demofox@mastodon.gamedev.place avatar

@topher_batty oh my god hilarious, and he's in graphics too. Ok, I'm going to put him in my notes and hopefully will have an easy citation for him someday LOL

demofox,
@demofox@mastodon.gamedev.place avatar

@breakin @topher_batty I have a game dev friend named Brandon Mann I was thinking about doing this with before 😂

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

orenc thtesodo goami rna
orenc thtesodn goami roa
orenc thterodn goami soa
orenc thte odn goamirsoa
orenc thte idn goamorsoa
or nc thteeidn goamorsoa
or nc thtgeidn ooamorsea
or nc thegeidn ooamorsta
or na thegeidn oocmorsta
or a thegeidnnoocmorsta
or a thegeimnnoocdorsta
r aothegeimnnoocdorsta
r aodhegeimnnooctorsta
r aodhegeimnnoocaorstt
r acdhegeimnnoooaorstt
r acdeeghimnnoooaorstt
r aacdeeghimnnooo orstt
aacdeeghimnnooororstt
aacdeeghimnnoooorrstt

demofox,
@demofox@mastodon.gamedev.place avatar

@lritter @mrsbeanbag it sounds related to optimal transport

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