摘要
储氢合金作为镍氢电池的负极材料,其工艺流程的仿真正成为提高生产效益的重要手段。为了增加视景仿真系统中模型的真实感,论文从WindowsDIB中读取图像数据,将其转化为OpenGL可读取和存储的数据格式,并作为纹理数据映射到物体表面。实现了从WindowsDIB格式到OpenGL格式的转换,并给出了两种将WindowsDIB格式转换成OpenGL纹理的方法,在应用系统的开发中完成了视景仿真系统中模型的纹理映射。
The technology simulation of storage-hydrogen alloy,cathode material used in the Ni/H battery,is becoming an important method of improving the production efficiency.In order to increase the model real effect in the simulation system,In this paper graphic data are read from Windows DIB files and translated to data format which can be read and storaged by OpenGL,then mapped to the surface of the models.This paper implements the translation from Windows DIB format to OpenGL format and provides two methods translating Windows DIB format to OpenGL format.By the two ways,texture mapping to the models in simulation system is implemented in the application system.
出处
《计算机工程与应用》
CSCD
北大核心
2003年第18期230-232,共3页
Computer Engineering and Applications
基金
国家科技部基础研究重大项目前期研究专项项目(编号:2001CCA05000)