aboutsummaryrefslogtreecommitdiff
path: root/lbm_codegen_d3q19.ipynb
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-09-23 15:42:21 +0200
committerAdrian Kummerlaender2019-09-23 15:42:21 +0200
commitbeda0edf885608ffbb6498f97bf7e4fc08df1e27 (patch)
treeb5244d2543b0e1f0726265a45f2977581dd3c027 /lbm_codegen_d3q19.ipynb
parentd883ebc4a57fd26c1dd860d2627c69d6a70107cd (diff)
downloadsymlbm_playground-beda0edf885608ffbb6498f97bf7e4fc08df1e27.tar
symlbm_playground-beda0edf885608ffbb6498f97bf7e4fc08df1e27.tar.gz
symlbm_playground-beda0edf885608ffbb6498f97bf7e4fc08df1e27.tar.bz2
symlbm_playground-beda0edf885608ffbb6498f97bf7e4fc08df1e27.tar.lz
symlbm_playground-beda0edf885608ffbb6498f97bf7e4fc08df1e27.tar.xz
symlbm_playground-beda0edf885608ffbb6498f97bf7e4fc08df1e27.tar.zst
symlbm_playground-beda0edf885608ffbb6498f97bf7e4fc08df1e27.zip
Implement basic diffusive lighting in volumetric raytracer
Approximated surface normals are encoded into the moments texture. These normals are restored when the ray marcher encounters an impermeable cell. Note that normals are shifted to be >= 0 as negative values are not representable using OpenGL textures. If this prototype works out it might be preferable to calculate better surface normals during preprocessing to be stored separately. Compare to 6123c8a.
Diffstat (limited to 'lbm_codegen_d3q19.ipynb')
0 files changed, 0 insertions, 0 deletions