Make Model Always On Top II

We had introduced a way to keep a few special models awalys on the top layer in 3D scene. The relative post: https://www.weiy.city/2020/03/make-model-always-on-top/. But it will fail to shift polygons, lines, and points sometimes, eg. when we are in the WebAssembly environment (wasm) for web page.Let’s use an another method Read more…

Rewrite File To Move 3D Model To Origin Point

The post shows a way to move 3D model to the original point in world coordinate system. The file CMakeLists.txt is similar to https://www.weiy.city/2021/12/find-closest-plane-between-points-in-3d-by-covariance-matrix/. The included file point.hpp can be found in https://www.weiy.city/2020/09/project-point-on-line-and-plane-by-special-direction/. #include <iostream> #include <vtkPolyData.h> #include <vtkActor.h> #include <vtkTransformFilter.h> #include “./point.hpp” #include <vtkTransform.h> #include <vtkSTLReader.h> #include <vtkSTLWriter.h> #define Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X