ad84fe083d
Ex02: Minor improvements
2021-09-01 21:14:56 +09:00
47ca6ee0c6
Update README.md
2021-08-25 19:24:56 +09:00
f6439b57ce
Fix warning regarding unused variables
2021-08-25 14:37:07 +09:00
962085d475
Merge branch 'png_output'
2021-08-25 14:34:18 +09:00
d61aa164c0
Impl png output of image
2021-08-25 14:32:19 +09:00
507c699ac0
WIP output PNG image
2021-08-25 11:57:54 +09:00
5f42cf53b8
CMakeLists.txt works with mingw-cmake, removing buildWin/Makefile
2021-08-25 11:19:14 +09:00
8c554fece8
Fix included glm target
2021-08-25 11:18:22 +09:00
bb6a05f191
Merge remote-tracking branch 'sgitea/main'
2021-08-25 10:59:11 +09:00
3340f4e422
Make CMakeLists.txt more platform agnostic
2021-08-25 10:58:41 +09:00
c2e865df7d
Move commented code to area that makes more sense
2021-08-24 20:39:04 +09:00
9cff49e09d
Revert "Fix buildWin/Makefile"
...
This reverts commit d4ff58db53
.
A console window will probably be handy for the outputs that are
text-only.
2021-08-24 20:36:57 +09:00
d4ff58db53
Fix buildWin/Makefile
2021-08-24 20:33:16 +09:00
a34cec881d
Update .gitignore
...
Windows build leaves built objs in src directory.
2021-08-24 20:31:05 +09:00
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