当前位置:网站首页>Open3D 中点细分(网格细分)
Open3D 中点细分(网格细分)
2022-08-10 01:24:00 【BigFish_Galaxy】
一、简介
在网格细分中,我们可以将每个三角形分成若干个更小的三角形。其中最简单的情况就是通过计算每个三角形每条边的中点,这样就可以将三角形分成四个更小的三角形。在Open3D中的
subdivide_midpoint
函数中已经实现了该方法,其中参数number_of_iterations
定义了这个过程的迭代次数,不过该方法并不会使得网格的表面和面积发生变化,而会使其顶点和三角形的数量成倍增加。
二、实现代码
相关配置可以参看:Open3D C++文章目录汇总中的基础配置部分,相关代码如下所示:
#include<iostream>
边栏推荐
猜你喜欢
Unity3D创建道路插件EasyRoads的使用
程序员的专属浪漫——用3D Engine 5分钟实现烟花绽放效果
Shader Graph learns various special effects cases
实操|风控模型中常用的这三种预测方法与多分类场景的实现
Unity editor extension interface uses List
Premint工具,作为普通人我们需要了解哪些内容?
Teach you how to write performance test cases
【LeetCode】求根节点到叶节点数字之和
FILE结构体在stdio.h头文件源码里的详细代码
按钮倒计时提醒
随机推荐
Unity碰撞和触发
hint: Updates were rejected because the tip of your current branch is behind hint: its remote counte
c# 解决CS8602告警 解引用可能出现空引用
Process management and task management
STM32F103驱动HCSR04超声波测距显示
Janus实际生产案例
3438. 数制转换
[Syntax sugar] About the mapping of category strings to category numeric ids
Sikuli's Automated Testing Technology Based on Pattern Recognition
one of the variables needed for gradient computation has been modified by an inplace
对修饰器的实验支持功能在将来的版本中可能更改。在 “tsconfig“ 或 “jsconfig“ 中设置 “experimentalDecorators“ 选项以删除此警告
微透镜阵列的高级模拟
为什么字符串一旦创建就不可以改变?
[QNX Hypervisor 2.2用户手册]10.14 smmu
Unity editor extension interface uses List
浏览器中location详解
Not, even the volume of the king to write code in the company are copying and pasting it reasonable?
Initial attempt at UI traversal
在蓝图中给组件动态加子Actor组件
Unity开发者必备的编辑器技巧