一种OpenGL局部缩放算法及应用  被引量:3

An OpenGL-based local scaling algorithm and its application

在线阅读下载全文

作  者:张立成[1] 张鸽 

机构地区:[1]长安大学信息工程学院,陕西西安710064 [2]西安中交土木科技有限公司,陕西西安710075

出  处:《微型机与应用》2013年第19期44-47,共4页Microcomputer & Its Applications

摘  要:缩放是OpenGL三维模型展示的基本操作之一,一般缩放时由于整个场景围绕视景体中心缩放,感兴趣区域在视图窗口中的位置会不断变化甚至离开视景体,需要不断地执行平移操作,不断地修正感兴趣区域在视图窗口中的位置,无法集中精力观察工程计算中模型的变化细节。为了解决该问题,从图形学角度提出了一种改进的局部缩放算法,实现了用鼠标滚轮缩放模型时,鼠标选择处的模型不离开视景体而相对视图窗口的位置保持不变,省去了传统算法中用户进行缩放操作时需要不断进行平移的操作,改进了用户体验。该算法在多个可视化项目中得到实际应用,取得了很好的操作体验。Local scaling is one of the most popular operations in OpenGL graphic applications. Normally, the entire scene zooms around the center of the view volume with mouse wheel, making the region of interest unstable in position and even be out of sight. Thus, many translation operations are required to move the target in sight. So, attentions can not be focused on detail deformation of engineering calculation. A new algorithm from the viewpoint of computer graphics is provided, which makes the selected point of the model fixed relative to the viewport while the mouse wheels. Thus, users needn't perform translation operations to move the region of interests in sight. The algorithm has been applied in several visualization projects and achieved good operating experience.

关 键 词:计算机应用 坐标变换 局部缩放 可视化 视景体 

分 类 号:TP319[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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