谁见我镜头盖了 retweeted
Live (v0.29.0): npmjs.com/package/openvdb
No new slop code today, Opus busy writing books - docs and defaults clean up so agents don't have to hallucinate af and have the pretty clouds right out of the box
谁见我镜头盖了 retweeted
Want to learn GPU programming but don't have a GPU?
Grokking GPU Programming by SungHwan Yun teaches you CUDA from scratch, with clear examples and a free browser-based sandbox to practice your code. No hardware required.
Learn more: hubs.la/Q04FZRwv0
谁见我镜头盖了 retweeted
Replying to @huxlab
Dario's spiel since GPT-2 has always been about hyping the dangers so that open models would be made illegal and *he* would stay in control.
He left OpenAI because he wasn't going to have control.
It's like the Ottoman Empire banning the printing press for Arabic so they would keep in control of the dogma.
It stops the population from freely accessing diverse knowledge.
It's a new form of medieval obscurantism.
谁见我镜头盖了 retweeted
MK SSDM+ is out for UE5.8!
Check out the breakdown video:
youtube.com/watch?v=KRziwSfB…
#techart #UnrealEngine #UE5 #gamedev
谁见我镜头盖了 retweeted
glTF Research Scenes v1.3.0 is out!
3 new scenes, including Beeple's Transparent Machines and 2 subsurface scattering tests!
Also improved glass refraction and reworked Crown materials.
github.com/ErfanMo77/gltf-re…
谁见我镜头盖了 retweeted
“越过山丘,才发现无人等候”
这是女友分享给青年作家刘楚昕的一句歌词,起初他并不理解这句歌词的含义,他曾投稿10年接连被拒,直至女友患癌离世一年后终获奖,他泣泪成声,终于懂得这句歌词的含义!
谁见我镜头盖了 retweeted
Some of you wanted to get to know how to make this fog shader inspired by the new Legend of Zelda: Ocarina of Time, so I started writing a small tutorial.
Here's a breakdown of the steps I used:
#gamedev #MadeWithDefold #shaders #ZeldaOcarinaofTimeRemake
谁见我镜头盖了 retweeted
Depth Pro 2 Sharp is Seriously good.
Night and day. Immediate switch for me.
huggingface.co/apple/DepthPr…
github.com/tpc2233/ComfyUI-T…
谁见我镜头盖了 retweeted
I'll also take this opportunity to share a bit on what i've done during my 2 years of graphics programming on GTA VI. I got the incredible chance to be one of the "water guys" and work on various water related stuff 🧵
谁见我镜头盖了 retweeted
自作の Screen Probe方式GI ではこのくらい広域且つディティールでSkyOcclusionやIrradianceのキャプチャがリアルタイムで動作はするので、やはり全般リアルタイムなのかなと(当時RTX3070クラスで数ms)
(Screen Probe != Screen Space GI)
Our Unity tools now have Unreal versions too. Highlight Plus adds outline, glow, overlay and see-through effects to any actor in #UnrealEngine, without touching your materials. Take a look on #Fab: kronnect.com/go/highlight-pl… #UE5 #gamedev
谁见我镜头盖了 retweeted
Replying to @dankbaker
@dankbaker (Oxide) had nice talks about their fully decoupled texel space shading system. Solves these sampling issues, but has a substantial added cost and complexity. I did a similar proto back in the day.
Paper:
oxidegames.com/wp-content/up…
REAC23 slides:
enginearchitecture.org/downl…
Solving Antialiasing:
I’d like to share some first principles thoughts I’ve been having on how to completely eliminate aliasing and shimmering when rendering.
To start with, identify why the problem occurs in the first place: we are mapping from a source coordinate representation of content into a 2D pixel grid coordinate system that doesn’t perfectly align with it. Current algorithms, such as hardware rasterizers, offer imperfect (MSAA) to no correction for it. Postprocess antialiasing is even worse as it’s already lost key data. To compound the problem, we’ve been doing shading on incorrectly generated pixel fragments post-rasterization as well.
Why is MSAA flawed? Because it’s just a random assortment of points being sampled where every different arrangement gives a different result. Worse, there is no conservation of energy guarantee as every different grid alignment results in a different total pixel intensity from luck of the point sampling draw, causing shimmering/flickering as the camera moves.
Even basic rasterization offers no subpixel information in its output and potential edge fragments are often culled before reaching the fragment shader.
Pixels are not a point or a collection of points. Pixels have a surface area. Geometries cover a percentage of this surface area. At the edges, these percentages will be less than 100%. To maintain conservation of energy as the camera moves and the edge alignments change, the final generated RGB pixel value sent to the hardware for opaque geometry should have its intensity scaled by the percentage of area coverage across the pixel square.
If multiple opaque geometries contribute to this same pixel, the visible portion of each must be scaled and then added in. For example:
A: 50% coverage of (0.5, 0.5, 0)
B: 25% coverage of (1.0, 0, 0)
C: 25% coverage of (0, 0, 1)
This becomes
(0.25, 0.25, 0) + (0.25, 0, 0) + (0, 0, 0.25)
or a final pixel value of (0.5, 0.25, 0.25).
If the source geometry is itself treated as a grid of texels, then one isn’t dealing with just subpixel geometry edges but also distinct subpixel texel values that themselves can each be mapped into the screen space grid by percentage. Multiple source texels may end up covering part of a destination pixel and need their pixel coverage areas calculated and corrected for to avoid loss.
One then needs to think about what the data is that we are actually performing all of this intensity blending on. It’s not always pure color. How does one safely blend multiple subpixel normals and what does it even mean? What about blending distinct material properties with PBR?
Furthermore, the lighting calculations are occurring after this coordinate system mapping has occurred and they’re being performed on blended data where the distinct material and normal information of each geometry may have already been lost.
Instead, we should consider doing all of this shading PRIOR to the mapping to screen space, e.g. in texture space, before any of this data loss has occurred. This is also convenient for deterministic contiguous data access and doesn’t require texture sampling in an off-grid manner with texture filtering and unpredictable cache misses.
Nobody has combined all of these approaches and done it all on a GPU yet, but I can see it being quite doable in compute shaders, particularly with SDFs and voxels. One may even do this blending multiple times in a frame, such as first doing it when mapping from a voxelized object space to a voxel world space as the grids don’t align, and again to a camera space, having a final pass from back to front to handle partially occluded geometries.
I haven’t had any free time to explore implementing all of these ideas just yet, but I do believe it can be done isochronously.
Rockwell Collins (Evans & Sutherland), my former employer, handled area-based anti-aliasing in custom hardware. @NOTimothyLottes gave me the idea for texture-space rendering. The rest is original thinking on my part.
give /no-comments from pstack a try! or better yet, ask your agent to turn it into a lint rule
github.com/cursor/plugins/bl…
Prompt of the day (a long one):
Take a look at every code comment in <my codebase | this section of the code>.
Categorise each comment as:
- Tautology: simply repeats what is already visible from the code
- Excuse: many comments allow the agent to get away with a hacky implementation, which then gets propagated through the code
- Stale: references code or implementation information that is no longer relevant
- Decision Record: documents an important, non-obvious decision about the code
For each comment, take this action:
- Tautology/Stale: delete the comment
- Excuse: delete the comment and file an issue to fix the hacky implementation
- Decision Record: move it into an ADR
Once this is done:
- Create a lint rule banning comments for <my codebase | this section of the code>
- Take a ratchet approach, assuming not all comments will be deleted this PR
- Create a /delete-comment skill in this repository so we can repeat this process later
- Estimate for me how many lines of code we'll shed by deleting all comments
---
I'm sold - comments considered harmful




















































