Font Size: a A A

Research And Implementation Of Cross-platform3D Scene Editor Based On OpensceneGraph Enging

Posted on:2014-02-08Degree:MasterType:Thesis
Country:ChinaCandidate:H T WeiFull Text:PDF
GTID:2248330398978311Subject:Conservancy IT
Abstract/Summary:PDF Full Text Request
With the development of virtual reality technology,the3D visual technology which is an important component of the virtual display technology has made great development, and the applications of3D visualization are increasing. At the same time,with the emphasis of the country on the information security, the government has been promoting the localization of the operating system, which make the Linux operating system increase in the proportion of government departments. So the current development of software should take the two different Windows and Linux platforms into account. Consequently developing a cross-platform, visualization of3D scene editing software is quite necessary. The easy3D scene editing software can provide a fundamental3D scene for3D visualization application, so it can not only accelerate the development of3D visual applications, but also can reduce the threshold of the3D visual applications.This essay introduces Qt which is a cross-platform application program frame of C++graphic user interface, signals and slot mechanism of Qt as well as the database support of Qt and other techniques in Qt. The scene organization OpenSceneGraph is summarized, which is of cross-platform, open source and3-dimension, organization of rendering state. Some important nodes and access mechanism of scene nodes, as well as the human computer interaction techniques of OSG are also summed up. What’s more, a software development method of generic components is put forward, which is derived from the idea of Microsoft COM and is raised aimed at the deficiency of Microsoft COM. The application of this method is illustrated in detail.According to the requirements and characteristics of the3D scene editor OsgSceneBuild, the open source3D engine OpenSceneGraph is used as the scene driving and graphics rendering engine. Qt which is a cross-platform open source C++graphic interface frame is employed as the GUI interface. The development of3dimensional scene editor and its design function are accomplished by using the Sqlite database that is a light database as the database of OsgSceneBuild database. The achievements are follows:1) The3-dimension-scene editor OsgSceneBuild is accomplished using the cross-platform C++graphic interface frame Qt as well as the development method of generic component derived from Microsoft COM technique based on open source3dimensional engine OpensceneGraph.2) The3-dimension-scene editor makes it possible to add models in the scene freely and the visible modification of the size, location, shape and other parameters of the models is also achieved. The relevance between the scene nodes and database is achieved by using Sqlite as the scene database. The3-dimension visualization of terrain is achieved by employing Sqlite to manage models’attributes in the scene.The scene editor employs constrained triangulation network Delaunay to establish Tin, accomplishing the3dimensional visibility of terrain surface. Furthermore, it is achieved to create roads and rivers on the terrain surface by using them as constrained conditions. Match between roads,rivers and terrain surface is also accomplished. The scene editor combines OSG engine and rendering language GLSL, thereby accomplishing the establishment of water surface and receiving relatively authentic effect of water surface. Some particular functions such as sky background, lighting, and sound are made possible and effects of the scene are enhanced.3) Practical application of scene editor on the platform of Windows and Linux is carried out. Moreover predictable effects are accomplished on both of the platforms.Research work done in the paper is summarized finally, things to be improved are pointed out, and future research work is prospected.
Keywords/Search Tags:Qt cross-platform imitation component, OSG, scene editor
PDF Full Text Request
Related items