IGL library
seamanj
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Using VS2015 64-bit compiler to build up igllib
based on previous blog: http://blog.youkuaiyun.com/seamanj/article/details/49368907 To ensure all the projects compiled successfully, 64-bit CGAL4.7 is required. refer to the following blog to conf原创 2016-04-01 02:50:51 · 1794 阅读 · 1 评论 -
how to solve undefined reference in igllib
add add_definitions(-DLIBIGL_USE_STATIC_LIBRARY=OFF) in your local cmake file. delete the built folder rebuild completely .原创 2018-11-26 19:51:27 · 346 阅读 · 0 评论 -
709 SLIM
IGL_INLINE void igl::slim_buildA(const Eigen::SparseMatrix<double> &Dx, const Eigen::SparseMatrix<double> &Dy, const Eigen::SparseMatrix<double> &Dz,...原创 2018-11-14 02:29:00 · 284 阅读 · 0 评论 -
igllib 203 Curvature directions
这里有两种方法计算mean curvature 第一种通过公式 −Δx=Hn-\Delta x = Hn 这里Δ\Delta是laplacian operator, xx是点的坐标,HH是mean curvature, nn是点的法向量现在看下Discrete Differential-Geometry Operators for Triangulated 2-Manifolds看下教程ht原创 2017-01-12 07:54:31 · 793 阅读 · 0 评论 -
how to produce .mesh .tgf file for 403_BoundedBiharmonicWeights_bin
1. First, assume you have an .obj file, you can download or make one from maya 2. then convert it into .off file in meshlab. 3. after that using Tetgen to generate tetrahetras by typing: tetgen -pqY原创 2016-06-18 03:43:37 · 1161 阅读 · 2 评论 -
fix .mesh file generated by tetgen to fit igllib
f_in = open("character2_5000.1.mesh") f_out = open("character2_5000.2.mesh", "w") lines = f_in.readlines() start = False num = -1 for line in lines: if not(start): f_out.wr原创 2017-01-24 22:19:30 · 448 阅读 · 0 评论 -
medit 和 .mesh 文件
.mesh is Medit's surface mesh file format igl中经常使用, 在tetgen中原创 2017-01-24 04:52:33 · 2299 阅读 · 1 评论 -
401 biharmonic deformation
let us look at the definition of biharmonic deformation first: Then take a look at the definition of biharmonic deformation fields The difference between them is Biharmonic surface works原创 2016-06-28 00:23:02 · 2915 阅读 · 1 评论 -
igllib 204 gradient
证明请见:http://blog.youkuaiyun.com/seamanj/article/details/52075447 再看下源码: //main.cpp #include <igl/avg_edge_length.h> #include <igl/barycenter.h> #include <igl/grad.h> #include...原创 2016-07-30 21:31:22 · 1729 阅读 · 0 评论 -
igl::cat
在dim维上,对A和B进行连接。如果dim为1,则将A,B按垂直方向堆叠,如果dim为2,则将A,B按水平方向堆叠。 template IGL_INLINE void igl::cat( const int dim, const Eigen::MatrixBase & A, const Eigen::MatrixBase & B, MatC & C) { asse转载 2016-06-23 19:45:10 · 729 阅读 · 0 评论 -
slice
将矩阵X的 一些行和一些列提取出来形成矩阵Y,其他行索引和列索引分别存于R,C template < typename DerivedX, typename DerivedR, typename DerivedC, typename DerivedY> IGL_INLINE void igl::slice( const Eigen::PlainObjectBase转载 2016-06-23 19:29:35 · 930 阅读 · 0 评论 -
libigl file formats
libigl file formats .bf ASCII files for representing skeletal bone "forests".dmat uncompressed ASCII/binary files for dense matrices.ele Element (triangle or tet) list. This format comes in similar转载 2016-06-17 01:31:05 · 1132 阅读 · 0 评论 -
generating selection dmat for igllib
mylist = [0] * 1800 f_in = open("C:/log/2016_06_29/auto/face.txt") f_out = open("C:/log/2016_06_29/auto/face.o.txt", "w") lines = f_in.readlines() for line in lines: numbers =原创 2016-06-30 01:56:08 · 520 阅读 · 0 评论 -
how to create igllib project independently(effective on 28/6/2016)
Here, we use 401 as our example. 1. build a new console project, here we name it as "testigl", then add new file named main.cpp and copy 401 source file into this file. 2. add include directories:原创 2016-06-28 19:36:51 · 702 阅读 · 0 评论 -
igllib 202_gaussian curvature
the original tutor is like: there are some points I wanna mention: 1. the discrete Gaussian curvature formula it listed is wrong. How? listen to me explain. According to the paper "Disc原创 2016-05-31 23:31:46 · 1490 阅读 · 0 评论 -
igllib 105_Overlays
#include #include #include #include "tutorial_shared_path.h" Eigen::MatrixXd V; Eigen::MatrixXi F; int main(int argc, char *argv[]) { // Load a mesh in OFF format igl::readOFF(TUTORIAL_SHARED原创 2016-05-17 23:30:40 · 644 阅读 · 0 评论 -
config libigl in qt through cmake under ubuntu
1. download libigl open terminal, turn to the directory where you want libigl download, then type: git clone --recursive https://github.com/libigl/libigl.git 2. open qtcreator, File原创 2016-05-17 21:51:40 · 1986 阅读 · 0 评论 -
Interpretation of 403 Bounded biharmonic weights
It says the TiT_i is a 4 ×\times 3, x′=∑i=1mωi(x)(xi1)Tix'=\displaystyle\sum_{i=1}^{m}\omega_i(x)(x_i\enspace1) T_i原创 2016-05-14 00:22:47 · 786 阅读 · 0 评论 -
how to build libigl in unbuntu(on 13 may 2016)
1. turn to a directory you want libigl to be in, here we pick: /home/tjiang/Workspace 2. then input command like: git clone --recursive https://github.com/libigl/libigl.git 3. open gmake-gui a原创 2016-05-13 23:49:16 · 1573 阅读 · 0 评论 -
igllib的安装
最早跟igl的关系居然是原先读过它的一篇Laplacian Surface Editing并且做出来了,对其有一定的好感,原因是它是开源的。所以当他推出igl library库的时候,我是紧抱大腿向他靠其啊,谁叫他在爱因斯坦的母校。弄这个东西快花了我一周的时间,因为它本身是在LINUX环境下GCC编译器中进行的,所以想在windows上的vs里面使用还真得费一番功夫,为了支持更好的支持C++标准,原创 2015-10-24 00:14:51 · 8201 阅读 · 20 评论 -
如何脱离tutorial使用igllib
花了快一周的时间终于能把TUTORIAL中的102调出来了,但是自己要用这个库怎么办呢?又花了一天时间研究,终于! 好吧,教程开始,这里我们以单独实现102为准 1、新建console空项目,新建main.cpp,然后把102中的内容拷贝过去,为了区别不同我们把这里的bunny 改成 cow 2、Properties->Configuration Properties原创 2015-10-24 00:35:23 · 6250 阅读 · 1 评论
分享