Commit Graph

40 Commits

Author SHA1 Message Date
e8281f0a09 better colors for the show 2026-10-29 14:24:00 +03:00
19e5612811 full color! 2026-10-29 14:24:00 +03:00
e40a729048 replace custom FFI with Diplomat
adapted from: qt-wgpu-skel:
* 751408ea92268a16a6931862cb00e8dbccb4e47e replace custom FFI with Diplomat
* 46ce52c2bf2f8ab76a68c284a2f70556a29d7c3b reduce the unsafe part to the GPU initialization
* 784e99b31c4ae3ab0f97ec26045511d00683d66b move the GPU initialization out of the bridge
2026-10-27 19:43:26 +03:00
6bf0376ac6 move unstable code out of lib.rs 2026-10-27 19:35:49 +03:00
33e9831e33 merge branch vertex-light into master 2026-10-27 18:30:46 +03:00
56ff4f1a65 merge qt-wgpu-skel into branch qt-ui 2026-10-27 17:46:29 +03:00
187019a318 use Default to avoid breaking fallback main 2026-08-04 21:52:28 +03:00
3e713b13a8 Qt+WGPU 2026-01-24 21:07:33 +03:00
059e98c3e3 do color mapping per-pixel 2025-11-25 14:43:59 +03:00
0065a45e7d avoid crashes on dir=0 2025-11-25 14:40:53 +03:00
68b4041c88 fix normalization 2025-11-25 12:59:28 +03:00
98f3c44ab3 add super-duper complicated sphere mesh generator 2025-11-25 12:40:26 +03:00
59bc5b640f per-vertex lighting! 2025-11-24 18:31:23 +03:00
41579bbb5d split colormap 2025-11-24 18:23:35 +03:00
722e5d4b6e split light calculations and camera rays 2025-11-24 18:21:31 +03:00
295037edc6 add depth buffer 2025-11-24 18:15:48 +03:00
a8f72096d8 pass size on creation 2025-11-24 18:08:03 +03:00
c40ff3e324 fix output format 2025-11-24 17:54:42 +03:00
5a6b10965d show spheres 2025-11-24 17:52:09 +03:00
77cab94a6e add basic shape generation 2025-11-24 17:29:36 +03:00
4b138deb34 allow choosing which normals to use 2025-11-24 00:21:06 +03:00
a51f46a038 fix a bug
it's invisible with Lambertian model though
2025-11-24 00:19:28 +03:00
fb8ea92ce8 fix double-accounting for surface slope 2025-11-23 21:02:38 +03:00
e80e1d09fe add interreflections 2025-11-20 14:25:48 +03:00
5a69a3a1cb add custom display options 2025-11-20 14:25:48 +03:00
a7746deec5 add basic interreflections 2025-11-20 13:23:19 +03:00
91473f08ae use generic reflector for final computation 2025-11-20 13:10:21 +03:00
cbe0839cd6 sort out units 2025-11-18 19:46:08 +03:00
2e6589e01b fix threshold 2025-11-18 19:45:56 +03:00
6ba9add6ea a bit better ui 2025-11-16 20:18:05 +03:00
12bc173fb2 use Lambertian scattering 2025-11-16 19:39:36 +03:00
64925f9640 update defaults 2025-11-16 18:05:14 +03:00
198dc06d02 nicer hit rendering 2025-11-16 18:05:00 +03:00
bb8373fad5 optimize summation 2025-11-16 18:04:18 +03:00
cd0c264c6e basic two-way tracing 2025-11-16 15:25:08 +03:00
8bed95f872 use mutable vectors, to collect into several at once 2025-11-16 14:43:31 +03:00
7b22551bee add some real UI 2025-11-15 19:14:12 +03:00
4e4c4493f9 minimal Qt6 UI 2025-11-15 01:27:07 +03:00
10d74f1318 move configure() responsibility a bit 2025-11-14 23:47:35 +03:00
e12f4c77aa split lib/bin, hopefully right 2025-11-14 23:08:28 +03:00