Java3D鼠标交互功能的扩展与应用  被引量:2

Extension and Application of Enhanced Interactive Mouse Functions in Java3D

在线阅读下载全文

作  者:魏东[1] 刘童[2] 余冠华[2] 

机构地区:[1]合肥工业大学计算机学院,安徽合肥230009 [2]沈阳工业大学信息学院,辽宁沈阳110178

出  处:《计算机系统应用》2010年第4期49-52,共4页Computer Systems & Applications

基  金:沈阳市科技局项目(1032033-1-03)

摘  要:分析了Java3D提供的鼠标交互功能,针对场景比较复杂,待拾取物体相对距离近的虚拟环境中用户拾取不准的问题提出了一种解决思路:在鼠标移动过程中实时创建一条连接空间中的视点与投影平面上的鼠标点的射线,检测沿射线的方向是否有物体与之相交,若有则返回距离视点最近的与射线相交物体所在的节点,并在该节点上添加一个动画效果提示用户该节点是预选节点。重点讲解了具体的实现过程,在最后的部分结合实际应用背景验证了该方法可以有效地方便用户的拾取操作。This paper has analyzed the build-in mouse interactive function of Java3D to solve the problem that user cannot pick the objects which are too closed to each other accurately. A solution is proposed. First,a ray can be built that connects the viewpoint and the mouse point in the imageplate as the mouse is moved. Then,the ray can be checked if it intersects with any object. If yes,we can return to the object intersecting the ray and closest to the viewpoint. Finally,we can add an animation effect on the node to remind the user that this node is a pre-selected node. This paper focuses on explaining the realizing process of this method. In the final part,a practical application verifies that this method can facilitate the user in mouse picking effecttively.

关 键 词:计算机图形学 计算机仿真 虚拟现实 人机交互 拾取 

分 类 号:TP334.2[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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