CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 16:27:54 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/"3a140baaf614820794b9def22bf6dde1"
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=Vy%2BicwWSzdu9xx95OiOqjFikx7sQB2CBsXPpVRSdTwwlV1cQXaOIWMOZW6pc%2F7zwxjHjowj0pFSLRJLRnUwJfRLZ%2FK%2BFUGOsa0FREpk82%2BbHgTbf76xvhKPWRluUYOydFwJmkwGpHuDEgo3CiALAxaLrYtLqJZgujbSejqnapAeWbheyCsQr4VxC3ksFqZAJghcFORIFW5fM1o%2BelhCHui%2BK%2B8asGIkuUtDayDsPx%2FBZW6sXyWoD0dWT65IlQjA1Pr%2FJHARRapATlqcuHqY0xg%3D%3D--ClOruIte1vc98J2j--tjWupipuqLh%2Fwyo%2BQ84O4g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1568970021.1753633673; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 16:27:53 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 16:27:53 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B5DC:290E4F:67D5C5:88A454:68865389
Lighting broadcasting bug fix · facebookresearch/pytorch3d@bc8361f · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/renderer/blending.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/lighting.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/mesh/shading.py
Copy file name to clipboardExpand all lines: tests/test_render_meshes.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit bc8361f
Lighting broadcasting bug fix
Summary: Fixed multiple issues with shape broadcasting in lighting, shading and blending and updated the tests.
Reviewed By: bottler
Differential Revision: D28997941
fbshipit-source-id: d3ef93f979344076b1d9098a86178b4da63844c81 parent 9de627e commit bc8361fCopy full SHA for bc8361f
File tree
Expand file treeCollapse file tree
4 files changed
+73
-31
lines changedFilter options
- pytorch3d/renderer
- mesh
- tests
Expand file treeCollapse file tree
4 files changed
+73
-31
lines changedpytorch3d/renderer/blending.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/blending.py+13-5Lines changed: 13 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 | 9 |
| |
11 | 10 |
| |
12 | 11 |
| |
| |||
117 | 116 |
| |
118 | 117 |
| |
119 | 118 |
| |
120 |
| - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 |
| |
122 | 125 |
| |
123 | 126 |
| |
| |||
184 | 187 |
| |
185 | 188 |
| |
186 | 189 |
| |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
187 | 197 |
| |
188 | 198 |
| |
189 |
| - | |
190 | 199 |
| |
191 |
| - | |
192 | 200 |
| |
193 | 201 |
| |
194 | 202 |
| |
|
pytorch3d/renderer/lighting.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/lighting.py+16-2Lines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
256 | 268 |
| |
257 |
| - | |
| 269 | + | |
| 270 | + | |
258 | 271 |
| |
259 | 272 |
| |
260 | 273 |
| |
261 |
| - | |
| 274 | + | |
| 275 | + | |
262 | 276 |
| |
263 | 277 |
| |
264 | 278 |
| |
|
pytorch3d/renderer/mesh/shading.py
Copy file name to clipboardExpand all lines: pytorch3d/renderer/mesh/shading.py+8-2Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 |
| |
46 | 52 |
| |
47 | 53 |
| |
|
tests/test_render_meshes.py
Copy file name to clipboardExpand all lines: tests/test_render_meshes.py+36-22Lines changed: 36 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
| |||
53 | 54 |
| |
54 | 55 |
| |
55 | 56 |
| |
| 57 | + | |
| 58 | + | |
56 | 59 |
| |
57 | 60 |
| |
58 | 61 |
| |
| |||
107 | 110 |
| |
108 | 111 |
| |
109 | 112 |
| |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
117 | 120 |
| |
118 | 121 |
| |
119 | 122 |
| |
| |||
135 | 138 |
| |
136 | 139 |
| |
137 | 140 |
| |
138 |
| - | |
| 141 | + | |
139 | 142 |
| |
140 | 143 |
| |
141 | 144 |
| |
| |||
144 | 147 |
| |
145 | 148 |
| |
146 | 149 |
| |
147 |
| - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
148 | 156 |
| |
149 | 157 |
| |
150 | 158 |
| |
| |||
269 | 277 |
| |
270 | 278 |
| |
271 | 279 |
| |
272 |
| - | |
| 280 | + | |
| 281 | + | |
273 | 282 |
| |
274 | 283 |
| |
275 | 284 |
| |
| |||
291 | 300 |
| |
292 | 301 |
| |
293 | 302 |
| |
294 |
| - | |
| 303 | + | |
295 | 304 |
| |
296 | 305 |
| |
297 | 306 |
| |
298 | 307 |
| |
299 |
| - | |
300 |
| - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
301 | 311 |
| |
302 | 312 |
| |
303 | 313 |
| |
304 | 314 |
| |
305 |
| - | |
306 |
| - | |
307 |
| - | |
308 |
| - | |
309 |
| - | |
310 |
| - | |
311 |
| - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
312 | 325 |
| |
313 | 326 |
| |
314 | 327 |
| |
| |||
317 | 330 |
| |
318 | 331 |
| |
319 | 332 |
| |
320 |
| - | |
| 333 | + | |
| 334 | + | |
321 | 335 |
| |
322 | 336 |
| |
323 | 337 |
| |
324 | 338 |
| |
325 | 339 |
| |
326 | 340 |
| |
327 |
| - | |
| 341 | + | |
328 | 342 |
| |
329 | 343 |
| |
330 | 344 |
| |
|
You can’t perform that action at this time.
0 commit comments