• Stars
    star
    141
  • Rank 259,971 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 4 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

rendering (optionally temporal) point clouds using Mitsuba2

Multiple Point Cloud Renderer using Mitsuba 2

Calling the script render_mitsuba2_pc.py automatically performs the following in order:

  1. generates an XML file, which describes a 3D scene in the format used by Mitsuba.
  2. calls Mitsuba2 to render the point cloud into an EXR
  3. processes the EXR into a jpg file.
  4. iterates for multiple point clouds present in the tensor (.npy)

It could process both plys and npy. The script is heavily inspired by PointFlow renderer and here is how the outputs can look like:

mitsuba rendering

Dependencies

  • Python 3.6
  • Mitsuba 2
  • Used python packages for 'render_mitsuba2_pc' : OpenEXR, Imath, PIL

Ensure that Mitsuba 2 can be called as 'mitsuba' by following the instructions here. Also make sure that the 'PATH_TO_MITSUBA2' in the code is replaced by the path to your local 'mitsuba' file.

Instructions

Replace 'PATH_TO_MITSUBA2' in the 'render_mitsuba2_pc.py' with the path to your local 'mitsuba' file. Then call:

# Render a single or multiple JPG file(s) as:
python3.6 render_mitsuba2_pc.py chair.npy

# It could also render a ply file
python3.6 render_mitsuba2_pc.py chair.ply

All the outputs including the resulting JPG files will be saved in the directory of the input point cloud. The intermediate EXR/XML files will remain in the folder and has to be removed by the user.

More Repositories

1

ppf_matching

GSoC2014
C
63
star
2

qecnetworks

Official implementation of the ECCV 2020 Oral Paper "Quaternion Equivariant Capsule Networks for 3D Point Clouds"
Python
42
star
3

averaging_quaternions

Implements the work done by F. Landis Merkley to calculate the average quaternion.
MATLAB
33
star
4

PHDimGeneralization

Official implementation of "Intrinsic Dimension, Persistent Homology and Generalization in Neural Networks", NeurIPS 2021.
Python
29
star
5

MatrixManifoldsInCeres

Implements local parameterization operators of Google Ceres regarding matrix manifolds such as Stiefel, Grassmann, Birkhoff manifolds and etc.
C++
16
star
6

birkhoffrlmc

Project website for the CVPR 2019 paper "Probabilistic Permutation Synchronization using the Riemannian Structure of the Birkhoff Polytope"
6
star
7

qenetworks

Official implementation of Quaternion Equivariant Capsule Networks for 3D Point Clouds
3
star
8

e3q3

E3Q3: Implementation of Efficient Intersection of Three Quadrics and Applications in Computer Vision (incomplete)
MATLAB
3
star
9

structured_light

Implements various structured light pattern generators.
C++
2
star
10

usm.github.io

1st Workshop on Urban Scene Modeling: Where Vision Meets Photogrammetry and Graphics
JavaScript
2
star
11

BayesianQuadrics

Code for fitting quadrics to noisy data.
C++
2
star
12

SphereDetection3D

Implements Generic Primitive Detection in Point Clouds Using Novel Minimal Quadric Fits by Birdal et al. CVPR'18 / PAMI'19
MATLAB
1
star
13

MeasureSync

Implements our CVPR 2020 paper entitled Synchronizing Probability Measures on Rotations via Optimal Transport
HTML
1
star
14

WassersteinSynchronization

Towards synchronizing distributions on Riemannian manifolds
MATLAB
1
star