CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 19:17:16 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/"ed6b1ae54d6a893ddeb6f93675ecfef9"
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=j2f5fH8ZMNxHgwQG1BfEVwwxzoNyoG8ref1M3mOQ7PUZ0Hxu5RaXxAAgqOqz%2B1vfbhy4WICl%2FBLGZzsRYNJIojbDBjoLiGZb3khGI1QWXXtfvRu8X4rI1eqaDtlkDljX9qhnWckLzczPxY3tFBzpExaNz2%2B4UOk21gGl1F6UlVCeT%2BsoecjRTMS7nLDGImPPqBRTRcu1xlKzANDgY400Iy8tVL07zXcp6FVs8hzWBORjlPXIAjwtgS%2F2D6iH7Qqz%2FKt5GMdSzpcMo8pjrAJTWA%3D%3D--oX6jp2unLMKZpWcX--OTqA2eiSo8gnSwy6Hggu%2BA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1199848083.1753643835; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 19:17:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 19:17:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B188:3467EF:1123889:1670173:68867B3B
fix small face issue for ptmeshdist · facebookresearch/pytorch3d@88f5d79 · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/csrc/utils/geometry_utils.cuh
Copy file name to clipboardExpand all lines: pytorch3d/csrc/utils/geometry_utils.h
Copy file name to clipboardExpand all lines: tests/test_point_mesh_distance.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit 88f5d79
fix small face issue for ptmeshdist
Summary:
Fix small face issue for point_mesh distance computation.
The issue lies in the computation of `IsInsideTriangle` which is unstable and non-symmetrical when faces with small areas are given as input. This diff fixes the issue by returning `False` for `IsInsideTriangle` when small faces are given as input.
Reviewed By: bottler
Differential Revision: D29163052
fbshipit-source-id: be297002f26b5e6eded9394fde00553a37406bee1 parent a343cf5 commit 88f5d79Copy full SHA for 88f5d79
File tree
Expand file treeCollapse file tree
3 files changed
+93
-11
lines changedFilter options
- pytorch3d/csrc/utils
- tests
Expand file treeCollapse file tree
3 files changed
+93
-11
lines changedpytorch3d/csrc/utils/geometry_utils.cuh
Copy file name to clipboardExpand all lines: pytorch3d/csrc/utils/geometry_utils.cuh+32-5Lines changed: 32 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
461 | 461 |
| |
462 | 462 |
| |
463 | 463 |
| |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
464 | 485 |
| |
465 | 486 |
| |
466 | 487 |
| |
| |||
503 | 524 |
| |
504 | 525 |
| |
505 | 526 |
| |
| 527 | + | |
506 | 528 |
| |
507 | 529 |
| |
508 | 530 |
| |
| |||
521 | 543 |
| |
522 | 544 |
| |
523 | 545 |
| |
524 |
| - | |
525 |
| - | |
526 |
| - | |
527 |
| - | |
528 |
| - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
529 | 556 |
| |
530 | 557 |
| |
531 | 558 |
| |
|
pytorch3d/csrc/utils/geometry_utils.h
Copy file name to clipboardExpand all lines: pytorch3d/csrc/utils/geometry_utils.h+31-5Lines changed: 31 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
560 | 560 |
| |
561 | 561 |
| |
562 | 562 |
| |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
563 | 583 |
| |
564 | 584 |
| |
565 | 585 |
| |
| |||
604 | 624 |
| |
605 | 625 |
| |
606 | 626 |
| |
| 627 | + | |
607 | 628 |
| |
608 | 629 |
| |
609 | 630 |
| |
| |||
623 | 644 |
| |
624 | 645 |
| |
625 | 646 |
| |
626 |
| - | |
627 |
| - | |
628 |
| - | |
629 |
| - | |
630 |
| - | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
631 | 657 |
| |
632 | 658 |
| |
633 | 659 |
| |
|
tests/test_point_mesh_distance.py
Copy file name to clipboardExpand all lines: tests/test_point_mesh_distance.py+30-1Lines changed: 30 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
99 |
| - | |
| 99 | + | |
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
| |||
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
120 | 127 |
| |
121 | 128 |
| |
122 | 129 |
| |
| |||
836 | 843 |
| |
837 | 844 |
| |
838 | 845 |
| |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
839 | 868 |
| |
840 | 869 |
| |
841 | 870 |
| |
|
You can’t perform that action at this time.
0 commit comments