Commit graph

46 commits

Author SHA1 Message Date
6cefcc5f94 Compile glsl with glslc, fixes
Fix incorrectly set "bindings" for descriptors.

Fix blue_gen.glsl .

Program now attempts to compile blue_gen.glsl using "glslc".
2024-03-19 16:13:10 +09:00
b73c6fb94b WIP Vulkan compute: compute descriptors, glsl 2024-03-19 14:58:35 +09:00
a0de033d34 WIP Vulkan compute: initialize VkDevice 2024-03-08 13:48:42 +09:00
38f7248f49 Minor refactoring
Use `const std::array<...>` instead of `const std::vector<...>`.
2024-03-07 16:47:37 +09:00
d0f14585b6 WIP vulkan compute: query physical devices 2024-03-07 12:13:32 +09:00
aaa986b0eb Remove erronous Vulkan init. property
TODO: Vulkan compute
2024-03-06 17:56:30 +09:00
c823f90c14 Update LICENSE year 2024-03-06 17:38:53 +09:00
4e4ee7f558 Begin work on Vulkan compute (WIP)
Some Vulkan initialization stuff WIP.
2024-03-06 17:04:08 +09:00
0da27b59be Fix CMakeLists.txt 2023-07-23 17:34:38 +09:00
834cae6ca5 Rename project/binary-name 2023-04-01 21:48:19 +09:00
d60e9497ff Fix not using OpenCL header on disabled OpenCL 2023-03-31 19:04:25 +09:00
7041f732a9 Fixes/Refactorings to CMakeLists.txt 2023-03-31 18:55:36 +09:00
ecd65fc42b clang-format --style=google 2023-03-31 18:47:33 +09:00
62d15771ad Make usage of OpenCL conditional (configuring) 2023-03-31 18:46:10 +09:00
2f768f43bd Add check for OpenCL kernel file 2023-03-31 15:00:27 +09:00
22f085cdcf Update LICENSE year 2023-03-31 14:56:40 +09:00
b40894f9d3 Update 'src/blue_noise.cl'
Fix `twoToOne(...)` having variables with no types.
2023-03-31 05:54:47 +00:00
16ed743197 Update 'README.md' 2021-12-10 06:39:37 +00:00
19e3cc6041 Fix typo in README.md 2021-11-11 17:44:06 +09:00
ff3b69cc6a Add README.md 2021-11-11 17:43:27 +09:00
afa27fc555 Round values when creating image from rankings 2021-11-11 15:36:05 +09:00
c9ec105664 Impl arg-parsing for generic use of blue-noise gen 2021-11-10 20:04:08 +09:00
2357fd9c05 Fix blue-noise when not using OpenCL 2021-11-10 19:21:33 +09:00
e715c18a4d Fix blue-noise generation 2021-11-10 18:48:16 +09:00
d44297d079 WIP Attempt to fix resulting blue-noise 2021-11-10 18:12:04 +09:00
e90834dc0a WIP work on generating blue-noise 2021-11-08 20:04:58 +09:00
73aa21e92a Some attempts at fixing grayscale blue-noise 2021-10-07 15:34:13 +09:00
a8f0ec788a Switch to CMake, try to fix grayscale blue-noise 2021-10-06 19:54:07 +09:00
c5364f2ebc Fix image::Bl output pgm and ppm 2021-10-06 18:26:00 +09:00
e85412d61a Some fixes, progress with grayscale blue-noise 2021-10-06 18:22:31 +09:00
1eee20d6ae Some work on grayscale blue-noise 2021-10-06 17:59:27 +09:00
f7ec5538bb Add MIT LICENSE 2021-02-14 13:55:10 +09:00
5826c3677c Fix image::Bl write, use image::Bl as result for blue_noise 2021-02-11 11:33:14 +09:00
5155b847ca Some work on image objects 2021-01-26 22:25:34 +09:00
6ca0db1e57 Split utility functions to utility.hpp 2021-01-26 19:53:11 +09:00
e24606ea2c Impl use of OpenCL for generating blue noise 2021-01-23 16:42:45 +09:00
26df83affc Use precomputed gaussian for filter function 2021-01-23 13:50:43 +09:00
50dfa98f51 Use 0-255 range for pgm output 2021-01-23 12:21:02 +09:00
850a5d22a9 Fixes and Refactorings 2021-01-23 11:58:16 +09:00
ad32671e19 Use int instead of std::size_t, float instead of double 2021-01-23 10:14:59 +09:00
e483d99ea1 Fix filter_size not being used properly in filter 2021-01-22 22:57:37 +09:00
949aaecaa6 Some refactoring 2021-01-22 22:53:31 +09:00
fe48341665 Impl blue noise generation (maybe still WIP) 2021-01-16 22:46:47 +09:00
3643dbea1a WIP blue_noise impl 2021-01-16 18:54:56 +09:00
b455a469fe Init skeleton C++ project 2021-01-16 17:40:45 +09:00
4d0a514a0b Initial empty commit 2021-01-16 17:36:45 +09:00