aboutsummaryrefslogtreecommitdiff
path: root/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-20 15:06:03 +0200
committerAdrian Kummerlaender2020-06-20 15:06:03 +0200
commitab616f6f6762a895eb5d49b0048d68ff3ca01650 (patch)
tree53ec68eec0cc89c78dc67f5acb9584ce7850c9ba /channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py
parenta3ac409a49803956986f4cab35a1f90f8d4b8e81 (diff)
downloadsymlbm_playground-ab616f6f6762a895eb5d49b0048d68ff3ca01650.tar
symlbm_playground-ab616f6f6762a895eb5d49b0048d68ff3ca01650.tar.gz
symlbm_playground-ab616f6f6762a895eb5d49b0048d68ff3ca01650.tar.bz2
symlbm_playground-ab616f6f6762a895eb5d49b0048d68ff3ca01650.tar.lz
symlbm_playground-ab616f6f6762a895eb5d49b0048d68ff3ca01650.tar.xz
symlbm_playground-ab616f6f6762a895eb5d49b0048d68ff3ca01650.tar.zst
symlbm_playground-ab616f6f6762a895eb5d49b0048d68ff3ca01650.zip
Fix usage of MomentsTexture in volumetric examples
Diffstat (limited to 'channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py')
-rw-r--r--channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py b/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py
index a51eaa1..41d2958 100644
--- a/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py
+++ b/channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py
@@ -313,7 +313,7 @@ lattice = Lattice(
lattice.setup_channel_with_sdf_obstacle(grid_fin)
-moments_texture = MomentsTexture(lattice)
+moments_texture = MomentsTexture(lattice, include_materials = False)
projection = Projection(distance = 2*lattice_x)
rotation = Rotation([-0.5*lattice_x, -0.5*lattice_y, -0.5*lattice_z])