@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

On a tangent, learning about the "taguchi loss function" (not a loss function in the ML sense), it's nice, but I feel the modern world has a "one sided taguchi loss function" where corps only care about their loss.
https://youtu.be/8NmRG9BIyKE?si=DoLZjgcIGNNh3KXD

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

"Severance is the closest this generation will get to receiving funding"

demofox,
@demofox@mastodon.gamedev.place avatar

@glassbottommeg I have a knack for leaving just before layoffs and shutdowns. Kinda wishing i stuck around for severance some of those times past and tried that too 🙃

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

I've been using a landscape for my ground just because it was easy to fill with temp data, and it's already set up for virtual texturing and sampling the ground colour.

Problem is, landscapes are not designed to be edited at runtime. Like, at all. Looks like a huge ballache. Which for a game with procedural levels is not ideal. So, that's out then, building my own ground patches it is https://forums.unrealengine.com/t/runtime-landscape-editing/631305

demofox,
@demofox@mastodon.gamedev.place avatar

@lritter @sinbad there's also this, to fake higher order interpolation on a grid
https://iquilezles.org/articles/texture/

demofox,
@demofox@mastodon.gamedev.place avatar

@lritter @sinbad oh, great info thanks

hbuchel, to random
@hbuchel@hachyderm.io avatar

Ugh, 10pm is too late for me to start a blog post on how orgs constantly set designers and design teams up for failure then wonder why the competition outdoes them.

demofox,
@demofox@mastodon.gamedev.place avatar

@hbuchel sounds like lots of companies I know of that have more money than sense... buying up semi successful studios, having them make derivative games, then layoffs and shutdowns when it doesn't work out.

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

Can anyone explain what the global and local dictionaries are for in functions like pyrun_string?
Not groking it from the sparse info in the docs, and examples with either make a new dictionary and send it as both, or will get some module directory as global and make a new dictionary as local.
What's the behavior here?

demofox,
@demofox@mastodon.gamedev.place avatar

@pervognsen I have a bunch of scripts to run in a "game world" and am thinking they each get the same global dict, and their own individual local dict. As a way to make global, and per script variables, using globals()[key] and locals()[key] respectively.
Does that fit with the functionality as you remember it?

demofox,
@demofox@mastodon.gamedev.place avatar

@pervognsen thanks for the info! I was planning on compiling each individually, but combining them is an interesting idea.

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

a real neat video about the possibility of very, very early life in the universe.
https://youtu.be/JOiGEI9pQBs?si=9wcCpay0w0dHvEM6

eniko, to random
@eniko@peoplemaking.games avatar

God I'm so fucking tired

demofox,
@demofox@mastodon.gamedev.place avatar

@eniko go watch some Steven universe!

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

I'm looking for more gamedev and graphics peeps to follow. Who you got? Retoots appreciated!

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

8 minutes of counterintuitive math.
Some neat stuff about very large integers that is reminiscent of computer integers.
https://youtu.be/rYijIEl3euU?si=j1t5IxXv76Ng3Yuq

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

New blog post! Simulation Islands: https://box2d.org/posts/2023/10/simulation-islands/
This reviews my journey in making island management scale better for multicore processing.
#gamedev #box2d

demofox,
@demofox@mastodon.gamedev.place avatar

@erin_catto This was a nice read, including the side quest of union find videos.
Regarding not being able to find anything faster than quick sort, there are parallel sorting algorithms like bitonic sort. This comes up in GPU programming. I think radix sort also lends itself to parallel sorting?
I liked how you found if an island should split, by running it's nodes through the island finder to ensure it still made only one :)

demofox,
@demofox@mastodon.gamedev.place avatar

@erin_catto yeah, determinism for the win.

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

Cmake is great cause when you google how to make it not generate the confusing ALL_BUILD project, you find lots of other people asking the same, and the response is "you are wrong to want to do that"

eniko, to random
@eniko@peoplemaking.games avatar

content pipelines for games are a mistake. imagine if you had to run all your images and fonts and stuff through some pipeline before you could put them up on the web for a website? that's what you're doing with games

just parse the dang PNG it ain't that hard

demofox,
@demofox@mastodon.gamedev.place avatar

@eniko I agree with you. The things the engine needs to do with the assets has no reson to be as "in your face" road blocking progress as it is, in basically every engine.

demofox,
@demofox@mastodon.gamedev.place avatar

@eniko @tess that is appropriate for your usage case (pc only with mod support) but not for the common situation. It doesn't make what you are saying any less true though!

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

Sudoku but instead of 9 digits 1-9 theres o,O,0, i,I,l, |,!,¡

demofox,
@demofox@mastodon.gamedev.place avatar

@rygorous brainf*ku

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

If someone were to embed python into a game as a scripting language, is there any way to make it safe, for UGC?
I know you can make an "isolated" python and then can control packages available. What about infinite loops and such though? Any way to protect against that and similar (timeouts maybe?)

demofox,
@demofox@mastodon.gamedev.place avatar

@mtothevizzah @neilhenning @zeux starcraft 2 has a custom language as well called galaxy. It worked pretty decently for those needs.

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

Why can nobody stop this Riccitiello guy?

demofox,
@demofox@mastodon.gamedev.place avatar

@fatlimey they stopped him? Did he get canned?

thor, to TerribleMaps
@thor@berserker.town avatar
demofox,
@demofox@mastodon.gamedev.place avatar

@thor por que no los tres?

  • 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