All images are generated in Colab. The code link is https://colab.research.google.com/drive/1ZL9MavXxLsOAsBOc-dlZ7uHMj0gA7JCO?usp=sharing
4 vertices and 4 faces
8 verticals, 12 (triangle) faces
color1 = [0, 0, 1]; color2 = [1, 0, 0]
R_relative=[[0, 1, 0], [-1, 0, 0], [0, 0, 1]]
T_relative=[0, 0, 0]
R_relative=[[1, 0, 0], [0, 1, 0], [0, 0, 1]]
T_relative=[0, 0, 1]
R_relative=[[1, 0, 0], [0, 1, 0], [0, 0, 1]]
T_relative=[0.5, -0.5, 0]
R_relative=[[0, 0, 1], [0, 1, 0], [-1, 0, 0]]
T_relative=[-3, 0, 3]
Rendering as a mesh is of higher quality. The object surface is smoother, however, its rendering speed is more slower. Rendering as pointcloud gives special texture, which may be useful under specific circumstances.
I created an Olympic rings to celebrate the Beijing 2022 Winter Olympics