Skip to content

Commit

Permalink
correct indices of python tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
LiangliangNan committed Dec 27, 2024
1 parent ec4d62c commit d9eeb16
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit d9eeb16

Please sign in to comment.