OSG composition structure details, OSG composition structure details

Source: Internet
Author: User

OSG composition structure details, OSG composition structure details
Core Structure of the Composition Structure of OSG

The OSG function class is named in the form of "namespace + class name. The namespace naming method is as follows: The first word is in lowercase, and the first letter of the subsequent word is in uppercase, such as osg, osgUtil, and osgViewer. The class name is a combination of the first letters of each word in uppercase, for example, MatrixTransform and NodeVisitor. A function member function starts with a lower-case subtitle, and then the first letter of each word is capitalized, such as setMatrix () and setAttributeAndModes (). If you try to describe a function member function, you can write it as follows: osg: MatricTransform: setMatrix ().
An OSG engine consists of a series of Dynamic Link Libraries (. dll /. so), plug-in (. dll /. so), static Link Library for developers (. lib /. a) the header file and executable tool programs and examples can be divided into the following types according to their functions.
-[X] OSG core library: provides basic scene graphics and rendering functions, as well as some specific functions required by 3D graphics programs. Core OSG libraries include:
-[X] osg Library: including scene graphics node class for building scene images, class for vector and matrix operations, and class for drawing objects and ry; classes used to describe and manage rendering states, as well as typical functional classes required by graphics programs, such as command line Parameter Parsing, simple animation paths, and error and warning output.
-[X] osgDB Library: contains the plug-in class registrars for reading and writing 2D and 3D files, and specific functional classes for accessing and reading and writing these plug-ins; in addition, it also provides a dynamic paging scheduling mechanism for data. It can support the dynamic attitude of large-scale data to allow unmounting.
-[X] osgUtil Database: used tool library, including data statistics and optimization tools for scene graphics, rendering backend tools, and scene cropping tools; and classes related to a large number of geometric operations, tools such as deloni triangle, triangular strip, automatic generation of discovery coordinates, and scenario tree optimization are provided.
-[X] osgGA Database: provides a variety of management tools for interactive events in visual windows to build an abstract layer of man-machine devices unrelated to the platform.
-[X] osgViewer Library: it is an integrated tool for observation and management of one or more scenes and underlying graphic device Code related to the platform; multiple Threads and CPUs are also provided. Multi-display rendering mechanism.
-[X] node extension Toolkit (NodeKits): extends the graphic node functions of the core OSG scenario to provide advanced node types and rendering effects. Node extension libraries include:
-[X] osgAnimation: scene animation processing library, including definition of various key frames, interpolation methods, animation management and fusion, animation paths, role animation, deformation animation, and progressive animation.
-[X] osgFX: a special effect library for scenes, including the implementation of special effects for various scenes, such as cross-image illumination, cartoon coloring, and concave-convex textures. With the gradual development and application of OpenGL coloring language, this library has been gradually weakened.
-[X] osgManipulator: The scenario object operation library, used to implement user interaction control of scenario objects, including movement, rotation, and scaling.
-[X] osgParticle: Particle effect library for simple or complex scene particle effects, such as rain, snow, smoke, and flame. Explosion, motion trail, etc.
-[X] osgShadow: Shadow special effect library, used to draw shadows of objects in multiple forms, including ShadowMap, ShadowTexture, and Shadow Volume ), and a variety of GPU-based latest shadow implementation techniques.
-[X] osgSim: A simulation tool library, including DOF node changes, texture coverage nodes, point and light source nodes, and a variety of Virtual Simulation-related sets.
-[X] osgTerrain terrain processing database for real-time terrain reading or display
-[X] osgText: a text processing library for dot matrix or vector text display, including texture and 3D text formats. It also supports multiple font selection and multi-country language encoding.
-[X] osgVolume: a library for implementing object rendering. It is used to implement various techniques related to object rendering.
-[X] osgWidget: a 3D widget library used to implement user interaction controls in 3D scenarios, such as edit boxes and buttons, this is very useful in the development of game or 3D scene chat tools.
-[X] OSG file read/write plug-ins: These plug-ins include 2D images, 3D images, and other types of file read/write functions, which can be expanded or deleted at will.
-[X] introspection Database: provides functions for integrating OSG with other development environments, such as the Script Language Python.
-[X] tool programs and sample set: provides more than 100 practical tools and examples about OSG usage and function implementation.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.