diff --git a/python/tutorials/tutorial_001_data_types.py b/python/tutorials/tutorial_101_data_types.py similarity index 100% rename from python/tutorials/tutorial_001_data_types.py rename to python/tutorials/tutorial_101_data_types.py diff --git a/python/tutorials/tutorial_002_point_cloud.py b/python/tutorials/tutorial_102_point_cloud.py similarity index 100% rename from python/tutorials/tutorial_002_point_cloud.py rename to python/tutorials/tutorial_102_point_cloud.py diff --git a/python/tutorials/tutorial_101_viewer.py b/python/tutorials/tutorial_201_viewer.py similarity index 100% rename from python/tutorials/tutorial_101_viewer.py rename to python/tutorials/tutorial_201_viewer.py diff --git a/python/tutorials/tutorial_102_rendering_styles.py b/python/tutorials/tutorial_202_rendering_styles.py similarity index 92% rename from python/tutorials/tutorial_102_rendering_styles.py rename to python/tutorials/tutorial_202_rendering_styles.py index aaf9d727..57497c51 100644 --- a/python/tutorials/tutorial_102_rendering_styles.py +++ b/python/tutorials/tutorial_202_rendering_styles.py @@ -55,7 +55,11 @@ # Get the drawable responsible for rendering the triangles (surface) of the model. sphere_faces = sphere.renderer().get_triangles_drawable("faces") sphere_faces.set_visible(True) # Ensure the surface is visible. -sphere_faces.set_color(easy3d.vec4(0.8, 0.8, 0.3, 1.0)) # Set the surface color (RGBA). +# This "/data/sphere.obj" file contains texture coordinates, and it will be rendered +# with the default checkboard texture. You can comment the two lines below to check +# out the textured rendering. +sphere_faces.set_coloring_method(easy3d.State.UNIFORM_COLOR) # Set uniform color rendering. +sphere_faces.set_color(easy3d.vec4(0.8, 0.8, 0.3, 1.0)) # Set the surface color (RGBA). # Customize the vertex rendering: # Get the drawable responsible for rendering the vertices of the model. diff --git a/python/tutorials/tutorial_103_multiview.py b/python/tutorials/tutorial_203_multiview.py similarity index 100% rename from python/tutorials/tutorial_103_multiview.py rename to python/tutorials/tutorial_203_multiview.py diff --git a/python/tutorials/tutorial_104_offscreen.py b/python/tutorials/tutorial_204_offscreen.py similarity index 100% rename from python/tutorials/tutorial_104_offscreen.py rename to python/tutorials/tutorial_204_offscreen.py diff --git a/python/tutorials/tutorial_201_normal_estimtion.py b/python/tutorials/tutorial_301_normal_estimtion.py similarity index 100% rename from python/tutorials/tutorial_201_normal_estimtion.py rename to python/tutorials/tutorial_301_normal_estimtion.py diff --git a/python/tutorials/tutorial_202_surface_reconstruction.py b/python/tutorials/tutorial_302_surface_reconstruction.py similarity index 100% rename from python/tutorials/tutorial_202_surface_reconstruction.py rename to python/tutorials/tutorial_302_surface_reconstruction.py diff --git a/python/tutorials/tutorial_203_plane_extraction.py b/python/tutorials/tutorial_303_plane_extraction.py similarity index 100% rename from python/tutorials/tutorial_203_plane_extraction.py rename to python/tutorials/tutorial_303_plane_extraction.py diff --git a/python/tutorials/tutorial_204_point_cloud_downsampling.py b/python/tutorials/tutorial_304_point_cloud_downsampling.py similarity index 100% rename from python/tutorials/tutorial_204_point_cloud_downsampling.py rename to python/tutorials/tutorial_304_point_cloud_downsampling.py