@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

New Blog Post: A Low Discrepancy Shuffle Iterator (+Random Access & Inversion)

What if you had a shuffle iterator that could traverse a shuffle, without actually shuffling.

What if that shuffle was a low discrepancy sequence so neighboring values were very different and had nice numerical properties?

Another POV: selection without replacement. stateless, and low discrepancy.

https://blog.demofox.org/2024/05/19/a-low-discrepancy-shuffle-iterator-random-access-inversion/

demofox,
@demofox@mastodon.gamedev.place avatar

C++ header only implementation available at https://github.com/Atrix256/GoldenRatioShuffle/blob/main/LDShuffle.h

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

Are there any shader toy experts here?

Two of my recent shader toys display just black on iOS Safari (no compilation errors), while a separate iOS app shows them "okay" (some bugs, but at least not a black screen).
https://www.shadertoy.com/view/clXXDs
https://www.shadertoy.com/view/MfyXzV
Nothing crazy, pretty simple, but using feedback for TAA accumulation.

demofox,
@demofox@mastodon.gamedev.place avatar

@BartWronski you might try explicitly initializing the buffer values to make sure no NaNs are coming from uninitialized memory.

demofox,
@demofox@mastodon.gamedev.place avatar

@BartWronski yeah it could be

demofox,
@demofox@mastodon.gamedev.place avatar

@BartWronski it would be great to get a pix or renderdoc capture wouldn't it? It seems like they (browsers) sometimes have support for it, but then remove it, then re add it in a different way. It makes it real hard when it's so opaque, but it also forces us users to get real creative with debugging, which is a nice skill to have after acquiring it tbh 😂

stux, to random
@stux@mstdn.social avatar
demofox,
@demofox@mastodon.gamedev.place avatar

@stux tfw my dad was talking about pong 25+ years ago

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

Anyone have any tips for repairing or desoldering corroded solder? I've tried applying fresh solder but not all points would take it.
Also, I'm thinking the brown line across the bottom is supposed to be a connection between all of them for ground. I think its corroded to not work as well anymore. Does that look/sound right to people? In the second image, it's the side with a single wire plugged in.

image/jpeg

demofox,
@demofox@mastodon.gamedev.place avatar

@dotstdy thanks a lot. I have some solderwick, I forgot. And replacement buttons and LED. I shall give it a go

demofox,
@demofox@mastodon.gamedev.place avatar

@TomF that makes a lot of sense.

demofox,
@demofox@mastodon.gamedev.place avatar

Thanks @TomF and @dotstdy , I drilled out the corroded chunks of solder and cleaned it up some. Now to reassemble it with fresh components.

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

An ESPN article talks about a rendering algorithm a friend of mine made (gibs). LOL what an odd world we live in...
https://www.espn.com/college-football/story/_/id/40153072/inside-return-ea-sports-college-football-video-game

whitequark, to random
@whitequark@mastodon.social avatar

being ready to die affords you the most complete freedom of action you can have. therefore you must be ready to die at any moment

demofox,
@demofox@mastodon.gamedev.place avatar

@whitequark I honestly dig this pov.

Quinnypig, to random
@Quinnypig@awscommunity.social avatar

I'm sorry Slack, you're doing fucking WHAT with user DMs, messages, files, etc? I'm positive I'm not reading this correctly.

demofox,
@demofox@mastodon.gamedev.place avatar

@Quinnypig yikes. All sorts of NDA'd info, trade secrets, unpublished research, secret game projects etc etc just right there sucked up into an LLM.

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

Hey @mbr , I remember you did that LDS thing with integers where you had an integer representation of Phi.
How did you calculate that integer version of Phi?
Did you just multiply phi by the the maximum value the int could represent and convert to int (floor / round)?

demofox,
@demofox@mastodon.gamedev.place avatar

@mbr
Ah thanks.
I'm thinking about doing a "golden ratio shuffle" where you multiply phi by N (the number of items to shuffle), cast to integer, then search for the nearest coprime to do the repeated addition and modulus thing.
It makes it be less accurate phi, but always maximal length if my thinking is right :P

demofox,
@demofox@mastodon.gamedev.place avatar

@mbr thanks Marc, I appreciate the assistance :)

demofox,
@demofox@mastodon.gamedev.place avatar

@mbr I was just having that thought in the shower just now. Yeah. We were on the same page but didn't mention that 😂

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

I asked my son "if you flip a coin 3 times, is it more likely to get 3 heads in a row, or head, tails, tails?"
He thought for a second and thought "they are equally likely aren't they?"
Oh damn... he is so much smarter than I was.

demofox,
@demofox@mastodon.gamedev.place avatar

I asked a follow up "lets say you flip two coins and add up how many heads you get. Is it more likely to get 0 or 1 as a result?"
He said "they are equally likely"
aha! I got him. Told him there are 2 ways to get 1 head, but only 1 way to get no heads and he said...
"oh that's like the galton board we made".
I thought i got him and then he started down the path of deriving the central limit theorem.
Geez kid, you are 10, chill out a bit! 😆

demofox,
@demofox@mastodon.gamedev.place avatar

@MartianDays same same

demofox,
@demofox@mastodon.gamedev.place avatar

@SonnyBonds oh man. That's mean!

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

I am excited to finally share our recent paper "Filtering After Shading With Stochastic Texture Filtering" (with Matt Pharr, @marcosalvi, and Marcos Fajardo), published at ACM I3D'24 / PACM CGIT, where we won the best paper award! 1/N

demofox,
@demofox@mastodon.gamedev.place avatar

@BartWronski @aras artists are smarter than we give them credit for. I'm pretty sure incorrect lighting falloff was making up for the renders not being sRGB correct :P

demofox,
@demofox@mastodon.gamedev.place avatar

@aras @BartWronski it sure is. I've tried to cite posts in both STBN and now FAST noise papers, and got a lot of push back on both papers. It's interesting cause the "real competitors" we ought to compare against live in blog posts IMO. (not as much push back at i3d btw Bart! that was nice.)

demofox,
@demofox@mastodon.gamedev.place avatar

@aras @BartWronski like i have it on my personal blog todo list that i need to compare FAST vs these 2 types of noise.
https://tellusim.com/improved-blue-noise/
https://acko.net/blog/stable-fiddusion/

demofox,
@demofox@mastodon.gamedev.place avatar

@aras @BartWronski Yeah, Bart is a mensch haha. & I love that the best research comes from people that are well versed in both worlds.

demofox,
@demofox@mastodon.gamedev.place avatar

@mtothevizzah @BartWronski @aras @neil those trips sound so great

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