4

I have no problem importing the file, I just am unsure if meshlab is the right program to make this animation. I essentially just want a gif or a video file that rotates a 3D object in the x-plane and then in the y-plane.

2 Answers2

1

Although there is no function to create an animation built in to Meshlab, there is a way to create an animation manually. Use Filters->Mesh Layer->Matrix: Set from translation/rotation...". Choose the angle increment to be small and repeatedly press Apply, then Snapshot (snapshot is camera icon in the tool bar at the top) to save individual frames.

There are many on-line tools for joining png files together to create an animated gif e.g. gifmaker.me

James
  • 339
  • 3
  • 16
0

Not exactly what you asked for, but in python there is a library that could help you automate this:

import numpy as np
import open3d as o3d

pcd = o3d.io.read_point_cloud("my_file.ply")

def rotate_view(vis):
    ctr = vis.get_view_control()
    ctr.rotate(10.0, 0.0) # rotates 10 degrees every frame
    
o3d.visualization.draw_geometries_with_animation_callback([pcd], rotate_view)

See the open3d tutorial for more info

cacti5
  • 2,006
  • 2
  • 25
  • 33