虚拟现实中基于Hermite曲线实现固定漫游路径算法与优化  被引量:2

Fixed Roaming Algorithm Realization and Optimization in Virtual Scene Based on Hermite Curve

在线阅读下载全文

作  者:裴玉[1] 刘桂阳[1] 师翊 

机构地区:[1]黑龙江八一农垦大学信息技术学院,大庆163319

出  处:《黑龙江八一农垦大学学报》2014年第1期71-74,104,共5页journal of heilongjiang bayi agricultural university

基  金:黑龙江省高等教育教学改革项目(黑教高函2013-351号文件;项目号365)

摘  要:利用Hermite样条曲线的原理,在Unity3D环境下,实现了虚拟场景中固定漫游路径的生成算法。用户可以在交互方式下调整控制节点,为了方便用户实时观察路径曲线,利用OnDrawGizos函数自动生成随着小球变化的蓝色路径,用户在编辑模式下就可看到曲线的变化。最后利用节点固化的方法,将生成的曲线坐标保存到数组中,从而摆脱了固定漫游中由于大量计算而造成计算机资源的浪费。Hermite spline principle was used to realize the generating algorithm of fixed roaming path in virtual scene under Unity3D environment. Users might adjust the control node under interaction mode. In order to make it convenient for users to observe the path curve,OnDrawGizos function was used to generate a blue path which changed with the bobble automatically. Finally,node fixing method was used to save the generated curve coordinate in the array,so as to get rid of waste of computer resources by fixed roaming caused numerous calculation.

关 键 词:虚拟现实 样条曲线 固定漫游路径 优化算法 

分 类 号:S482[农业科学—农药学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象