--- title: Geometry Processing in Quanrantine tags: presentation slideOptions: theme: solarized transition: 'fade' controls: true progress: true slide-number: true --- ## Geometry Processing in Quarantine ![](https://i.imgur.com/U6Rkhs8.png) --- ## Basic Setup ### Connection ```bash= # ~/.ssh/config Host sonic Hostname sonic.cs.nyu.edu User zhongshi ``` ```bash $ ssh -L 9876:localhost:9876 sonic $ tmux # prevent connection lost ``` ### Python https://docs.anaconda.com/anaconda/install/linux/ `conda install -c conda-forge igl meshplot` --- ## VSCode <section style="text-align: left;"> ### Develope * C/C++ * Python * CMake Tools * Remote-SSH * GitLens * Vim/Emacs * Output Colorizer ### Write * LaTeX Preview * Grammarly </section> --- ## Data Exchange and Serialization <section style="text-align: left;"> ### HDF5 * Python https://www.h5py.org/ * C++ [HDFGroup Official](https://support.hdfgroup.org/HDF5/doc/cpplus_RM/index.html) https://github.com/BlueBrain/HighFive ### JSON XML * Python Native * C++ https://github.com/nlohmann/json https://github.com/leethomason/tinyxml2 ### libigl `igl/readDMAT.h`, `igl/serialize.h` ```cmake= option(LIBIGL_WITH_OPENGL "Use OpenGL" OFF) option(LIBIGL_WITH_OPENGL_GLFW "Use GLFW" OFF) option(LIBIGL_WITH_OPENGL_GLFW_IMGUI "Use ImGui" OFF) ``` --- ## Visualization * [meshplot](https://github.com/skoch9/meshplot) igl viewer style wrapper of pythreejs. Hat tip to Sebastian. * [Plotly](https://plotly.com/python/) # * [Three.JS](https://threejs.org/) * [K3D-jupyter](https://github.com/K3D-tools/K3D-jupyter) * [ipyvolume](https://github.com/maartenbreddels/ipyvolume) --- ## Example :::success Interactive :tornado: ::: --- ## Remote Blender ### VNC ```bash sonic$ tigervncserver -xstartup /usr/bin/xfce4-session sonic$ vncserver --list local$ ssh -L 5902:localhost:5902 sonic ``` ### Headless `blender -b camel.blend -P renderscript.py` rsync --- # Stay Safe