I am Charmie

メモとログ

2017-09-01から1ヶ月間の記事一覧

Decompose a textured ply file into geometry and texture

Filter > Texture > Parametrization: Trivial Per-Triangle Filter > Texture > Transfer: Transfer Vertex Attributes to Texture (1 or 2 meshes) File > Export Mesh As (save as .obj) objファイルは頂点情報とテクスチャ座標の情報を持っている. obj…

obj file

Obj file 1. 頂点の座標 頂点の座標(x, y, z[, w]))は以下のように記述される(wはオプション.デフォルト値は1.0. ). v x y z v x y z w 以下の記述だと,3次元点(0.123, 0.234, 0.345)を表すことになる. v 0.123 0.234 0.345 1.0 テクスチャ座標 テクス…

Reduce the file size of a ply file by MeshLab

Use simplification filtering by Filters > Remeshing, Simplification and Reconstruction > Simplification: Quadratic Edge Collapse Detection Then, MeshLab pops out the following GUI. Via the GUI shown below, I set - target number of faces: s…

How to handle cyclical continuous data

The detailed explanation is available here. The point is to express cyclical data on a circle. [code lang="python"] import numpy as np import matplotlib.pyplot as plt num_data = 12 months_as_radian = np.linspace(0.0, 2.0*np.pi, num_data, F…