Hacker News with Generative AI: Graphics

Hands-On Graphics Without X11 (blogsystem5.substack.com)
Exploring ways to mipmap alpha-tested textures (lisyarus.github.io)
In my village building game I'm using alpha-tested transparency for foliage — trees, bushes, grass, etc. This works simply by discarding (i.e. not drawing) any pixels having an alpha value of less than 0.5, and keeping the others. This is much cheaper than proper transparency, which requires sorting objects or pixels by distance to camera.
Portals and Quake (30fps.net)
Ever wanted to know how exactly did Quake’s precomputed visibility work? I did, so I wrote vis.py, a reimplementation of their algorithm in Python. This guide has all the information you need to understand vis, the tool used by Quake, Half-Life and Source Engine games.
Spline Distance Fields (zone.dog)
Earlier this year I decided to put my main project Tangerine on hold indefinitely and began prototyping a new renderer in an unfamiliar language using a totally new graphics API with the goal of overcoming all of Tangerine's technical shortcomings.
Labwc: Wlroots-based window-stacking compositor for Wayland, inspired by openbox (labwc.github.io)
Labwc is a wlroots-based window-stacking compositor for wayland, inspired by openbox.
Modern Generic SVGA driver for Windows 3.1 (github.com/PluMGMK)
This is a rewrite of the Windows 3.1 SVGA driver, designed to support ALL available 8-bit, 16-bit, 24-bit or 32-bit graphic modes on any system providing the VESA BIOS Extensions (hence the VBE in the name). It is based on the Video 7 SVGA driver included in the Win16 Driver Development Kit, with most of the hardware-specific code gutted out, and with support added for multi-byte pixels.
One Dog vs. the Windows 3.1 Graphics Stack (wuffs.org)
Wherein I learn too much about VGA hardware and generate some really cool glitch art while I try to fix somebody else's fix for a video driver that's older than I am.
Show HN: WebGPU + TypeScript Slime Mold (github.com/SuboptimalEng)
I made this slime mold simulation to learn more about WebGPU and compute shaders. It's essentially a recreation of Sebastian Lague's coding adventure (albiet with fewer features).
X.org Server Development Hit a Decade High for the Number of Commits in 2024 (phoronix.com)
To much surprise, the X.Org Server Git tree saw the most commits in 2024 going all the way back to 2014... While there were many more commits than in years prior, it's not a sign of resurgence for the X.Org Server with Wayland continuing to become the dominant force on the Linux desktop.
WebGL Fluid Simulation (paveldogreat.github.io)
Try Fluid Simulation app!
Video Games Can't Afford to Look This Good (nytimes.com)
One way to understand the video game industry’s current crisis is by looking closely at Spider-Man’s spandex.
Video Games Can't Afford to Look This Good (nytimes.com)
One way to understand the video game industry’s current crisis is by looking closely at Spider-Man’s spandex.
Wayland Protocols 1.39 Released with Data Control and Workspace Additions (phoronix.com)
Jonas Ådahl of Red Hat just released Wayland Protocols 1.39 as the latest set of updates to this de facto repository for Wayland protocols.
Show HN: WebGPU Tech Demo (gnikoloff.github.io)
This demo requires the modern WebGPU graphics API to run. Seems like your browser does not support it.
Just how deep is Nvidia's CUDA moat really? (theregister.com)
Analysis Nvidia is facing its stiffest competition in years with new accelerators from Intel and AMD that challenge its best chips on memory capacity, performance, and price.
GPU Glossary (modal.com)
Parallel Vector Graphics Rasterization on the CPU (gasiulis.name)
During the last couple of weeks I got some free time and as a fun programming exercise I decided to write a CPU-based, multithreaded vector graphics rasterizer. The goal was to outperform rasterizers of all publicly available vector graphics libraries. And today I’m sharing what I came up with.
How to Code a Shader Based Reveal Effect with React Three Fiber and GLSL (tympanus.net)
After coming across various types of image reveal effects on X created by some peers, I decided to give it a try and create my own. The idea was to practice R3F and shader techniques while making something that could be easily reused in other projects.
High-Fidelity 3D Mesh Generation at Scale with Meshtron – Nvidia Technical Blog (nvidia.com)
Meshes are one of the most important and widely used representations of 3D assets. They are the default standard in the film, design, and gaming industries and they are natively supported by virtually all the 3D softwares and graphics hardwares.
Show HN: Library to replace box shadows on a webpage with ray traced shadows (steren.fr)
rtx-on.js is an experimental JavaScript library that enhances web pages by simulating in real time realistic lights and shadows using ray tracing.
Show HN: Svader – Create GPU-rendered Svelte components (github.com/sockmaster27)
Create GPU-rendered Svelte components with WebGL and WebGPU fragment shaders.
QEMU with VirtIO GPU Vulkan Support (github.com)
Intel XeSS 2 DLL files leaked days before launch (tomshardware.com)
Tricking c64 basic into clearing a hi-res screen quickly (altervista.org)
Bitmap graphics with Commodore 64 BASIC 2.0 is not easy, but it is possible. The problem is the lack of commands specifically designed to handle the bitmapped screen.
Valve dev fixes 3D lighting, exposes flawed graphics card math (pcgamer.com)
Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node (skia-canvas.org)
Skia Canvas is a browser-less implementation of the HTML Canvas drawing API for Node.js.
Vulkan 1.4 Streamlines Development, Deployment of GPU-Accelerated Applications (khronos.org)
SIGGRAPH Asia, Tokyo, Japan – December 3, 2024 – Today, the Khronos® Group, an open consortium of industry-leading companies dedicated to creating advanced interoperability standards, has announced the release of Vulkan® 1.4, the latest version of its cross-platform 3D graphics and compute API.
Vulkan Video Now Enabled by Default for Radeon VCN2/VCN3 Hardware on Linux (phoronix.com)
An exciting merge today for the Radeon "RADV" Vulkan driver with next quarter's Mesa 25.0 is enabling Vulkan Video API support by default for AMD graphics having VCN 2.x and VCN 3.x hardware.
Wayland Color Management Protocol Might Be Close to Merging (phoronix.com)
In what could be a wonderful holiday for the Linux desktop, it looks like the Wayland color management protocol might finally be close to merging after four years in discussion.
Accessing a DRM Framebuffer to display an image (embear.ch)
When doing bring-ups on embedded devices a useful way to test if a display interface is working is this command: