首页 | 本学科首页   官方微博 | 高级检索  
     

数值模拟实时三维可视化的C#与OpenGL实现
引用本文:朱泰山,王一一,冯国泰.数值模拟实时三维可视化的C#与OpenGL实现[J].电脑编程技巧与维护,2008(9):81-84.
作者姓名:朱泰山  王一一  冯国泰
作者单位:[1]哈尔滨工业大学能源科学与工程学院,哈尔滨150001 [2]北京大学软件与微电子学院,北京102600
摘    要:计算实时三维可视化已成为当代CFD/NHT等大型数值模拟软件的基本要求,C#中提供的GDI+显然无法满足。所幸目前已有一些成熟的3D图形开发库,如OpenGL和Direct3D,然而这两者所提供的函数均为C接口的API形式。并且利用C/C++、VB以及Fortran等语言开发OpenGL实现的技术已相对成熟,但在.NET环境下开发的技术对于程序员来说,仍可称为一种挑战。本文以哈尔滨工业大学开发的HITurbine为例,较为仔细地讨论了在.NET下利用C#与OpenGL实现的三种方式。这是在.NET环境下开发具有三维可视化程序的第一步,同时也可以作为一般数值模拟软件计算实时三维可视化的基本框架.

关 键 词:实时可视化  三维可视化  数值模拟  接口

Real-time 3D Result Visualization Based on C# and OpenGL for Numerical Simulation
Affiliation:ZHU Taishan,WANG Yiyi,FENG Guotai(1. School of Energy Science and Engineering, Harbin Institute of Technology, Harbin 150001; 2. School of Software and Microeleca'onics,Peking University,Beijing 102600)
Abstract:Real-time 3D Result Visualization has become one of the elementary components of such numerical simulation codes as CFD/NHT software. It is obvious that GDI+ in C# can barely meet the need. Fortunately, there are some 3D graphics interface such as OpenGL and Direct3D, which both supply the function of API form in C. In addition, the technology of develop OpenGL in C/C ++, VB and Fortran is already mature, while in .NET is still a challenge to programmers. The main objective of this paper is to summarize three ways of realization by C# and OpenGL, which could be taken for a general frame of numerical simulation software, taking HITurbine develoned by PTT-HIT for example.
Keywords:Real-time Result Visualization  3D Visualization  Numerical Simulation  Interface
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号