From ab616f6f6762a895eb5d49b0048d68ff3ca01650 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 20 Jun 2020 15:06:03 +0200 Subject: Fix usage of MomentsTexture in volumetric examples --- channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channel_3d_sdf_grid_fin_volumetric_rendering_gl_interop.py') 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]) -- cgit v1.2.3