CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 14:19:39 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/"c5162eaa8c013ff3b95d3c0ec3042f51"
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=1%2BsJxmnQP0lCa%2B9VGzmVKkCzX5HZFXIS%2BfIfHboaRzCKyrQYQmi3Jr7TWWqK%2Bw3oPhqIpOI7pamC3DeiHYDA3h7ZV6AH3pjfwb%2FrfIVfVwkN015rHoX0GwwvxnNnsoYUo9ktkns8HYif3hMRJ79%2FxOP4fDY8j9HKBV0S96WO9d8YsEtXgRy6UWh6DoNyMzQ1TbvGa5cBYAD5NPYOQ%2FDXwAU3K471B6Fde0UzhRFfTP5L9Ctw67A1JwcDiFIYo4O4EG2yRdUARD%2BVRwna4Jqopg%3D%3D--sT%2BuE5rZj1gn9zVX--mQ5FunYJJHC6cjoxAgpd0w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.232182999.1753625978; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 14:19:38 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 14:19:38 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: ED78:21EF6:587287:7531DD:6886357A
Texturing API updates · facebookresearch/pytorch3d@a393296 · GitHub
Copy file name to clipboardExpand all lines: docs/tutorials/camera_position_optimization_with_differentiable_rendering.ipynb
Copy file name to clipboardExpand all lines: docs/tutorials/render_textured_meshes.ipynb
Copy file name to clipboardExpand all lines: pytorch3d/datasets/shapenet_base.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/__init__.py
Copy file name to clipboard
Copy file name to clipboardExpand all lines: pytorch3d/renderer/mesh/shader.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit a393296
Texturing API updates
Summary:
A fairly big refactor of the texturing API with some breaking changes to how textures are defined.
Main changes:
- There are now 3 types of texture classes: `TexturesUV`, `TexturesAtlas` and `TexturesVertex`. Each class:
- has a `sample_textures` function which accepts the `fragments` from rasterization and returns `texels`. This means that the shaders will not need to know the type of the mesh texture which will resolve several issues people were reporting on GitHub.
- has a `join_batch` method for joining multiple textures of the same type into a batch
Reviewed By: gkioxari
Differential Revision: D21067427
fbshipit-source-id: 4b346500a60181e72fdd1b0dd89b5505c7a339261 parent b73d3d6 commit a393296Copy full SHA for a393296
File tree
Expand file treeCollapse file tree
19 files changed
+1864
-777
lines changedFilter options
- docs/tutorials
- pytorch3d
- datasets
- io
- renderer
- mesh
- structures
- tests
- data
Expand file treeCollapse file tree
19 files changed
+1864
-777
lines changeddocs/tutorials/camera_position_optimization_with_differentiable_rendering.ipynb
Copy file name to clipboardExpand all lines: docs/tutorials/camera_position_optimization_with_differentiable_rendering.ipynb+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
520 | 520 |
| |
521 | 521 |
| |
522 | 522 |
| |
| 523 | + | |
| 524 | + | |
| 525 | + | |
523 | 526 |
| |
524 | 527 |
| |
525 | 528 |
| |
| |||
533 | 536 |
| |
534 | 537 |
| |
535 | 538 |
| |
| 539 | + | |
| 540 | + | |
| 541 | + | |
536 | 542 |
| |
537 | 543 |
| |
538 | 544 |
| |
|
docs/tutorials/render_textured_meshes.ipynb
Copy file name to clipboardExpand all lines: docs/tutorials/render_textured_meshes.ipynb+9-3Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
| 87 | + | |
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
| 100 | + | |
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
319 |
| - | |
| 319 | + | |
320 | 320 |
| |
321 | 321 |
| |
322 | 322 |
| |
| |||
563 | 563 |
| |
564 | 564 |
| |
565 | 565 |
| |
| 566 | + | |
| 567 | + | |
| 568 | + | |
566 | 569 |
| |
567 | 570 |
| |
568 | 571 |
| |
| |||
575 | 578 |
| |
576 | 579 |
| |
577 | 580 |
| |
| 581 | + | |
| 582 | + | |
| 583 | + | |
578 | 584 |
| |
579 | 585 |
| |
580 | 586 |
| |
|
pytorch3d/datasets/shapenet_base.py
Copy file name to clipboardExpand all lines: pytorch3d/datasets/shapenet_base.py+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 |
| - | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
117 |
| - | |
| 116 | + | |
| 117 | + | |
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
|
+41-14Lines changed: 41 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
| 15 | + | |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
| |||
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 |
| |
45 | 50 |
| |
46 | 51 |
| |
| |||
65 | 70 |
| |
66 | 71 |
| |
67 | 72 |
| |
68 |
| - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
69 | 76 |
| |
70 | 77 |
| |
71 | 78 |
| |
| |||
227 | 234 |
| |
228 | 235 |
| |
229 | 236 |
| |
230 |
| - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
231 | 245 |
| |
232 | 246 |
| |
233 | 247 |
| |
| |||
246 | 260 |
| |
247 | 261 |
| |
248 | 262 |
| |
249 |
| - | |
250 |
| - | |
251 |
| - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
252 | 270 |
| |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
261 | 288 |
| |
262 | 289 |
| |
263 | 290 |
| |
|
pytorch3d/renderer/__init__.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/__init__.py+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
pytorch3d/renderer/mesh/__init__.py
Copy file name to clipboard+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 | 15 |
| |
17 | 16 |
| |
18 |
| - | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
|
pytorch3d/renderer/mesh/shader.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/mesh/shader.py+30-51Lines changed: 30 additions & 51 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
| |||
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
16 |
| - | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
| 107 | + | |
| 108 | + | |
108 | 109 |
| |
109 | 110 |
| |
| 111 | + | |
110 | 112 |
| |
111 | 113 |
| |
112 | 114 |
| |
| |||
115 | 117 |
| |
116 | 118 |
| |
117 | 119 |
| |
118 |
| - | |
| 120 | + | |
119 | 121 |
| |
120 | 122 |
| |
121 | 123 |
| |
| |||
154 | 156 |
| |
155 | 157 |
| |
156 | 158 |
| |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
157 | 165 |
| |
158 | 166 |
| |
159 | 167 |
| |
| |||
210 | 218 |
| |
211 | 219 |
| |
212 | 220 |
| |
213 |
| - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
214 | 224 |
| |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
219 |
| - | |
220 |
| - | |
221 |
| - | |
222 |
| - | |
223 |
| - | |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
| 225 | + | |
| 226 | + | |
228 | 227 |
| |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
241 |
| - | |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
261 | 240 |
| |
262 | 241 |
| |
263 | 242 |
| |
| |||
291 | 270 |
| |
292 | 271 |
| |
293 | 272 |
| |
294 |
| - | |
| 273 | + | |
295 | 274 |
| |
296 | 275 |
| |
297 | 276 |
| |
|
You can’t perform that action at this time.
0 commit comments