Late days used: 1
The rendered tetrahedron has 4 vertices and 4 faces (with triangle vertices as each of the 4 triplets of points obtained from the 4 vertices of the tetrahedron)
The rendered cube has 8 vertices and 12 triangular mesh faces (two triangles for each of the six sides of the cube).
color1
and color2
have been chosen as [0, 0, 1] and [1, 0, 0]. They correspond to RGB values and hence correspond to blue and red colors respectively.
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, 2]
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]
Both point clouds and meshes have their own advantages and disadvantages. Given the same number of points, a point cloud representation would be more memory efficient as compared to a mesh representation, where we would have to store the face information as well. Also, a point cloud is much easier to modify which is not as simple in the case of meshes (because of the connectivity of the vertices). That said, point clouds are a more efficient representation in terms of rendering quality (since they show better connectivity of the structure with the same number of vertices as a point cloud). Also, we can easily convert a mesh representation to a point cloud representation by stratified sampling which is also a pro.
The gif below shows a rendering of Daft Punk helmets using mesh obtained from Free3D. The meshes have been coloured using a rainbow colour scheme as in some of the questions above.