CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 23:16:32 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/"71d518488682bedb7218726063155e37"
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=wY5%2Biy235Fv96l3JyOJzLLeDxQhZCR3ZttiOAHD8nzUV0R6J0R36VxApSGhcsl7wz3QhJbngvxS74sl5ZDc2ejOVdKi21W8louOqdVtgkrzAU1vbns6QGyXcdQYQ1Hx2iF0Kp%2B%2FF3TiR4TwN8QtEJE%2BCFYVdthjT4Ec9pSP7PGgFkQTQ%2F%2BjFLJDSb9905iCU0wLe9mhdy%2BBzWLLt%2BhZli4vc780jBRLGJ%2F1pgJfetgs6TdEP81mXsUwVF%2BEprO3mgp039m1%2FTF7RnXgYEQjS5w%3D%3D--0vx3mNJ4CSTf%2BKrD--TZIBO9M7o%2Fdjw0uK%2ByS7sg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1593242815.1753658191; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 23:16:31 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 23:16:31 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C37E:246CCF:BBCE5:121555:6886B34F
update padded in meshes · facebookresearch/pytorch3d@1fb97f9 · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/structures/meshes.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit 1fb97f9
update padded in meshes
Summary:
Three changes to Meshes
1. `num_verts_per_mesh` and `num_faces_per_mesh` are assigned at construction time and are returned without the need for `compute_packed`
2. `update_padded` updates `verts_padded` and shallow copies faces list and faces_padded and existing attributes from construction.
3. `padded_to_packed_idx` does not need `compute_packed`
Reviewed By: nikhilaravi
Differential Revision: D21653674
fbshipit-source-id: dc6815a2e2a925fe4a834fe357919da2b2c145271 parent ae68a54 commit 1fb97f9Copy full SHA for 1fb97f9
File tree
Expand file treeCollapse file tree
2 files changed
+201
-21
lines changedFilter options
- pytorch3d/structures
- tests
Expand file treeCollapse file tree
2 files changed
+201
-21
lines changedpytorch3d/structures/meshes.py
Copy file name to clipboardExpand all lines: pytorch3d/structures/meshes.py+107-15Lines changed: 107 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
465 |
| - | |
466 |
| - | |
467 |
| - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
468 | 468 |
| |
469 | 469 |
| |
470 | 470 |
| |
| |||
478 | 478 |
| |
479 | 479 |
| |
480 | 480 |
| |
481 |
| - | |
482 |
| - | |
483 |
| - | |
484 |
| - | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
485 | 484 |
| |
486 | 485 |
| |
487 | 486 |
| |
| |||
525 | 524 |
| |
526 | 525 |
| |
527 | 526 |
| |
528 |
| - | |
529 | 527 |
| |
530 | 528 |
| |
531 | 529 |
| |
| |||
590 | 588 |
| |
591 | 589 |
| |
592 | 590 |
| |
593 |
| - | |
594 | 591 |
| |
595 | 592 |
| |
596 | 593 |
| |
| |||
664 | 661 |
| |
665 | 662 |
| |
666 | 663 |
| |
667 |
| - | |
668 | 664 |
| |
669 | 665 |
| |
670 | 666 |
| |
671 | 667 |
| |
672 | 668 |
| |
673 | 669 |
| |
674 |
| - | |
| 670 | + | |
675 | 671 |
| |
676 | 672 |
| |
677 | 673 |
| |
| |||
862 | 858 |
| |
863 | 859 |
| |
864 | 860 |
| |
865 |
| - | |
866 |
| - | |
| 861 | + | |
| 862 | + | |
867 | 863 |
| |
868 | 864 |
| |
869 | 865 |
| |
| |||
943 | 939 |
| |
944 | 940 |
| |
945 | 941 |
| |
946 |
| - | |
| 942 | + | |
| 943 | + | |
947 | 944 |
| |
948 | 945 |
| |
949 | 946 |
| |
950 | 947 |
| |
951 | 948 |
| |
952 |
| - | |
| 949 | + | |
| 950 | + | |
953 | 951 |
| |
954 | 952 |
| |
955 | 953 |
| |
| |||
1328 | 1326 |
| |
1329 | 1327 |
| |
1330 | 1328 |
| |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1331 | 1423 |
| |
1332 | 1424 |
| |
1333 | 1425 |
| |
|
+94-6Lines changed: 94 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
342 | 342 |
| |
343 | 343 |
| |
344 | 344 |
| |
345 |
| - | |
346 |
| - | |
347 |
| - | |
| 345 | + | |
348 | 346 |
| |
349 | 347 |
| |
350 | 348 |
| |
351 | 349 |
| |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 | 350 |
| |
356 | 351 |
| |
357 | 352 |
| |
| |||
690 | 685 |
| |
691 | 686 |
| |
692 | 687 |
| |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
693 | 781 |
| |
694 | 782 |
| |
695 | 783 |
| |
|
You can’t perform that action at this time.
0 commit comments