CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 20:13:23 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/"1be4b8ff8adcc6c07becc145bb806f61"
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=xe6HM49w5oCf%2Bc5qWkSm0InFmJeKUE9C5i9VabZpBjJ4EmfIvT%2BuSNJ2LlEs16JkGWmOro9QJDsP07TXxRX1HEwqjzQvhAUOAfcZsjTVVkCttw%2Fpju52wdkB4xM7kEAEtlqwDnrWort5LAT8x1orP1cW%2FkyNR%2F3xvmxOKzMRRHoU2%2FnjnsnmbaI35DhJ76Eyt%2F5vrNJrdUIVHld5nHwKrKAmyao%2FOE7vLqu3Skz5R3Jx9GWA1gUs3VFkWRCWIsw98iT94KUxjd1aMahyDt2mEQ%3D%3D--%2BqMHJk23NE5ss2qw--nyOZa6Dh7JnX5zN6fPOWoQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1405657237.1753560802; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 20:13:22 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 20:13:22 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8566:15E61D:80032A:A251CF:688536E2
Allow setting verts_normals on Meshes · facebookresearch/pytorch3d@2bbca5f · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/structures/meshes.py
Copy file name to clipboardExpand all lines: tests/test_mesh_normal_consistency.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit 2bbca5f
Allow setting verts_normals on Meshes
Summary: Add ability to set the vertex normals when creating a Meshes, so that the pluggable loaders can return them from a file.
Reviewed By: nikhilaravi
Differential Revision: D27765258
fbshipit-source-id: b5ddaa00de3707f636f94d9f74d1da12ecce06081 parent 502f15a commit 2bbca5fCopy full SHA for 2bbca5f
File tree
Expand file treeCollapse file tree
3 files changed
+68
-5
lines changedFilter options
- pytorch3d/structures
- tests
Expand file treeCollapse file tree
3 files changed
+68
-5
lines changedpytorch3d/structures/meshes.py
Copy file name to clipboardExpand all lines: pytorch3d/structures/meshes.py+53-4Lines changed: 53 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
210 |
| - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
211 | 218 |
| |
212 | 219 |
| |
213 | 220 |
| |
| |||
229 | 236 |
| |
230 | 237 |
| |
231 | 238 |
| |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
232 | 250 |
| |
233 | 251 |
| |
234 | 252 |
| |
| |||
354 | 372 |
| |
355 | 373 |
| |
356 | 374 |
| |
357 |
| - | |
358 |
| - | |
| 375 | + | |
| 376 | + | |
359 | 377 |
| |
360 | 378 |
| |
361 | 379 |
| |
| |||
412 | 430 |
| |
413 | 431 |
| |
414 | 432 |
| |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
415 | 463 |
| |
416 | 464 |
| |
417 | 465 |
| |
| |||
1253 | 1301 |
| |
1254 | 1302 |
| |
1255 | 1303 |
| |
| 1304 | + | |
1256 | 1305 |
| |
1257 | 1306 |
| |
1258 | 1307 |
| |
| |||
1286 | 1335 |
| |
1287 | 1336 |
| |
1288 | 1337 |
| |
1289 |
| - | |
| 1338 | + | |
1290 | 1339 |
| |
1291 | 1340 |
| |
1292 | 1341 |
| |
|
tests/test_mesh_normal_consistency.py
Copy file name to clipboardExpand all lines: tests/test_mesh_normal_consistency.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
223 | 223 |
| |
224 | 224 |
| |
225 | 225 |
| |
226 |
| - | |
| 226 | + | |
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
|
+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1138 | 1138 |
| |
1139 | 1139 |
| |
1140 | 1140 |
| |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
1141 | 1155 |
| |
1142 | 1156 |
| |
1143 | 1157 |
| |
|
You can’t perform that action at this time.
0 commit comments