CGAL 4.9 - Triangulated Surface Mesh Deformation
来源:互联网 发布:淘宝店铺入口 编辑:程序博客网 时间:2024/04/30 02:17
Here, I would like to derive the formula (10)
For triangle
The same as for for triangle
Taking derivative of those equations w.r.t
Then, let us look into alec jacobson’s matlab code
function K = spokes_and_rims_linear_block(V,F,d) % Computes a matrix K such that K * R computes % 鈭� -2*(cot(aij) + cot(bij) * (V(i,d)-V(j,d)) * (Ri + Rj) + % -2*cot(aij) * (V(i,d)-V(j,d)) * Raij + % -2*cot(bij) * (V(i,d)-V(j,d)) * Rbij % j鈭圢(i) % % where: vj % / | \ % / | \ % / | \ % / | \ % aij | bij % \ | / % \ | / % \fij|gij/ % \ | / % vi % % Inputs: % V #V by dim list of coordinates % F #F by 3 list of triangle indices into V % d index into columns of V % Output: % K #V by #F matrix % if simplex_size == 3 % triangles C = cotangent(V,F); i1 = F(:,1); i2 = F(:,2); i3 = F(:,3); I = [i1;i2;i2;i3;i3;i1;i1;i2;i3]; J = [i2;i1;i3;i2;i1;i3;i1;i2;i3]; v = [ ... C(:,3).*(V(i1,d)-V(i2,d)) + C(:,2).*(V(i1,d)-V(i3,d)); ... -C(:,3).*(V(i1,d)-V(i2,d)) + C(:,1).*(V(i2,d)-V(i3,d)); ... C(:,1).*(V(i2,d)-V(i3,d)) + C(:,3).*(V(i2,d)-V(i1,d)); ... -C(:,1).*(V(i2,d)-V(i3,d)) + C(:,2).*(V(i3,d)-V(i1,d)); ... C(:,2).*(V(i3,d)-V(i1,d)) + C(:,1).*(V(i3,d)-V(i2,d)); ... -C(:,2).*(V(i3,d)-V(i1,d)) + C(:,3).*(V(i1,d)-V(i2,d)); ... ... % diagonal C(:,3).*(V(i1,d)-V(i2,d)) - C(:,2).*(V(i3,d)-V(i1,d)); ... C(:,1).*(V(i2,d)-V(i3,d)) - C(:,3).*(V(i1,d)-V(i2,d)); ... C(:,2).*(V(i3,d)-V(i1,d)) - C(:,1).*(V(i2,d)-V(i3,d)); ... ]; % construct and divide by 3 so laplacian can be used as is K = sparse(I,J,v,n,n)/3; elseif simplex_size == 4 % tetrahedra assert(false) end end
The column dimension of matrix k goes through each vertex that edges connect to. Elements on each row of matrix k are the same for linearizing the rotation matrix summation.
For each vertex on each triangle, we sum cot* edge up through edges connected to it.
- CGAL 4.9 - Triangulated Surface Mesh Deformation
- mesh deformation资料
- laplace mesh deformation
- CGAL Catmull-Clark Subdivide Surface
- polyhedron/polygon mesh-plane cut in CGAL
- CGAL
- CGAL
- Mesh
- mesh
- Surface
- surface
- Surface
- CGAL Cookbook --CGAL简介
- CGAL Cookbook --CGAL安装
- Gradient-Based Deformation
- 401 biharmonic deformation
- CGAL安装
- CGAL::compute_average_spacing
- 求助android 通过gson 解析json
- 关于wifiManager.getConnectionInfo()与wifiManager.getScanResults()的使用问题
- android 4.0 如何实现在没有activity情况下开机自启动服务,非常急。。。
- 以下ASP代码如何实现用page分页
- 获取有关Json复杂数据,获取不了第二层对象
- CGAL 4.9 - Triangulated Surface Mesh Deformation
- 【寒江雪】纹理混合的实现
- Android Studio 导入第三方开源库PullToRefresh的问题
- 小白想用C语言写一个背单词的程序
- ISO swift语言 图片抖动
- asp 证书加密
- handler.post()线程问题
- 有谁用过android的 HeaderGridView吗? 为什么我添加的HeaderView总是歪的?
- ios描述文件安装的问题