46 Commits
Author SHA1 Message Date
josh 0ba0ebfe71 Load scene render params 2026-11-02 22:28:18 -05:00
josh a3684b20b6 Add Parser::build_scene() 2026-11-02 22:12:34 -05:00
josh c1c8c46ac7 Add background RenderParams entry 2026-11-02 22:07:22 -05:00
josh 0a979c487c Invoke propane to parse input file 2026-11-02 22:05:01 -05:00
josh 88bfc29323 Add CLI option to set number of render threads 2026-11-02 21:47:42 -05:00
josh e964908e46 Add vector to common.h 2026-11-02 21:09:07 -05:00
josh bf09c094e1 Make RenderParams fields optional 2026-11-02 21:04:11 -05:00
josh 1475434c4c Add read_file 2026-11-02 20:19:20 -05:00
josh e13608b287 Add Parser and Scene classes 2026-11-02 18:43:39 -05:00
josh c8f6d36bdc Verify that output file can be written before rendering 2026-11-01 20:38:25 -05:00
josh 6b77b1a666 Build an ImageWriter 2026-11-01 20:20:31 -05:00
josh d7394027b1 default the output file name 2026-11-01 16:05:50 -05:00
josh 68d5b39cfd Error if no input file given 2026-11-01 15:43:30 -05:00
josh 0d36f13b17 Add RenderParams constructor 2026-11-01 15:39:57 -05:00
josh 88d482dcb3 Move input file / output file out of RenderParams 2026-11-01 15:26:46 -05:00
josh d71be68fae Add auto-included fart/common.h 2026-11-01 14:18:02 -05:00
josh 1947ea553c Rename Options to RenderParams 2026-11-01 13:20:59 -05:00
josh 7eaf5f9555 Add background grammar rule 2026-11-01 13:17:32 -05:00
josh d761433382 Add Number and Vector to grammar 2026-10-30 19:57:52 -04:00
josh e3d4c88f66 Add propane and initial skeleton grammar 2026-10-30 19:36:59 -04:00
josh 94105a883f Pass options to Engine; add Engine::run() 2026-10-30 19:06:22 -04:00
josh c05f2b1b59 Cli: validate that width and height arguments are numbers 2026-10-30 13:55:08 -04:00
josh cc041168a1 Parse command-line arguments 2026-10-30 13:50:11 -04:00
josh 05dfa4f977 Add Cli class 2026-10-30 10:26:56 -04:00
josh 8edec7e28a Add Engine 2026-10-30 10:25:57 -04:00
josh 0319619724 Move main.cpp 2026-10-29 08:38:30 -04:00
josh d764740b54 Make ImageWriter an abstract base class; add PngImageWriter 2026-10-29 08:37:33 -04:00
josh a233b746c2 Add ImageWriter 2026-10-28 21:28:28 -04:00
josh 917bfe4821 Use vector for pixels in Image 2026-10-28 21:16:22 -04:00
josh 6849d583ae Add Color and Image 2026-10-28 15:11:33 -04:00
josh 6d102b8de9 Start anew 2026-10-26 23:59:58 -04:00
josh 1a5b1292ee Add -j option 2026-06-18 08:40:48 -04:00
josh 36e12d1e90 Render multithreaded locally by default 2026-06-18 08:30:20 -04:00
josh aad02e522d Avoid bison compiler warning for yynerrs 2026-06-15 08:31:15 -04:00
josh 8f09415b37 Remove use of std::binary_function 2026-06-15 08:27:20 -04:00
josh d1b558a554 Fix refptr build warnings 2026-06-15 08:21:50 -04:00
josh acfb883f66 Fix flex build error 2026-06-15 08:20:14 -04:00
josh ede4f6235a Replace freeimage with stb_image 2026-06-15 00:13:13 -04:00
josh 0003c74f3b Use fl LIBS instead of :libfl.a 2026-06-14 23:51:15 -04:00
josh deb16eeef7 Update to rscons-3.1.0 2022-09-11 10:54:33 -04:00
josh 49660f6835 Fix a couple new bison warnings 2021-05-21 15:13:54 -04:00
josh 3b90da8095 Update to rscons 2.2.0 2021-05-21 15:11:42 -04:00
josh 24b4b48555 move sources to src directory 2019-09-12 20:31:38 -04:00
josh b5e4655f03 switch build system to rscons v2.0.0 2019-09-12 20:25:48 -04:00
josh b4d5de0910 squelch compiler warnings about not using bytes_read/bytes_written 2015-09-26 10:26:14 -04:00
josh df03a38be0 add a Rakefile to build with rscons 2014-03-18 21:59:03 -04:00