Reputation: 21
I am trying to convert a polygonal mesh in .ply
format into a 2-D depth map, to be saved in a standard array or image format.
Ideally I'd like to use python, but would be open something else if it's simpler. I'm looking for something to use in a pipeline.
Upvotes: 2
Views: 3068
Reputation: 2534
You can use Meshlab wich is open source and can do exactly what you want.
Follow this steps:
zmin
and zmax
values to get the result you want:Upvotes: 1