Commit graph

23 commits

Author SHA1 Message Date
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
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
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
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