Commit graph

24 commits

Author SHA1 Message Date
Stephen Seo ad84fe083d Ex02: Minor improvements 2021-09-01 21:14:56 +09:00
Stephen Seo f6439b57ce Fix warning regarding unused variables 2021-08-25 14:37:07 +09:00
Stephen Seo d61aa164c0 Impl png output of image 2021-08-25 14:32:19 +09:00
Stephen Seo 507c699ac0 WIP output PNG image 2021-08-25 11:57:54 +09:00
Stephen Seo 8c554fece8 Fix included glm target 2021-08-25 11:18:22 +09:00
Stephen Seo c2e865df7d Move commented code to area that makes more sense 2021-08-24 20:39:04 +09:00
Stephen Seo dca1cffb69 Support for windows build via mingw-w64 2021-08-24 20:29:40 +09:00
Stephen Seo 5e49ef542b Add informative outputs when running 2021-08-24 19:28:21 +09:00
Stephen Seo b21d430116 Minor fix/refactoring 2021-08-24 19:08:23 +09:00
Stephen Seo 8f6ae7797f Remove usage of mutex 2021-08-24 19:02:30 +09:00
Stephen Seo 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
Stephen Seo 4a02d3819f Refactorings by using constexpr constants 2021-08-24 14:20:03 +09:00
Stephen Seo d25e445147 Modify .clang-tidy, apply fixes/formatting 2021-08-24 14:14:42 +09:00
Stephen Seo c6566394ec Ignore "unused" warning for gray sphere rendering 2021-08-24 12:42:54 +09:00
Stephen Seo eec1c251a3 Use clang-format to reformat sources 2021-08-24 12:42:18 +09:00
Stephen Seo e764ed3547 Ex02: Tweak use of mutex when threaded 2021-08-24 11:52:24 +09:00
Stephen Seo 23584e8ffd Scene tweaks 2021-08-23 21:29:12 +09:00
Stephen Seo ade12df080 Working thread impl 2021-08-23 21:19:15 +09:00
Stephen Seo 61e6cf17fd Impl mutli-spheres/lights scene 2021-08-23 21:01:46 +09:00
Stephen Seo 48c5d42c74 Refactorings 2021-08-23 18:32:56 +09:00
Stephen Seo 653f0cafcb Fix view ratio, fix lighting for gray sphere 2021-08-23 14:46:34 +09:00
Stephen Seo 2f8726b705 EX02 Fixes 2021-08-21 17:32:27 +09:00
Stephen Seo 2bf4dd0cf7 EX02 Working impl, still kind of WIP 2021-08-21 13:10:39 +09:00
Stephen Seo fb25c80d0a Rename example02 dir 2021-08-21 11:29:31 +09:00