Skip to content

Commit

Permalink
Updated CI and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cjaverliat committed Apr 19, 2024
1 parent b952092 commit 326a86e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ name: ci

on:
push:
branches:
- master
tags:
- "v*"

# Checkout the code and zip the mesh_to_pcd folder as a build artifact
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,4 +19,11 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: mesh_to_pcd
path: mesh_to_pcd.zip
path: mesh_to_pcd.zip

- name: Create a release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false
files: mesh_to_pcd.zip
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@

Blender script to convert a mesh with a principled BRDF material with a base color or a texture into a colored point cloud using Poisson Disk sampling.

<img src="docs/images/mesh.png" alt="mesh" height="200"/><img src="docs/images/pcd.png" alt="point cloud" height="200"/>
![mesh](docs/images/mesh.png)![point cloud](docs/images/pcd.png)

## Usage

Select one or several meshes, open the contextual menu and run `Export Mesh To Point Cloud`. A dialog will appear asking for the parameters for the output directory and the Poisson Disk Sampling operations.

![parameters](docs/images/parameters.png)
Binary file modified docs/images/mesh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/parameters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/pcd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 326a86e

Please sign in to comment.