Commit graph

32 commits

Author SHA1 Message Date
dca1cffb69 Support for windows build via mingw-w64 2021-08-24 20:29:40 +09:00
5e49ef542b Add informative outputs when running 2021-08-24 19:28:21 +09:00
b21d430116 Minor fix/refactoring 2021-08-24 19:08:23 +09:00
8f6ae7797f Remove usage of mutex 2021-08-24 19:02:30 +09:00
13bf59dcc8 Experimental: remove use of mutex when threaded
In theory, it seems that each pixel is only written to once, regardless
of how many threads there are. Theoretically, this means that locks are
not required.
2021-08-24 18:30:15 +09:00
075aab2a57 Update README.md 2021-08-24 15:07:50 +09:00
693b31b501 Fix race-condition between clang-format and program 2021-08-24 15:02:37 +09:00
78dcddeab9 Update 'example02_threaded_raytracing/.lvimrc' 2021-08-24 05:59:05 +00:00
f6da7085ca Add note about OS platform in README.md 2021-08-24 14:56:55 +09:00
4a02d3819f Refactorings by using constexpr constants 2021-08-24 14:20:03 +09:00
5eb0cd5ca1 Add command used to generate .clang-tidy 2021-08-24 14:17:27 +09:00
d25e445147 Modify .clang-tidy, apply fixes/formatting 2021-08-24 14:14:42 +09:00
ef72d87da3 Add .clang-tidy, build rules for format and tidy 2021-08-24 13:27:50 +09:00
c5dfa92f0e Add .lvimrc 2021-08-24 13:16:44 +09:00
c6566394ec Ignore "unused" warning for gray sphere rendering 2021-08-24 12:42:54 +09:00
eec1c251a3 Use clang-format to reformat sources 2021-08-24 12:42:18 +09:00
2d439c3232 Add README.md for Ex02 regarding third-party lib use 2021-08-24 12:14:07 +09:00
e764ed3547 Ex02: Tweak use of mutex when threaded 2021-08-24 11:52:24 +09:00
8596e85c85 Update README.md 2021-08-23 21:40:34 +09:00
c499833748 Add MIT License 2021-08-23 21:37:29 +09:00
23584e8ffd Scene tweaks 2021-08-23 21:29:12 +09:00
ade12df080 Working thread impl 2021-08-23 21:19:15 +09:00
61e6cf17fd Impl mutli-spheres/lights scene 2021-08-23 21:01:46 +09:00
48c5d42c74 Refactorings 2021-08-23 18:32:56 +09:00
653f0cafcb Fix view ratio, fix lighting for gray sphere 2021-08-23 14:46:34 +09:00
e813d33357 Add .clangd 2021-08-23 14:01:03 +09:00
2f8726b705 EX02 Fixes 2021-08-21 17:32:27 +09:00
2bf4dd0cf7 EX02 Working impl, still kind of WIP 2021-08-21 13:10:39 +09:00
fb25c80d0a Rename example02 dir 2021-08-21 11:29:31 +09:00
d8ce741d76 WIP example02, simple ray tracing 2021-08-20 21:25:24 +09:00
ca8ca5928c Create example01 2021-08-20 17:35:11 +09:00
aa6a25199d Init empty commit 2021-08-20 16:49:14 +09:00