CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 20:18:42 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/facebookresearch/pytorch3d.git
etag: W/"89bb99718d0adda231eb9175fb086158"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=oruBJjAYLWfAQ8yTDdsfHGp4uApfq0LhuQ%2BrmRB7Kj6T%2FZR2BMH8NqoRBuLPHpTIFfQvWRbEYFaf%2BOqDStw%2BcSbYvZUfm5gt3Wbk%2Fe%2FutsbmXWMpDGK8FVWtOujxfHPWiasvIebCymZwHRWmREwKcrUmqcNhxX7DzX64rbpXoWlwF3EqAOq%2BBDCKnNY9rxp17UtUqZPZT9qDeG95B7FnQa2Ys8GvlMcPXGtelYuweYlT51HtMkgGlPWNnNna9sVBjsfNMn01JCbz9VisNqugtw%3D%3D--DpX%2BuoJTELafd9GY--%2B0YC6PXhGW2fkqVnQRpTDg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.330634658.1753561122; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 20:18:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 20:18:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 92BA:3240E6:8B20F4:B42563:68853822
Culling to frustrum bug fix · facebookresearch/pytorch3d@a0f7931 · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/renderer/mesh/clip.py
Copy file name to clipboard
Copy file name to clipboardExpand all lines: tests/test_render_meshes_clipped.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit a0f7931
Culling to frustrum bug fix
Summary:
When `z_clip_value = None` and faces are outside the view frustum the shape of one of the tensors in `clip.py` is incorrect.
`faces_num_clipped_verts` should be (F,) but it was (F,3). Added a new test to ensure this case is handled.
Reviewed By: bottler
Differential Revision: D29051282
fbshipit-source-id: 5f4172ba4d4a75d928404dde9abf48aef18c68bd1 parent ef16253 commit a0f7931Copy full SHA for a0f7931
File tree
Expand file treeCollapse file tree
3 files changed
+33
-12
lines changedFilter options
- pytorch3d/renderer/mesh
- tests
- data
Expand file treeCollapse file tree
3 files changed
+33
-12
lines changedpytorch3d/renderer/mesh/clip.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/mesh/clip.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
372 | 372 |
| |
373 | 373 |
| |
374 | 374 |
| |
375 |
| - | |
| 375 | + | |
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
|
tests/data/test_render_mesh_clipped_cam_dist=0.5.jpg
Copy file name to clipboard-7.22 KB
Binary file not shown.
tests/test_render_meshes_clipped.py
Copy file name to clipboardExpand all lines: tests/test_render_meshes_clipped.py+32-11Lines changed: 32 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 |
| |
20 | 24 |
| |
21 | 25 |
| |
| |||
27 | 31 |
| |
28 | 32 |
| |
29 | 33 |
| |
| 34 | + | |
30 | 35 |
| |
31 |
| - | |
| 36 | + | |
32 | 37 |
| |
33 | 38 |
| |
34 | 39 |
| |
| |||
97 | 102 |
| |
98 | 103 |
| |
99 | 104 |
| |
100 |
| - | |
| 105 | + | |
101 | 106 |
| |
102 |
| - | |
| 107 | + | |
103 | 108 |
| |
104 | 109 |
| |
105 | 110 |
| |
| |||
132 | 137 |
| |
133 | 138 |
| |
134 | 139 |
| |
| 140 | + | |
135 | 141 |
| |
136 | 142 |
| |
137 | 143 |
| |
138 | 144 |
| |
139 | 145 |
| |
140 | 146 |
| |
141 |
| - | |
142 | 147 |
| |
143 | 148 |
| |
144 | 149 |
| |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 | 150 |
| |
152 | 151 |
| |
153 | 152 |
| |
| |||
655 | 654 |
| |
656 | 655 |
| |
657 | 656 |
| |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + |
You can’t perform that action at this time.
0 commit comments