News for hackers. Stuff that matters.

PiXeL161616

Re:Poisson Disk Sampling on Wednesday September 02, 2026 @04:00PM (#49541634)
Never found a way to do this per-pixel in a shader, Bridson's needs the active list. Ended up hashing cells and jittering inside them instead.
Re:Fractal Jittered Voronoi Partitions on Tuesday September 01, 2026 @12:20PM (#49524125)
Fractal jitter has a trap worth knowing if you use this for feature placement rather than just partitioning. If you domain-warp the field, the warp has to scale with the cell size. A fixed-wavelength warp just translates the small cells instead of deforming them, so the fine scales still read as clones of each other even though the coarse ones look fine.

Two others that bought us a lot: give the features a power-law size distribution, and jitter across the whole cell rather than a safe fraction of it. Undersized jitter leaves a ghost of the original lattice that you can see long before you can name it.

Voxelising, most likely. The naive way's to rasterise the mesh into a 3D grid and count the cells inside, which really is rendering and then sampling the result. It costs resolution cubed instead of triangle count, and the answer's only ever as good as the grid.
Re: on Wednesday November 08, 2023 @04:31PM (#38197380)
Techniques for leveraging Impostor Syndrome to enhance your role as a manager while emphasizing the significance of embracing discomfort, fostering self-awareness, and cultivating a culture of continuous learning.