CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 17:09:50 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/"351c1c239d580785979ef47621ca5554"
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=iw1zVaFFgg0JkNWQ8y9dmEByAR4Q78Kv3gsA6vPS3Px1k37bxDlal2BJIs%2F3I9ZF8MyJZay8lm9iIRjXAvpBGhQ5N9nohnnAvroTz4dBR7XsB%2BxDSSsEH4A3RK3yftUuFna6RFOoa6z9OjNnRl3DLAmZGE8GXMNnNErdN9%2B6MHq43kSDxGKKREunt88%2BammZtQJrsOZV5Dx0uDkbxXyGtBCCf7ptNk4IdDKJdBMUrQuLJVzDTxL0ZUzqItXysecCpvhUh4qGqZSmksKt00a%2Fsg%3D%3D--MHdG3tiTChhihgjE--EOTCt%2BvOUB8hfKMv%2FIj3lg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1646729780.1753808989; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 17:09:49 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 17:09:49 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CFD2:B9BC6:E505C3:10EA459:6889005D
Fix to allow cameras in the renderer forward pass · facebookresearch/pytorch3d@8041178 · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/renderer/cameras.py
Copy file name to clipboardExpand all lines: tests/test_render_meshes.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit 8041178
Fix to allow cameras in the renderer forward pass
Summary: Fix to resolve GitHub issue #796 - the cameras were being passed in the renderer forward pass instead of at initialization. The rasterizer was correctly using the cameras passed in the `kwargs` for the projection, but the `cameras` are still part of the `kwargs` for the `get_screen_to_ndc_transform` and `get_ndc_to_screen_transform` functions which is causing issues about duplicate arguments.
Reviewed By: bottler
Differential Revision: D30175679
fbshipit-source-id: 547e88d8439456e728fa2772722df5fa0fe4584d1 parent 4046677 commit 8041178Copy full SHA for 8041178
File tree
Expand file treeCollapse file tree
2 files changed
+73
-11
lines changedFilter options
- pytorch3d/renderer
- tests
Expand file treeCollapse file tree
2 files changed
+73
-11
lines changedpytorch3d/renderer/cameras.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/cameras.py+22-11Lines changed: 22 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
265 |
| - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
266 | 269 |
| |
267 | 270 |
| |
268 | 271 |
| |
| |||
318 | 321 |
| |
319 | 322 |
| |
320 | 323 |
| |
| 324 | + | |
321 | 325 |
| |
322 |
| - | |
| 326 | + | |
323 | 327 |
| |
324 | 328 |
| |
325 | 329 |
| |
| |||
923 | 927 |
| |
924 | 928 |
| |
925 | 929 |
| |
926 |
| - | |
| 930 | + | |
927 | 931 |
| |
928 | 932 |
| |
929 | 933 |
| |
| |||
1044 | 1048 |
| |
1045 | 1049 |
| |
1046 | 1050 |
| |
| 1051 | + | |
1047 | 1052 |
| |
1048 |
| - | |
| 1053 | + | |
1049 | 1054 |
| |
1050 | 1055 |
| |
1051 | 1056 |
| |
| |||
1105 | 1110 |
| |
1106 | 1111 |
| |
1107 | 1112 |
| |
1108 |
| - | |
| 1113 | + | |
1109 | 1114 |
| |
1110 | 1115 |
| |
1111 | 1116 |
| |
| |||
1123 | 1128 |
| |
1124 | 1129 |
| |
1125 | 1130 |
| |
1126 |
| - | |
| 1131 | + | |
1127 | 1132 |
| |
1128 | 1133 |
| |
1129 | 1134 |
| |
| |||
1241 | 1246 |
| |
1242 | 1247 |
| |
1243 | 1248 |
| |
| 1249 | + | |
1244 | 1250 |
| |
1245 |
| - | |
| 1251 | + | |
1246 | 1252 |
| |
1247 | 1253 |
| |
1248 | 1254 |
| |
| |||
1537 | 1543 |
| |
1538 | 1544 |
| |
1539 | 1545 |
| |
1540 |
| - | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
1541 | 1549 |
| |
1542 | 1550 |
| |
1543 | 1551 |
| |
| |||
1563 | 1571 |
| |
1564 | 1572 |
| |
1565 | 1573 |
| |
1566 |
| - | |
1567 | 1574 |
| |
1568 | 1575 |
| |
1569 | 1576 |
| |
| |||
1605 | 1612 |
| |
1606 | 1613 |
| |
1607 | 1614 |
| |
1608 |
| - | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
1609 | 1618 |
| |
1610 | 1619 |
| |
1611 | 1620 |
| |
| |||
1631 | 1640 |
| |
1632 | 1641 |
| |
1633 | 1642 |
| |
1634 |
| - | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
1635 | 1646 |
| |
1636 | 1647 |
|
tests/test_render_meshes.py
Copy file name to clipboardExpand all lines: tests/test_render_meshes.py+51Lines changed: 51 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1146 | 1146 |
| |
1147 | 1147 |
| |
1148 | 1148 |
| |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + |
You can’t perform that action at this time.
0 commit comments