Skip to Content
下一代空间计算:AR与VR创新理论与实践
book

下一代空间计算:AR与VR创新理论与实践

by Erin Pangilinan, Steve Lukas, Vasanth Mohan
October 2020
Intermediate to advanced
302 pages
5h 22m
Chinese
Publishing House of Electronics Industry
Content preview from 下一代空间计算:AR与VR创新理论与实践
概述
|
57
建模时要牢记以下几点 :
y
避免出现
N
-gon
。
N
-gon
指边数大于
4
的面元,大多数引擎都存在
N
-gon
问题。
它们可能会导致碰撞检测出现问题,引发渲染出错,甚至导致不可见。
Autodesk
Maya
等
3D
建模程序提供了清理场景与去除
N
-gon
的功能。
y
使用建模软件发现并去除所有共面的面元。你可能经常会发现一个面元中隐藏着
与自身完全相同的另一个面元,它们肉眼不可见,但会增加多边形的数量。同样
还存在着
Z-Fighting
问题。
Z-Fighting
指的是两个面元在
3D
空间中重叠。
y
通过查看器,确保法线指向预期的方向。引擎沿着法线方向进行渲染,因此不要
让
3D
建模软件启用双面渲染。
在开始
3D
建模之前认真考虑以上这些因素是非常有必要的。
图
4-6
展示了一个我的建模优化案例。最初,图中虚拟角色的眼镜模型包含
69 868
个三
角形,身体、衣服、头发以及其他配件部分只有
40 000
个三角形。该眼镜模型是从线上
的
3D
模型商城里购买的,能够让虚拟角色模仿“真实生活”中的样子。模型作者为眼
镜的每个部分都进行了仔细的建模,甚至包括镜腿上的铰链。
我打算在
VR
社交平台上为用户制作类似的眼镜模型。我在原来的基础上删除了大量不
会被看到的细节,最终模型中的三角形数量减少到不足
1000
个。
图4-6 在VR社交平台上使用的眼镜模型
在
AR
应用场景中,将眼镜模型的三角形数量减少到
1000
以下是绝对有必要的。例如在
58
|
第
4
章
3D
艺术优化
HoloLens
上,整个场景的三角形总数最好限制在
60 000
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Go程序设计语言

Go程序设计语言

艾伦A. A.多诺万, 布莱恩W. 柯尼汉
GPT-3

GPT-3

Sandra Kublik, Shubham Saboo
解密金融数据

解密金融数据

Justin Pauley
机器学习流水线实战

机器学习流水线实战

Hannes Hapke, Catherine Nelson

Publisher Resources

ISBN: 9787121386725