摘要
对于虚拟场景自动漫游功能,存在改进的折线法和Hermite样条插值法,这两种方法都不能彻底消除漫游中摄像机抖动的现象.为了彻底克服抖动,提出以Cardinal样条插值算法为基础的新方法:先用Cardinal插值计算出足够密的曲线点,再根据这些点在曲线上筛选等弧长的点,并用文件储存.在自动漫游的时候再根据等弧长的点和漫游速度切换摄像机.对于网络的应用,可用XML格式储存.基于Cardinal的方法可以彻底克服摄像机的抖动,使漫游曲线非常平滑.给出了一个Web应用的实例.
Improved multiline and Hermite spline methods are used for auto-touring in virtual scene. But in the two methods camera shake can't be avoided completely during touring. In order to overcome camera shaking, a new method based on Cardinal spline is found by calculating curve points that are very dense in Cardinal inserting method, and selecting points with equal are length from curve points. In touring, camera can be switched according to the equal arc length points and tour velocity. XML may be used in Web application. Methods based on Cardinal can overcome camera shaking completely with smooth touring curve. An instance of Web applieation is presented on internet.
出处
《桂林工学院学报》
北大核心
2007年第2期278-281,共4页
Journal of Guilin University of Technology
基金
科技部国际合作项目(AM30:023(30-50))