CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 01:48:03 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/"a19343b9934e6afb45d7198b1082eebf"
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=L6dQfZ0L1rj1AIfsk%2F35JO1MZALfGHujluM0quc3SVcTW%2B2z8qbKkfY2mo2tbxBGjAjtSsEmzSKM6eHUcaT6%2Fx0rKIqkBOs046Y0feKmLX61m957ECkiWT5%2BOHjxsP%2FJOalcj39Kkq4ee93AwqvMADppwR4%2B2ppOeDAXDkog8Vswu06IND47EyVvoiR8YjpRtW0KyB547I5CdGphogBLAOWVdQOW8p2i1eqBUbVUc%2FCmAPlQYZGM1zCNWmkLKfBYOp70hIeBI6tMISvw7sUkSg%3D%3D--559rHfQNU%2B39OTB6--gkCLHCN%2FVxNegx66wcgxDg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.681368278.1753667282; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 01:48:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 01:48:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C81C:37D5F1:127E297:1892391:6886D6D2
Bug fix for case where aspect ratio is a float · facebookresearch/pytorch3d@1342964 · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/csrc/rasterize_points/rasterization_utils.cuh
Copy file name to clipboardExpand all lines: pytorch3d/csrc/rasterize_points/rasterization_utils.h
Copy file name to clipboardExpand all lines: pytorch3d/renderer/points/rasterize_points.py
Copy file name to clipboardExpand all lines: tests/test_rasterize_rectangle_images.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit 1342964
Bug fix for case where aspect ratio is a float
Summary:
- Fix the calculation of the non square NDC range when the H and W are not integer multiples.
- Add test for this case
Reviewed By: gkioxari
Differential Revision: D26613213
fbshipit-source-id: df6763cac602e9f1d516b41b432c4d2cfbaa356d1 parent 0345f86 commit 1342964Copy full SHA for 1342964
File tree
Expand file treeCollapse file tree
4 files changed
+15
-18
lines changedFilter options
- pytorch3d
- csrc/rasterize_points
- renderer/points
- tests
Expand file treeCollapse file tree
4 files changed
+15
-18
lines changedpytorch3d/csrc/rasterize_points/rasterization_utils.cuh
Copy file name to clipboardExpand all lines: pytorch3d/csrc/rasterize_points/rasterization_utils.cuh+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 |
| |
15 | 17 |
| |
16 | 18 |
| |
|
pytorch3d/csrc/rasterize_points/rasterization_utils.h
Copy file name to clipboardExpand all lines: pytorch3d/csrc/rasterize_points/rasterization_utils.h+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
|
pytorch3d/renderer/points/rasterize_points.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/points/rasterize_points.py+2-9Lines changed: 2 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| |||
120 | 121 |
| |
121 | 122 |
| |
122 | 123 |
| |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
| 124 | + | |
132 | 125 |
| |
133 | 126 |
| |
134 | 127 |
| |
|
tests/test_rasterize_rectangle_images.py
Copy file name to clipboardExpand all lines: tests/test_rasterize_rectangle_images.py+9-7Lines changed: 9 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
314 | 314 |
| |
315 | 315 |
| |
316 | 316 |
| |
317 |
| - | |
| 317 | + | |
318 | 318 |
| |
319 | 319 |
| |
320 | 320 |
| |
| |||
323 | 323 |
| |
324 | 324 |
| |
325 | 325 |
| |
326 |
| - | |
327 |
| - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
328 | 329 |
| |
329 | 330 |
| |
330 | 331 |
| |
| |||
391 | 392 |
| |
392 | 393 |
| |
393 | 394 |
| |
394 |
| - | |
| 395 | + | |
395 | 396 |
| |
396 | 397 |
| |
397 | 398 |
| |
| |||
646 | 647 |
| |
647 | 648 |
| |
648 | 649 |
| |
649 |
| - | |
650 |
| - | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
651 | 653 |
| |
652 | 654 |
| |
653 | 655 |
| |
| |||
713 | 715 |
| |
714 | 716 |
| |
715 | 717 |
| |
716 |
| - | |
| 718 | + | |
717 | 719 |
| |
718 | 720 |
| |
719 | 721 |
| |
|
You can’t perform that action at this time.
0 commit comments