63b636da7cBeginning of metrics, working registry, counter and gauge
Zachary D. Rowitsch
2023-10-21 20:38:55 -04:00
26560effb0Genericize lists, makes it easy to switch between linked list to array backed list
Zachary D. Rowitsch
2023-10-08 00:24:33 -04:00
8a74895b97Default to building benchmarks
Zachary D. Rowitsch
2023-10-08 00:21:37 -04:00
acb1982235Refactor Fn_apply->UTILITIES_fn_apply
Zachary D. Rowitsch
2023-10-07 19:55:56 -04:00
ebfa2ae325Refactor/rename Sasprintf -> UTILITIES_sasprintf
Zachary D. Rowitsch
2023-10-07 19:39:43 -04:00
8ce1969891Refactor RAY_Computations usage to eliminate some calls to malloc
twistdroach
2023-10-03 23:35:45 -04:00
227f5b14baavoid condition is always true warning from gcc 13
twistdroach
2023-10-03 23:33:48 -04:00
e2c819261cRefactor functions with no arguments to make sure they have a prototype
twistdroach
2023-10-02 20:05:58 -04:00
f160c13200Update CMakeLists to put cmake_minimum_required first, update gitignore to ignore goofy mac desktop files
twistdroach
2023-10-02 19:18:54 -04:00
7b27096227Minor cleanup to make OpenMP work on MacOS (with gcc). Properly declare shape vtables & world default reflection ttl
twistdroach
2022-07-08 01:29:30 -04:00
d22592a536Bump CException and Unity versions
Zachary D. Rowitsch
2021-12-22 16:00:23 -05:00
b9a22b7df9Update CException and Unity
twistdroach
2021-01-16 21:25:41 -05:00
c05ef0b5b0Add some return NULLs in case a Throw happens outside of a Try block
twistdroach
2021-01-16 21:21:27 -05:00
d8f21ed9b9Add plane so we can render the shadow glamour shot
Zachary D. Rowitsch
2020-12-20 19:09:52 -05:00
3e7c55cabbParse yaml with materials (but not patterns)
Zachary D. Rowitsch
2020-12-20 18:56:00 -05:00
9bb3cce492Add collected yml files
Zachary D. Rowitsch
2020-12-18 23:29:24 -05:00
49a1b9372aUse a prime number for the number of random samples in sphere_spin
Zachary D. Rowitsch
2020-12-18 23:11:34 -05:00
b44cb88eeeAdd newline at the bottom of test_group.c
twistdroach
2020-12-12 18:40:50 -05:00
9adba3c9e3Rendering working from yaml file. Only cubes are supported & no material definitions yet either...
twistdroach
2020-12-11 23:37:06 -05:00
49aca245c4Begin parsing yaml, can parse camera, lights. Need to add objects. Lots of cleanup & implementation to do
Zachary D. Rowitsch
2020-12-04 22:55:25 -05:00
24f56ea0e1Stop using reallocarray for portability
Zachary D. Rowitsch
2020-12-04 22:53:57 -05:00
41f8d49cb5Begin yaml implementation - parsing light definition seems to work
Zachary D. Rowitsch
2020-11-24 23:00:58 -05:00
3cccce32e6minor cmake bug - debug mode should turn off openmp before we have already included it
Zachary D. Rowitsch
2020-11-22 19:00:00 -05:00
f645c9d8fdFurther NetBSD suppt
Zachary D. Rowitsch
2020-11-13 16:21:03 -05:00
93d4c98c64NetBSD compat changes
Zachary D. Rowitsch
2020-11-13 15:34:28 -05:00
0ee822046bAdd a blend pattern that maps to two individual patterns
Zachary D. Rowitsch
2020-11-11 23:49:31 -05:00
d5ba13b2feMinor updates in CMakeLists
Zachary D. Rowitsch
2020-11-09 22:40:05 -05:00
cd346df062minor readme updates
Zachary D. Rowitsch
2020-11-06 19:17:39 -05:00
8de511279eUpdate readme to include texture map demo
Zachary D. Rowitsch
2020-11-06 19:11:24 -05:00
ba03a54cdeadd a texture_mapping demo that uses a skybox
Zachary D. Rowitsch
2020-11-05 21:53:47 -05:00
c9513278a1Remove errant troubleshooting printf in uv_pattern.c
Zachary D. Rowitsch
2020-11-05 21:52:22 -05:00
6c95741c44Add texture/image mapping
Zachary D. Rowitsch
2020-11-05 05:46:35 -05:00
cb5f685802Add ability to load a canvas from PPM
Zachary D. Rowitsch
2020-11-03 22:47:40 -05:00
1bffff54a3Minor cleanup
Zachary D. Rowitsch
2020-11-01 01:38:16 -05:00
5e0ec8b785Add cube mapping
Zachary D. Rowitsch
2020-11-01 01:36:24 -04:00
113248d3e5Use old preview image for video, since new one is broken for some reason
Zachary D. Rowitsch
2020-10-31 06:26:22 -04:00
d17052033cupdate youtube link to point to sphere_spin with shadow
Zachary D. Rowitsch
2020-10-27 21:27:04 -04:00
f2a472fc90clang formatted my test obj file!
Zachary D. Rowitsch
2020-10-27 21:23:51 -04:00
c887cca377update sphere_spin after refactor
Zachary D. Rowitsch
2020-10-27 21:04:20 -04:00
292704b5deRefactoring to prepare for uv_pattern polymorphism implementation
Zachary D. Rowitsch
2020-10-27 21:01:45 -04:00
d0bb12c6c6remove build-debug dir, didn't realized it was checked in
Zachary D. Rowitsch
2020-10-25 21:13:42 -04:00
2e71225068more mapping funcs for 3d point -> 2d surface for different primitives. need to refactor pattern & uv_pattern.
Zachary D. Rowitsch
2020-10-25 21:08:38 -04:00
ac4774eac1Begin 2d mappings for future texture mapping support, sphere's only and likely need some refactoring
Zachary D. Rowitsch
2020-10-25 18:51:14 -04:00
1c0834c0eaMemory leak in RAY_delete_intersections - now that we preallocate xs, we shouldn't rely on the count to see if we need to free it
Zachary D. Rowitsch
2020-10-24 23:35:00 -04:00
75a2a8908bwildcard build directories in .gitignore
Zachary D. Rowitsch
2020-10-24 18:40:17 -04:00
b86753e165clang-format commit 4
Zachary D. Rowitsch
2020-10-23 23:41:36 -04:00
a30eb00271clang-format commit 3
Zachary D. Rowitsch
2020-10-23 23:27:22 -04:00
6eee5971b0clang-format commit 2
Zachary D. Rowitsch
2020-10-23 23:24:44 -04:00
61b5f7b1f7Begin clang-format
Zachary D. Rowitsch
2020-10-23 23:16:52 -04:00
658373be99Make using jemalloc a configurable option
Zachary D. Rowitsch
2020-10-22 23:39:28 -04:00
f4bf8112aeUse jemalloc & grow RAY_Intersections *2 instead of +1 when it runs out of space
Zachary D. Rowitsch
2020-10-22 23:26:36 -04:00
9d3dc45883Correct bad rebase commit - LIGHTS_AreaLights -> LIGHTS_Lights
Zachary D. Rowitsch
2020-10-22 00:01:34 -04:00
fdeae659e7Add frame timer to the sphere_spin demo
Zachary D. Rowitsch
2020-10-21 23:57:55 -04:00
a34e4409d0Add area lights to shading calculation, refactor pointlight to be simple case of arealight instead of it's own struct
Zachary D. Rowitsch
2020-10-21 23:39:58 -04:00
c3d395eca8sphere demo looks much better with more jitter points
Zachary D. Rowitsch
2020-10-20 00:54:42 -04:00
6f206723f0Detect omp and ifdef out pragmas so we don't need to compile with -wno-unknown-pragmas, Instead of using locking for the sequence indexing, use a per-thread ndx
Zachary D. Rowitsch
2020-10-20 00:29:22 -04:00
3c57fc9cd6Use area light in the sphere demo
Zachary D. Rowitsch
2020-10-19 23:06:22 -04:00
fdab3c4becAdd simple random sequence and fix sequence critical section
Zachary D. Rowitsch
2020-10-19 23:06:05 -04:00
2ee621e5c5Area lights now support sequences for jittering...need some sequence implementations though....
Zachary D. Rowitsch
2020-10-19 22:08:03 -04:00
f818689eeeWoops - failed to initalize t in sphere_spin
Zachary D. Rowitsch
2020-10-18 19:15:29 -04:00
90927aa5a4Finish adding area lights
Zachary D. Rowitsch
2020-10-17 23:39:34 -04:00
5ba216a4b4Add simple spinning around a sphere
Zachary D. Rowitsch
2020-10-17 23:36:47 -04:00
6ed7ef5bc0Ignore just the failing cone tests, not the entire set of cone tests
Zachary D. Rowitsch
2020-10-17 18:42:42 -04:00
18fdf844bcbegin prepping for area lights & softer shadows
Zachary D. Rowitsch
2020-10-14 23:38:35 -04:00
48b4e3735fAdd CSG divide method
Zachary D. Rowitsch
2020-10-12 18:44:41 -04:00
8f819c6ffcminor readme updates
Zachary D. Rowitsch
2020-10-10 23:43:35 -04:00
c3cef0cf4eAdd obj file normalizer to auto scale to unit cube and set at origin
Zachary D. Rowitsch
2020-10-10 20:09:04 -04:00
a0242709ecRename the global exception var to something else to satisfy the static analyzer :(
Zachary D. Rowitsch
2020-10-10 09:49:11 -04:00
8d645ca8d3Move main dir -> demo
Zachary D. Rowitsch
2020-10-10 09:44:50 -04:00
b891f310b9add beast timing note
Zachary D. Rowitsch
2020-10-09 22:49:28 -04:00
fcdb7cceb8Use AVX2 intrinsics to speed up MATRIX_multiply_tuple, which seems to be heaviest hot spot at the moment
Zachary D. Rowitsch
2020-10-09 22:15:36 -04:00
fd7b1612eeAdd bounding volume hierarchies. Move groups to a linked list implementation instead of the array backed list (lots of removals with BVH calculation). Turn off OpenMP for Debug builds
Zachary D. Rowitsch
2020-10-08 21:45:29 -04:00
98fe9c79b2Cache bounds computation for groups & CSG - makes huge perf difference (obviously)
Zachary D. Rowitsch
2020-10-06 23:12:57 -04:00
595c005fdcAdd bounds checking using axis aligned bounding boxes
Zachary D. Rowitsch
2020-10-06 22:53:14 -04:00
34ca0eb36eGet cmake looking for openmp & simple parallelization of render loop
Zachary D. Rowitsch
2020-10-02 00:06:27 -04:00
bc478d660aadd Constructive Solid Geometry support
Zachary D. Rowitsch
2020-10-04 20:26:09 -04:00
e3ecba7b84pull raytracer stuff out of datastructures
Zachary D. Rowitsch
2020-10-03 11:34:11 -04:00
fbfae1a2b4minor const additions in camera.c
Zachary D. Rowitsch
2020-10-03 11:21:26 -04:00