CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 22:51:08 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/"24e6b27c5cd8087f2931da5e05e90e7f"
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=T%2BoL3bq7169lS8KMdLXNtpKb4KfM6jVcOV%2FID0zAK8Dm35%2BDyZpzwX74ggRFmsZRtZij5Qhm0vQDVc9JCBW41JPnxI4rb0DbTjsh%2B6yMQCN252I5D9gNx0WHwmYqcb9VbcmhNrOAF7Iyt1bM8BshNFKpjtBMOy1Wtw%2FQqxmBGhhA1RwNx0kIEo5OQD7KKNpakptLtfTsGmRShAxwRDg4Z0ej%2BFSN1B61lv5MFrfBVo6X%2B2qQDOG9VoSyPu2dqD5ojqIo7JP4bZaX2NuGOEO25A%3D%3D--MWFk%2F40PwqnWIvfF--%2FM0UWknpuTtt1Khh6%2FSwbg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1446470032.1753656667; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 22:51:07 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 22:51:07 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B118:3B05D7:11EC68F:17A6050:6886AD5A
align_corners and padding for TexturesUV · facebookresearch/pytorch3d@e25ccab · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/renderer/mesh/textures.py
Copy file name to clipboardExpand all lines: pytorch3d/structures/meshes.py
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit e25ccab
align_corners and padding for TexturesUV
Summary:
Allow, and make default, align_corners=True for texture maps. Allow changing the padding_mode and set the default to be "border" which produces more logical results. Some new documentation.
The previous behavior corresponds to padding_mode="zeros" and align_corners=False.
Reviewed By: gkioxari
Differential Revision: D23268775
fbshipit-source-id: 58d6229baa591baa69705bcf97471c80ba3651de1 parent d0cec02 commit e25ccabCopy full SHA for e25ccab
File tree
Expand file treeCollapse file tree
8 files changed
+105
-32
lines changedFilter options
- pytorch3d
- renderer/mesh
- structures
- tests
- data
Expand file treeCollapse file tree
8 files changed
+105
-32
lines changedpytorch3d/renderer/mesh/textures.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/mesh/textures.py+74-10Lines changed: 74 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 |
| - | |
| 101 | + | |
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
| 107 | + | |
| 108 | + | |
108 | 109 |
| |
109 | 110 |
| |
110 | 111 |
| |
| |||
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
128 |
| - | |
| 129 | + | |
129 | 130 |
| |
130 | 131 |
| |
131 | 132 |
| |
| |||
535 | 536 |
| |
536 | 537 |
| |
537 | 538 |
| |
| 539 | + | |
| 540 | + | |
538 | 541 |
| |
539 | 542 |
| |
540 | 543 |
| |
| |||
543 | 546 |
| |
544 | 547 |
| |
545 | 548 |
| |
546 |
| - | |
| 549 | + | |
| 550 | + | |
547 | 551 |
| |
548 |
| - | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
549 | 581 |
| |
550 | 582 |
| |
| 583 | + | |
| 584 | + | |
551 | 585 |
| |
552 | 586 |
| |
553 | 587 |
| |
| |||
632 | 666 |
| |
633 | 667 |
| |
634 | 668 |
| |
635 |
| - | |
| 669 | + | |
636 | 670 |
| |
637 | 671 |
| |
638 | 672 |
| |
| |||
698 | 732 |
| |
699 | 733 |
| |
700 | 734 |
| |
701 |
| - | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
702 | 740 |
| |
703 | 741 |
| |
704 | 742 |
| |
705 |
| - | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
706 | 748 |
| |
707 | 749 |
| |
708 | 750 |
| |
| |||
785 | 827 |
| |
786 | 828 |
| |
787 | 829 |
| |
| 830 | + | |
| 831 | + | |
788 | 832 |
| |
789 | 833 |
| |
790 | 834 |
| |
| |||
859 | 903 |
| |
860 | 904 |
| |
861 | 905 |
| |
862 |
| - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
863 | 912 |
| |
864 | 913 |
| |
865 | 914 |
| |
| |||
881 | 930 |
| |
882 | 931 |
| |
883 | 932 |
| |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
884 | 944 |
| |
885 | 945 |
| |
886 | 946 |
| |
| |||
896 | 956 |
| |
897 | 957 |
| |
898 | 958 |
| |
899 |
| - | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
900 | 964 |
| |
901 | 965 |
| |
902 | 966 |
| |
|
pytorch3d/structures/meshes.py
Copy file name to clipboardExpand all lines: pytorch3d/structures/meshes.py+5-1Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1505 | 1505 |
| |
1506 | 1506 |
| |
1507 | 1507 |
| |
1508 |
| - | |
| 1508 | + | |
1509 | 1509 |
| |
1510 | 1510 |
| |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
1511 | 1515 |
| |
1512 | 1516 |
| |
1513 | 1517 |
| |
|
tests/data/test_blurry_textured_rendering.png
Copy file name to clipboard16 Bytes
Loading
tests/data/test_texture_map_back.png
Copy file name to clipboard-181 Bytes
Loading
tests/data/test_texture_map_front.png
Copy file name to clipboard70 Bytes
Loading
+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
373 | 373 |
| |
374 | 374 |
| |
375 | 375 |
| |
376 |
| - | |
| 376 | + | |
377 | 377 |
| |
378 | 378 |
| |
379 |
| - | |
| 379 | + | |
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
|
+4-6Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
411 | 411 |
| |
412 | 412 |
| |
413 | 413 |
| |
414 |
| - | |
| 414 | + | |
415 | 415 |
| |
416 |
| - | |
| 416 | + | |
417 | 417 |
| |
418 |
| - | |
| 418 | + | |
419 | 419 |
| |
420 | 420 |
| |
421 | 421 |
| |
| |||
425 | 425 |
| |
426 | 426 |
| |
427 | 427 |
| |
428 |
| - | |
429 |
| - | |
430 |
| - | |
| 428 | + | |
431 | 429 |
| |
432 | 430 |
| |
433 | 431 |
| |
|
+20-13Lines changed: 20 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
443 | 443 |
| |
444 | 444 |
| |
445 | 445 |
| |
446 |
| - | |
447 |
| - | |
448 |
| - | |
449 |
| - | |
450 |
| - | |
451 |
| - | |
452 |
| - | |
453 |
| - | |
454 |
| - | |
455 |
| - | |
456 |
| - | |
457 |
| - | |
458 |
| - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
459 | 466 |
| |
460 | 467 |
| |
461 | 468 |
| |
|
You can’t perform that action at this time.
0 commit comments