diff --git a/cmake-build-release/Testing/Temporary/LastTest.log b/cmake-build-release/Testing/Temporary/LastTest.log index 1ee4ecb..8de2eee 100644 --- a/cmake-build-release/Testing/Temporary/LastTest.log +++ b/cmake-build-release/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Jan 25 14:48 EST +Start testing: Jan 25 15:50 EST ---------------------------------------------------------- -End testing: Jan 25 14:48 EST +End testing: Jan 25 15:50 EST diff --git a/include/functions.h b/include/functions.h index 38e4234..0b0151d 100644 --- a/include/functions.h +++ b/include/functions.h @@ -242,4 +242,6 @@ inline static allowed_funcs intersection_comp(const allowed_funcs -inline constexpr blt::i32 width = 1024, height = 1024; +inline constexpr blt::i32 width = 256, height = 256; using image_data_t = std::array; inline blt::area_allocator img_allocator; diff --git a/src/functions.cpp b/src/functions.cpp index b2ac0bd..037cc6e 100644 --- a/src/functions.cpp +++ b/src/functions.cpp @@ -230,3 +230,9 @@ void f_if(image& img, float x, float y, blt::size_t argc, const image** argv, co else img.set(i3, xi, yi); } + +float eval_AMF(const image& img) +{ + + return 0; +} diff --git a/src/main.cpp b/src/main.cpp index d4211b3..f08e7a4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,7 @@ blt::gfx::matrix_state_manager global_matrices; blt::gfx::resource_manager resources; blt::gfx::batch_renderer_2d renderer_2d(resources); -constexpr blt::i32 MAX_DEPTH = 25; +constexpr blt::i32 MAX_DEPTH = 17; struct node; @@ -293,6 +293,10 @@ void update(std::int32_t w, std::int32_t h) root->evaluate_tree(); BLT_INFO("Preprocess"); +// if (root->hasImage()) +// for (auto& v : root->getImage().getData()) +// v = v.normalize(); + BLT_INFO("Uploading"); //delete texture; if (root->hasImage())