@apoorvaj@mastodon.gamedev.place avatar

apoorvaj

@apoorvaj@mastodon.gamedev.place

Graphics at Unity.

Formerly at Playdead, NVIDIA, Microsoft.

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 folks that know me as "the blue noise guy", I've put together a 50 minute video that talks about many of the things I've learned in my ~decade long dive into noise and related topics - up to and including our latest paper published days ago at I3D.
I hope you enjoy it!
https://www.youtube.com/watch?v=tethAU66xaA

A slide showing how random numbers which are positively correlated on the screen give correlated resulting renders, uncorrelated random numbers give uncorrelated renders, and negative correlation random numbers give negatively correlated renders. Negatively correlated renders have the best perceptual quality, despite all three having the same actual error.

apoorvaj,
@apoorvaj@mastodon.gamedev.place avatar

@demofox This was a great talk. Thanks! I hope you do more of these. :)

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

Only people who worked at Unity would ever understand this.

apoorvaj,
@apoorvaj@mastodon.gamedev.place avatar

@aras For some reason i thought alongside build.pl, it was a pun on Pearl Jam.

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

Some nice use cases for Zig defer by matklad: https://matklad.github.io/2024/03/21/defer-patterns.html

Definitely seems useful to consider defer for use cases other than resource cleanup.

apoorvaj,
@apoorvaj@mastodon.gamedev.place avatar

@sjb3d Some of these are nifty. Some seem too clever. And i just don’t understand how ‘errdefer comptime unreachable’ works.

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

This slide from the NVIDIA GTC keynote reminded me of the Halide programming language at a multi-node scale.

https://www.youtube.com/live/Y2F8yisiS6E?si=531keyECW3XTNBFu&t=3380

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

Tinkering with Zig (https://ziglang.org/) and there's a lot to like about it. Allocators required throughout the standard library is great, I wish rust had gone this route.

And comptime seems super powerful for generics. For example, want SoA storage for any struct type? No problem, here's an example in the standard library: https://ziglang.org/documentation/master/std/#A;std:MultiArrayList.

apoorvaj,
@apoorvaj@mastodon.gamedev.place avatar

@sjb3d I've been moving my hobby project https://papaya.io/ from Rust to Zig (compiled to WASM). Absolutely loving it so far.

apoorvaj,
@apoorvaj@mastodon.gamedev.place avatar

@sjb3d I wrote a Metal-inspired gfx abstraction that internally calls WebGL. Notice the pass.setUniform() function takes matrices, floats, integers, and vectors and just recognizes the type, and calls the correct gl.uniform* function.

Super ergonomic, very simple to write using Zig's anytype, and compiles very quickly too.

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

@aras @neilhenning In terms of having a job, so far so good. In terms of looking at what's going on, not so much.

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

Efter to års hårde studier bestod jeg i dag Prøve i Dansk 3, hvilket betyder, at jeg kan tale dansk godt nok til at søge om permanent opholdstilladelse her i Danmark!

After two years of hard studies, today I passed the Danish 3 test, which means I can speak Danish well enough to apply for a permanent residence permit here in Denmark!

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

American corporate euphemisms are an art form. “right-sizing”, “reduction in force”, “transitioning out”, “made redundant”, “repositioning”, “ramping off”. I love hearing new ones all the time.

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

It's satisfying to see GPU Driven rendering, GPU occlusion culling, and Spatial-Temporal Post-Processing all come together in this demo.

I've had the privilege of contributing to these features, as a small part of a very talented team.

https://www.youtube.com/watch?v=yggoHVLd01c

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

Happy to report that the full contents of the 4th edition of Physically Based Rendering are now freely available online: https://pbr-book.org/4ed/contents

apoorvaj,
@apoorvaj@mastodon.gamedev.place avatar

@mattpharr @pervognsen

Should this be milliseconds?

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

In other fun Denmark news, some dudes are burning the Quran right outside my apartment while megaphoning hate speech. And there's a lot of policemen protecting them and detaining kids that are protesting against this. Love it that the freedom of expression is so one-sided.

apoorvaj,
@apoorvaj@mastodon.gamedev.place avatar

@morten_skaaning The funny thing is that I'm currently studying for the medborgerskabsprøve, and it covers forsamlingsfriheden and ytringsfriheden. And it mentions that both of these have limits. To my unlawyerly eyes, it feels like such blatant Islamophobia should be illegal in the spirit of the law, but I guess that's why I'm not a lawyer. :)

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

I used SPIRV-Cross for the first time today, at least directly. It’s a bit magical to see the HLSL —DXC—> SPIRV —SPIRV-Cross—> MSL transformation work on MacOS.

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

Anyone have any leads on building DXC on MacOS?

The only link I've found is this, and it's from an archived repo:
https://github.com/google/DirectXShaderCompiler/blob/linux/docs/DxcOnUnix.rst

My other lead is ShaderConductor, but that also seems defunct, and the link to prebuilt binaries is broken:

https://github.com/microsoft/ShaderConductor

apoorvaj,
@apoorvaj@mastodon.gamedev.place avatar

@aras Hah! Will do. Thanks for the tip. :)

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