Skip to content

Add CUDA Torch scene shading parity (#1702) - #1702

Closed
cdtwigg wants to merge 1 commit into
mainfrom
export-D127212845
Closed

cdtwigg wants to merge 1 commit into
mainfrom
export-D127212845

Conversation

@cdtwigg

@cdtwigg cdtwigg commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Extend the CUDA rasterizer with perspective-correct barycentric outputs and use them from pymomentum.torch.renderer for on-device Phong shading, bilinear texture sampling, per-vertex colors, checkerboard floors, character rendering, and hard projected-shadow compositing. Existing PhongMaterial and Light objects remain the public host-side configuration while textures and mesh attributes remain explicit device tensors.

Differential Revision: D127212845

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 23, 2026
@meta-codesync

meta-codesync Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

@cdtwigg has exported this pull request. If you are a Meta employee, you can view the originating Diff in D127212845.

@meta-codesync meta-codesync Bot changed the title Add CUDA Torch scene shading parity Add CUDA Torch scene shading parity (#1702) Oct 23, 2026
meta-codesync Bot pushed a commit that referenced this pull request Oct 23, 2026
Summary:

Extend the CUDA rasterizer with perspective-correct barycentric outputs and use them from pymomentum.torch.renderer for on-device Phong shading, bilinear texture sampling, per-vertex colors, checkerboard floors, character rendering, and hard projected-shadow compositing. Existing PhongMaterial and Light objects remain the public host-side configuration while textures and mesh attributes remain explicit device tensors.

Differential Revision: D127212845
Summary:

Extend the CUDA rasterizer with perspective-correct barycentric outputs and use them from pymomentum.torch.renderer for on-device Phong shading, bilinear texture sampling, per-vertex colors, checkerboard floors, character rendering, and hard projected-shadow compositing. Existing PhongMaterial and Light objects remain the public host-side configuration while textures and mesh attributes remain explicit device tensors.

Differential Revision: D127212845
@meta-codesync

meta-codesync Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

This pull request has been merged in 1848171.

@github-actions
github-actions Bot deleted the export-D127212845 branch October 24, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant