Commit graph

1184 commits

Author SHA1 Message Date
Matt Pharr
c75285cb13 GLDisplay->BufferDisplay 2022-04-20 06:17:03 -07:00
Matt Pharr
308b899b32 gpu build fixes 2022-04-18 16:36:54 -07:00
Matt Pharr
741f4c2a8b attempt to fix linux github actions build encore 2 2022-04-18 16:10:40 -07:00
Matt Pharr
9e04cbac38 attempt to fix linux github actions build encore 2022-04-18 15:46:54 -07:00
Matt Pharr
8779f2aa07 attempt to fix linux github actions build 2022-04-18 15:43:49 -07:00
Matt Pharr
c8803c9a19 Merge branch 'master' into interactive 2022-04-18 13:07:45 -07:00
Matt Pharr
fedea8f642 Add support for qoi format images
https://qoiformat.org
2022-04-18 13:06:43 -07:00
Matt Pharr
9cae43f1d1 ImageIO tests: generate u8 reference data for PNG tests
(Allows cleaning up some unnecessary complexity in checking that
round trips come out the same.)
2022-04-18 12:54:35 -07:00
Matt Pharr
ed157a3a36 Fix Image::Write() so that RGBA images don't lose their alpha channel
Also, slightly simplify Image::WritePNG()
2022-04-18 09:46:16 -07:00
Matt Pharr
49796fe36a imgtool convert: only convert to fp32 when useful
(Thus, for example, imgtool convert foo.png --outfile bar.png now always gives
a pixel-identical result; before the dithering in the reverse conversion would
very occasionally give a different pixel value.)
2022-04-18 09:41:50 -07:00
Matt Pharr
7cba4694c6 fix for non-GPU builds, CUDA pth refactor (untested) 2022-04-17 19:55:52 +02:00
Matt Pharr
7dbf273054 Delete blender exporter README (centeralizing this stuff on the website) 2022-04-07 17:17:28 -07:00
Matt Pharr
d488df9161 Delete blender exporter README (centeralizing this stuff on the website) 2022-04-07 17:17:15 -07:00
Matt Pharr
d70dce2e1e record frames / print camera WIP 2022-04-07 17:16:54 -07:00
Matt Pharr
9e0c78621c details 2022-03-23 15:33:14 -07:00
Matt Pharr
6b9d8d4f6d remove denoiser 2022-03-23 15:32:33 -07:00
Matt Pharr
632ad3e35d cleanups 2022-03-23 14:01:07 -07:00
Matt Pharr
1ec1ad161e Merge branch 'master' into interactive 2022-03-23 12:24:59 -07:00
Matt Pharr
d6c295097d Merge branch 'master' of https://github.com/mmp/pbrt-v4 2022-03-23 11:04:46 -07:00
Matt Pharr
d24b33cc43 Windows: check return value of CreateFileW() correctly
On failure, it doesn't return NULL, but returns INVALID_HANDLE_VALUE...

This was causing pbrt to cryptically report "The parameter is incorrect"
when it should have been saying that a file was not found.
2022-03-23 10:59:26 -07:00
Matt Pharr
87dcc6ab90 Windows: set console mode so colored text output works 2022-03-23 10:47:59 -07:00
Matt Pharr
81c2a8135b Disable clang-12 build in github actions.
Workaround multi-day github actions flakiness:

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/l/llvm-toolchain-12/libclang-12-dev_12.0.0-3ubuntu1~20.04.4_amd64.deb  404  Not Found [IP: 52.252.75.106 80]

et al.
2022-03-23 05:53:19 -07:00
Matt Pharr
ede59e104f details 2022-03-22 12:19:38 -07:00
Matt Pharr
5ed928205b cleanup Render() 2022-03-22 11:33:24 -07:00
Matt Pharr
911bbc6348 clang format 2022-03-22 10:10:57 -07:00
Matt Pharr
07f3bf50a4 util/gui 2022-03-22 10:07:17 -07:00
Matt Pharr
0a9fdbdd11 checkpoint 2022-03-22 10:02:38 -07:00
Matt Pharr
461c0e0878 Merge branch 'master' into interactive 2022-03-21 13:33:41 -07:00
Matt Pharr
3e9c29b42e Fix Windows build 2022-03-21 13:31:06 -07:00
Matt Pharr
b04ecc5ac8 denoiser factor out 2022-03-21 12:25:29 -07:00
Matt Pharr
83c3fa9221 WavefrontPathIntegrator: move display server logic out of this Render() method
Ongoing work making Render() simpler and moving secondary functionality
into separate methods...
2022-03-21 12:01:37 -07:00
Matt Pharr
3d7692233e WavefrontPathIntegrator: move GPU alloc prefetch to separate method
(Trying to clean up Render() and make it easier to understand.)
2022-03-21 08:20:11 -07:00
Matt Pharr
ed27136cb0 interactive + CPU support 2022-03-19 15:19:13 -07:00
Matt Pharr
a200fd9b24 simplify cudagl.h 2022-03-19 12:47:24 -07:00
Matt Pharr
4570ed0da3 cuda/opengl interop zomg 2022-03-19 10:49:26 -07:00
Matt Pharr
d466d1bce0 Add glad for OpenGL 2022-03-19 09:53:16 -07:00
Matt Pharr
91c06721f1 Film::ResetPixel(), FWIW 2022-03-18 14:56:44 -07:00
Matt Pharr
1b35b36ab0 cleanups 2022-03-18 12:08:30 -07:00
Daniel Cousens
9afc099ec9
Fix small typo (#231) 2022-03-18 10:02:07 -07:00
Matt Pharr
84c8888a21 checkpoint glfw approach... 2022-03-18 07:29:47 -07:00
Matt Pharr
c8ff061dc7 Simplified interactive; wavefront renderer only but much cleaner 2022-03-16 15:37:33 -07:00
Matt Pharr
0014012485 WIP (nvm) Windows efforts 2022-03-16 12:41:58 -07:00
Matt Pharr
bdba9c3f6a linux keyboard control 2022-03-16 05:07:29 -07:00
Matt Pharr
b5ae20a50a initial interactive hack 2022-03-15 12:46:54 -07:00
Alban
fd3c25bf10
Bugfix: wrong stride (#230) 2022-03-02 10:50:24 -08:00
Matt Pharr
999be053fb Add SpectralFilm.
This writes spectral images using the layout proposed in "An OpenEXR Layout
for Sepctral Images" by Fichet et al., https://jcgt.org/published/0010/03/01/.
2022-03-01 13:09:28 -08:00
Matt Pharr
e9d3167055 Add support for reading/writing string metadata in EXR files 2022-03-01 11:01:55 -08:00
ruevs
a2789a7c8f
Make submodule URLs consistent (#229)
Add `.git` to the double-conversion and zlib submodules URLs.
2022-02-23 08:14:36 -08:00
Matt Pharr
16b0e10e6f GPU path: Workaround bug in recent NVIDIA drivers.
Issue #226.
2022-02-09 13:47:51 -08:00
Matt Pharr
c7e3879c78
Unicode normalization (#225)
Normalize unicode strings for user-supplied names (objects, materials,
media, etc.)  Note that there is no need to normalize strings for things
like the name of the selected sampler, light source types, or the
parameters provided to pbrt objects, as all of the valid ones are plain old
ASCII text. We also intentionally do not normalize pathnames, as doing so
can cause all sorts of trouble.
2022-02-02 07:10:03 -08:00