基本信息
源码名称:球与三角形的动态碰撞测试.pdf
源码大小:0.74M
文件格式:.pdf
开发语言:C/C++
更新时间:2021-02-04
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

详细讲解了球与三角形的动态碰撞测试,包含数学方面的只是,可以应用在图形学领域


Contents
1 Introduction 3
1.1 Previous work . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 The algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 How to read this document . . . . . . . . . . . . . . . . . . . . 4
2 Vector spaces 5
2.1 Definition of a vector space . . . . . . . . . . . . . . . . . . . . 5
2.2 Case study: R3 . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4 Ellipsoid space . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Collision detection 9
3.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Checking a single triangle . . . . . . . . . . . . . . . . . . . . 11
3.3 Colliding with the inside of a triangle . . . . . . . . . . . . . . 13
3.4 The sweep test . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5 In summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 Collision response 18
4.1 The sliding plane . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.2 Sliding the sphere . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3 Gravity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.4 In summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5 Conclusions 25
A Calculating the normal to a regular surface 27
B The plane class 32
C Utility functions 34