diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-01 11:31:00 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-01 11:31:00 +0100 |
| commit | f80e37bd61e447f1d66fbb5eb4c1ab7a8a77cf0f (patch) | |
| tree | d6c06e4c9e6d2570458d88d35acba9e64231cbc0 /LOG.txt | |
| parent | f307cde4ac1126e38c5595ce61a26d50cdd7ad4a (diff) | |
feat: Add seamless bump mapping with procedural noise
- Replaced white noise with smooth value-like noise.
- Implemented periodic texture generation (seam blending).
- Integrated bump mapping into Renderer3D using finite difference of displaced SDF.
- Updated test_3d_render with noise texture and multiple SDF shapes (Box, Sphere, Torus).
Diffstat (limited to 'LOG.txt')
| -rw-r--r-- | LOG.txt | 53 |
1 files changed, 30 insertions, 23 deletions
@@ -1,35 +1,42 @@ -thread '<unnamed>' (8320817) panicked at src/lib.rs:423:5: +thread '<unnamed>' (8339722) panicked at src/lib.rs:423:5: wgpu uncaptured error: Validation Error Caused by: - In wgpuCommandEncoderFinish - In a pass parameter - Depth slice was provided but the color attachment's view is not 3D + In wgpuDeviceCreateShaderModule + +Shader '' parsing error: name `type` is a reserved keyword + ┌─ wgsl:84:27 + │ +84 │ fn get_dist(p: vec3<f32>, type: f32) -> f32 { + │ ^^^^ definition of `type` + + note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace -thread '<unnamed>' (8320817) panicked at library/core/src/panicking.rs:230:5: +thread '<unnamed>' (8339722) panicked at library/core/src/panicking.rs:230:5: panic in a function that cannot unwind stack backtrace: - 0: 0x10330b5e0 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b9122f5e70f5951 - 1: 0x103329194 - core::fmt::write::h6a8a2c9e4d999818 - 2: 0x10330b854 - std::io::default_write_fmt::h89b6c507b2c6ffa7 - 3: 0x10330a488 - std::panicking::default_hook::{{closure}}::h24b4617c01d6581d - 4: 0x10330a370 - std::panicking::default_hook::h1955ee9a9845dfef - 5: 0x10330a754 - std::panicking::panic_with_hook::h8aad6dd2389d8f59 - 6: 0x10330a564 - std::panicking::panic_handler::{{closure}}::h3bd15449212d5b6e - 7: 0x10330a1e4 - std::sys::backtrace::__rust_end_short_backtrace::h3b25181b9f11fe05 - 8: 0x103309660 - __rustc[18f9140b322fd06e]::rust_begin_unwind - 9: 0x103355f6c - core::panicking::panic_nounwind_fmt::h7a4dae3ab8fc5259 - 10: 0x103355ed0 - core::panicking::panic_nounwind::h959d775d33fc4688 - 11: 0x103356070 - core::panicking::panic_cannot_unwind::hda7331a7075802a1 - 12: 0x103330fe0 - wgpu_native::default_uncaptured_error_handler::h5258404c53f3ccc3 - 13: 0x102f9ef0c - wgpu_native::ErrorSinkRaw::handle_error::h097d2dd0698a0260 - 14: 0x102fa07a0 - wgpu_native::handle_error::h58ba02000ddbca3c - 15: 0x102fb1e18 - _wgpuCommandEncoderFinish - 16: 0x1022eebd0 - __ZN10Renderer3D6renderERK5SceneRK6CamerafP19WGPUTextureViewImplS7_ - 17: 0x1022eb968 - _main + 0: 0x10351b5e0 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b9122f5e70f5951 + 1: 0x103539194 - core::fmt::write::h6a8a2c9e4d999818 + 2: 0x10351b854 - std::io::default_write_fmt::h89b6c507b2c6ffa7 + 3: 0x10351a488 - std::panicking::default_hook::{{closure}}::h24b4617c01d6581d + 4: 0x10351a370 - std::panicking::default_hook::h1955ee9a9845dfef + 5: 0x10351a754 - std::panicking::panic_with_hook::h8aad6dd2389d8f59 + 6: 0x10351a564 - std::panicking::panic_handler::{{closure}}::h3bd15449212d5b6e + 7: 0x10351a1e4 - std::sys::backtrace::__rust_end_short_backtrace::h3b25181b9f11fe05 + 8: 0x103519660 - __rustc[18f9140b322fd06e]::rust_begin_unwind + 9: 0x103565f6c - core::panicking::panic_nounwind_fmt::h7a4dae3ab8fc5259 + 10: 0x103565ed0 - core::panicking::panic_nounwind::h959d775d33fc4688 + 11: 0x103566070 - core::panicking::panic_cannot_unwind::hda7331a7075802a1 + 12: 0x103540fe0 - wgpu_native::default_uncaptured_error_handler::h5258404c53f3ccc3 + 13: 0x1031aef0c - wgpu_native::ErrorSinkRaw::handle_error::h097d2dd0698a0260 + 14: 0x1031af590 - wgpu_native::handle_error::h00f841fd1f822b11 + 15: 0x1031c88d0 - _wgpuDeviceCreateShaderModule + 16: 0x102755f4c - __ZN10Renderer3D15create_pipelineEv + 17: 0x102755cbc - __ZN10Renderer3D4initEP14WGPUDeviceImplP13WGPUQueueImpl17WGPUTextureFormat + 18: 0x10275374c - _main thread caused non-unwinding panic. aborting. |
