Skip to content

Ibukhvalov/render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive app for displaying VDB files with various settings using Ray-Marching algorithm.

Requirement

  • Rust

Deploy

git clone https://github.com//Ibukhvalov/render
cd render
cargo run --release ./data/vdbAssets/wdas_cloud_sixteenth.vdb

Interaction

Camera movement

  • WASD - front/back/left/right
  • QE - up/down
  • Arrows - direction

Settings

Step size

Adjust the size of probing inside a volume. Be aware about high performance effect

Long Short
Pasted image 20250530005821 Pasted image 20250530005831

g (phase function)

Define direction of distribution of light inside volume. Default function is Henyey-Greenstein

image
  • $\theta$ — the angle between the incoming and outgoing light directions
  • $g$ — the asymmetry parameter ($-1 \leq g \leq 1$)
-0.2 0 0.6
Pasted image 20250530003521 Pasted image 20250530003541 Pasted image 20250530003526

Scattering

Controls how much light is scattered inside the volume. Higher values make the volume look softer and more glowing.

Low High
Pasted image 20250530004100 Pasted image 20250530003856

Absorption

Determines how much light is absorbed as it passes through the volume. Higher values make the volume look denser and darker.

Low High
Pasted image 20250530004100 Pasted image 20250530004106

Lightness

Light color scalar

Colors

Convenient color pickers for colors adjustments

Background

bg_black Pasted image 20250530010113

Light

light_red light_blue

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published