Giter Site home page Giter Site logo

plymesher's Introduction

Andrew Hazelden's PLYmesher Scripts

Version 1.1 Jan 26, 2013

About the PLYmesher Script Collection

PLYmesher is a collection of bash scripts and MeshLab .mlx filter scripts that are used to create possion based reconstructions of .PLY formatted point clouds.

About the Replace MLX Value Script

The script replace_mlx_value.sh allows you to replace placeholder values in a Meshlab script with input from the command line. The replace_mlx_value script also scans an input "meshes" folder and will process and .ply data in the folder using a user selectable Meshlab script.

This script uses sed to replace values in a MLX filter script template. The script searches for the placeholder text COMMAND-VALUE1, COMMAND-VALUE2, and COMMAND-VALUE3 in the mlx template and then outputs a script with the replaced values.

Tip: Enter the script name and values at the command-line:
./replace_mlx_value.sh [mlx_script_template] [number] [number] [number]

PLYmesher Notes:

I have started exploring the commandline version of meshlab called meshlabserver. You can run scripts by saving the meshlab filter settings to a meshlab .mlx script file.

You can easily develop and save new MLX scripts using the meshlab gui.

The active meshlab filters can be saved in a MLX filter file by selecting the menu item "Filters > Show current filters script".

In this window you can load saved meshlab MLX scripts, edit the settings for each filter, and save mew MLX scripts.

On Mac OS X I noticed that once a GUI based meshlab script finishes running the progress bar in the main window sometimes stays visible at 100% after the task completes. All you have to do is click in the view for the view to refresh.

In the Meshlab GUI you can set the Poisson-disk Sampling filter to resample your dense point cloud to a lower number of points.

Included Meshlab Scipts:

compute_normals_script.mlx
This meshlab script will generate point cloud normals

PLYmesher_script.mlx
This meshlab script will generate point cloud normals and then create a polygon mesh from the point cloud.

In the Meshlab GUI you can customize the Poisson-disk Sampling filter settings to resample your dense point cloud to a lower number of points.

PLYmesher_script_lite.mlx
This meshlab script will generate point cloud normals, reduce the point cloud density, and then create a polygon mesh from the point cloud.

The meshlabserver command "Transfer Color: Vertex to Face" seems to have a problem running on the Mac version of meshlabserver so I left out this last step in the script:
<filter name="Transfer Color: Vertex to Face" />

Notes: You might also find the meshlab related kinnectproj webpage interesting.

It appears that meshlabserver only supports saving binary PLY files from the meshlab server command line. You could use a free program like RPLY to convert the binary PLY file to an ASCII PLY file.

plymesher's People

Contributors

andrewhazelden avatar

Stargazers

Gopal Sharma avatar Lerry William avatar  avatar Natasha Vitek avatar Tianye Li avatar Jingkang Wang avatar Dicky Mirrors avatar Ian Golden avatar Nick Bontrager avatar Martin avatar Stefano Cieri avatar  avatar Alex Norton avatar Paolo Cignoni avatar  avatar mika avatar Kaiming Qu avatar Ryan Baumann avatar Benjamin Barbe avatar Mr.  avatar Shuaiyi Zhang avatar Sufyan Dawoodjee avatar Tony Buser avatar

Watchers

Tony Buser avatar Daito Manabe avatar James Cloos avatar  avatar Stéphane Adam Garnier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.