日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

[OSG]OSG的相关扩展

發布時間:2025/4/5 编程问答 18 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [OSG]OSG的相关扩展 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

參考:osg官網?http://www.osgchina.org/index.php?view=article&id=176

http://trac.openscenegraph.org/projects/osg//wiki/Community/NodeKits

https://github.com/xarray/osgRecipes/wiki

OSG的相關擴展,OSG針對每個特定應用,也有很多的開發者進行開發和完善,難能可貴的是然后還進行了開源。本文的目的是讓大家能夠站在巨人肩上,可以選擇在能找到的成熟的開源庫基礎上開發。 ? ----FreeSouth注。

  • osgBullet:?OSG和 Bullet 物理引擎的結合。
  • osgCairo: OSG 和 Cairo API 的結合,Cairo是一個2D圖形庫。
  • osgEarth: 基于分頁數據的功能強大的開源地球地形系統。.
  • osgEphemeris: 模型星象數據的開源工程。
  • osgOcean: 用來模擬海洋。
  • osgRiver: 有愛好者基于osgOcean修改的模擬河流的庫。
  • osgPPU: 一個基于OSG的post-render的庫。
  • osgToy and osgVRPN: ?OSG實用庫,包含OSG和VRPN的結合。
  • osgWorks: 一個OSG的工具庫,包含很多實用類。
  • osgTransparencyToolkit: 一個實現了多重透明的OSG實用工具庫。
  • osg.JS: 使用JS實現的OSG。
  • osgAndroid: 在Android上開發OSG程序的工具庫。
  • osgRecipes: array主導的,將OSG與AntTweakBar、AssImp、Awesomium、FreeImage、Kinect、PhysX、Spark、TUIO、VLC進行結合的集合庫。
  • osgExp: 用于在3DMAX中將模型導出成OSG/IVE。
  • osgNV: 為OSG提供對CG語言的支持,提供一些示例。
  • osgART: OSG的增強現實庫。
  • osgGLSL: OSG寫的Shader的一些示例。
  • osgToy: toys for OSG。
  • osgVisual: 一個地形可視化庫,里面包含了OSG和sliverning, triton相結合的功能。
  • osgXI: array主導的,包含了很多GPU效果和游戲開發組件,也包含對CG以及maya導出的支持。
  • delta3D:?美國海軍研院所投入研發的基于OSG的軍事仿真庫。
  • osghimmel: OSG另一個和天空星象模擬的庫。
  • osgEphemeris: 天體和星象模擬軟件。
  • flightgear: 基于OSG的極為專業的飛行模擬軟件,有osgEarth的版本。
  • osgcal:?OSG和cal結合的庫。CAL是做骨骼動畫的。
  • osgHaptics: OSG和Haptics結合的庫。Haptics是一個觸覺相關的系統。
  • osgVirtualEnvironment:?Configurable, device-independent virtual reality engine built on top of OpenSceneGraph.
  • osgAudio:?3D聲音庫,將OSG與FMOD結合。
  • osgAL: 3D聲音庫,將OSG與openAL結合。
  • osgModeling: array主導的,使用OSG建貝塞爾曲面等各種偏數學模型的庫。
  • osgode: 將osg與ODE相結合的庫,ODE是個物理引擎。
  • osgsmallcity: 如其名所述,模型一個小城市。
  • osgpango: osg和pango的結合,pango是個專業的文字渲染庫,比如:可以渲染跳動的文字等。
  • ?

    ?

    This project is the source code repository of Rui Wang & Xuelei Qian's book?OpenSceneGraph 3.0 Cookbook, Packt Publishing, 2012. You may read more details or order this book at:http://www.packtpub.com/openscenegrap-3-for-advanced-3d-programming-using-api-cookbook/book

    Integrations

    This section will show you how to integrate OSG with different kinds of libraries and SDKs. These libraries can add extra functionalities like special effects, visual components and interaction methods to your OSG scene and greatly improve the performance of the applications. These libraries must be free for downloading and for non-commercial purpose of use. The license of the example code may vary according to the license of the third- party library if it does not fit the public domain.

    GUI components

    AGG

    Use AGG (Anti-Grain Geometry) - the high fidelity 2D graphics library with OSG.

    http://www.antigrain.com/

    Setup & use: just run the program, copying font file to valid directory.

    Future plan: none.

    AntTweakBar

    A light and intuitive GUI framework.

    http://www.antisphere.com/Wiki/tools:anttweakbar

    Setup & use: just operate on the embedded GUI window.

    Future plan: none.

    Awesomium

    A web-browser framework for in-app browsing and HTML UIs.

    http://awesomium.com/

    Setup & use: load websites (including HTML5 and Flash) to OSG images.

    Future plan: load native files, execute JavaScript programs, and improve the efficiency.

    MyGUI

    A fast, flexible and simple GUI.

    http://mygui.info/

    Setup & use: copy MyGUI media files and default resource XMLs to correct locations and then run the demo.

    Future plan: support IMEs.

    VLC

    A cross-platform multimedia player and framework.

    http://www.videolan.org/vlc/

    Setup & use: put the executable into VLC path, then load movies to OSG images using the command:

    ./osgvlc movie_file_or_stream

    Future plan: improve the efficiency.

    Visual effects

    Microsoft DirectWrite

    A text-layout and glyph-rendering API. You may find it in the Windows SDK.

    Setup & use: draw texts on a quad and render it in the scene.

    Future plan: Finish the custom text renderer to support all kinds of layouts.

    Spark

    A crossplatform particle engine.

    http://spark.developpez.com/

    Setup & use: copy integrations/data to executable path, then run with any of the following argument:

    ./osgspark [--simple/--explosion/--fire/--rain/--smoke]

    Future plan: add more effects, and add support for particle callbacks.

    ngPlant

    A plant modeling software suite.

    The source code is already included in the source code. You may also visithttp://ngplant.sourceforge.net?for updates.

    Setup & use: copy integrations/data to executable path, then view the loaded tree model.

    Future plan: use GLSL to improve the rendering, and consider some more effects on plants.

    Interactions

    libGizmo

    Gizmo control library for 3D object manipulation.

    https://github.com/CedricGuillemet/LibGizmo

    Setup & use: direct drag the gizmo to manipulate, scroll mouse to change gizmo types, and use CTRL and mouse to navigate scene as usual.

    Future plan: none.

    Microsoft Kinect SDK

    http://www.microsoft.com/en-us/kinectforwindows/develop/developer-downloads.aspx

    Setup & use: install the XBox Kinect device, and act in front of it.

    Future plan: use Kinect to control real human skeletons.

    OpenNI

    A natural interaction devices middleware, including Kinect.

    http://www.openni.org/

    Setup & use: install the XBox Kinect device (with OpenNI/NITE driver), and act in front of it.

    Future plan: use Kinect to control real human skeletons.

    TUIO

    A common API for tangible multitouch surfaces.

    The source code is already included in the source code. You may also visit?http://www.tuio.org/?for updates.

    Setup & use: install a TUIO server on some other device (e.g., TUIOpad on iPad, and TUIOdroid on Android), setup the server to connect to correct IP and port (3333), and control the scene with multi-touch gestures.

    Future plan: none.

    Physics components

    Box2D

    A 2D physics engine for games.

    http://box2d.org/

    Setup & use: Press Left/Right/Up/Down keys on the keyboard to fire disks to hit the boxes.

    Future plan: add more physics features (joints, ropes and vehicles).

    Bullet

    A professional free 3D game multiphysics library.

    http://bulletphysics.org/wordpress/

    Setup & use: simulate the scene and fire sphere objects to the box wall with Enter key.

    Future plan: add more physics features (joints, cloth, soft bodies and characters).

    NVIDIA PhysX version 3.2

    A well-rounded physics engine.

    http://developer.nvidia.com/physx-downloads

    Setup & use: --rigid: simulate the scene and fire sphere objects to the box wall with Enter key.

    --cloth: see a sample cloth fall onto a set of sticks

    Future plan: add more physics features (joints, soft bodies and characters).

    Misc

    MicroPather

    A path finder and A* solver.

    The source code is already included in the source code. You may also visithttp://www.grinninglizard.com/MicroPather/?for updates.

    Setup & use: just see the result in any customized maze.

    Future plan: none.

    RVO2

    Reciprocal collision avoidance for realtime multi-agent simulation. Thanks Christian Buchner for the original osgrvo2 example on osg-submissions.

    http://gamma.cs.unc.edu/RVO2/

    Setup & use: double click to make spheres move from one place to another, automatically avoiding obstacles.

    Future plan: add billboard person animation from Christian Buchner, add 3D support.

    Reader/writers

    AssImp

    A library to import various well-known 3D model formats.

    http://assimp.sourceforge.net/

    Setup & use: load model files (3ds, obj, dae, etc.) with the .assimp extension:

    ./osgviewer your_model.dae.assimp

    Future plan: import skeleton data, and add more material support.

    FreeImage

    A library supporting popular image formats.

    http://freeimage.sourceforge.net/

    Setup & use: load image files (dds, jpg, png, psd, etc.) with the .freeimage extension:

    ./osgviewer your_image.dds.freeimage

    Future plan: add writing functions, and add more options.

    OTL

    Oracle, Odbc and DB2-CLI template library.

    The source code is already included in the source code. You may also visit?http://otl.sourceforge.net/for updates.

    Setup & use: load/save data in ODBC databases with the .otl extension (tested with Sqlite3):

    Create new table and save first node:?./osgotl --new-table --src cow.osg --output usr/pwd@DSN:table_name:cow.osg.otl?Save the second node:?./osgotl --src cessna.osg --output usr/pwd@DSN:table_name:cessna.osg.otl?Read one of the nodes:?./osgotl --input usr/pwd@DSN:table_name:cessna.osg.otl

    Future plan: tests and fixes for more databases.

    SilverLining SDK?Triton SDK

    The Weather/Cloud library and Ocean library from SunDog:?http://www.sundog-soft.com/

    The example here is easier to integrate and can render ocean on arbitrary meshes.

    Setup & use: Start the program and see the source code

    Future plan: add ocean and clouds on earth

    ?

    ?

    ?

    ?

    Windowing, GUI and HUD

    • osgProducer- Integrates OpenSceneGraph with Producer (License : OSGPL)
    • Leandro Motta Barros's?OSGUIsh. OSGUIsh allows a programer to register callbacks that are called when GUI-like events happen on scene graph nodes. So, you can have some code executed whenever the user clicks a certain node, or moves the mouse over it, or turns the mouse wheel, or... (License: OSGPL)
    • osgGauge?- A 2D gauge and instrument panel rendering library, courtesy?Delta3D.
    • osgWidget?Nodekit that allows for the creation of UI elements natively (without having data reproduction in external projects like CEGUI) and provides helpers for event handling, scripting, etc.
    • osgCairo?Nodekit that allows for the creation of Cairo surfaces as instances of osg::Image. These images can be used as textures in OSG, and harnessed to create clean, anti-aliased interface elements.
    • osgEgypt?Nodekit that embeds the Python interpreter to allow the loading of Python scripts as images. This allows OSG to load any image that Python can convert into a buffer object, and facilitates fast prototyping of and testing of osgCairo (a Nodekit on which osgEgypt relies) images.

    Additional OpenGL feature support

    • osgOQ- Adds OpenGL occlusion query support to OSG (License : OSGPL)
    • osgNV?(discontinued) -?Marco Jez's?library which adds support the latest NVidia extensions and Cg high level shader language (License : GNU LGPL).

    Animation

    • osgCharacter-?Neil South's?character animation Plugin, includes a maya exporter, (License : OSGPL)
    • VRlab's?ReplicantBody?character animation library based on Cal3D and the OSG (License : GNU LGPL).
    • osgCal which integrates?Cal3D?and the OSG. There are two active branches now, the?original?LGPL one by?Ruben Lopez, and?another?released under the GPL and derived from the 2003 LGPL code.
    • Toshiyuki Takahei's?osgField?provides universal way to implement and serialize animations based on osgIntrospection (License : GNU LGPL).
    • osgAnimation?Nodekit that allows for skinning and rigid object animation in?OpenSceneGraph. It was called osgATK before renaming osgAnimation. You can find info on it on a new page consacred to it.

    Modeling

    • Wang Rui's?osgModeling?is a open source modeling library. Its purpose is to help generate kinds of parametric curves and surfaces (extrusions, revolutions, lofts, Bezier, NURBS and so on) and convert them to osg::Geometry instances, build BSP tree for models and do boolean operations. (License : GNU LGPL)

    Support for general graphical algorithms and effects

    • Michael Gronager's?[Attach:osgvtk.zip osgVTK] which integrates?VTK?and the OSG (License : unknown).
    • Vladimir Vukicevic's?osgChunkLOD?implemention (License : OSGPL).
    • Ulrich Hertlein's?OSG page on?stl and .x loaders, outline F/X, video texture, and particles systems?(Licenses : OutlineFX is OSGPL, videotex-0.1.2 and particle-0.2.1 are GNU LGPL).
    • osgchips, 3D representation of casino chips (License: GNU GPL)
    • osgEphemeris?- An Ephemeris Model for OSG.
    • osgTDS?- Terrain Deformation Software for OSG.
    • osgPPU?- post processing nodekit for HDR, DoF, SSAO, ...

    Virtual Reality

    • osgVR?-?Michael Gronager's?OSG nodekit for viewer independent setup of VR systems and applications (License : OSGPL)
    • OpenSceneGraph HapticLibrary, (osgHaptics), incorporates force/sence rendering into OpenSceneGraph . osgHaptics depends on OpenHaptics from Sensable Inc.?Sensable.
    • osgVRPN?-?Mike Weiblen's?set of classes to integrate OpenSceneGraph with the?Virtual Reality Peripheral Network?(License : OSGPL).
    • AR scene graph, Extension of OpenSceneGraph to support Augmented Reality.

    GIS and Mapping

    • osgEarth?- Dynamic terrain rendering toolkit that reads imagery, elevation, and vector data and generates whole-earth terrain databases at run time. Supports OGC open standards, local files, and a wide variety of rendering options.
    • osgGIS?- Scalable toolkit for generating 3D geometry from geospatial vector data. Use osgGIS to build large numbers of 3D buildings, trees, or cartographic features that you can incorporate into anosgEarth?or?VPB?terrain.

    Audio

    • OpenSceneGraph Audio Library, (osgAL), integrates?OpenAL?and OSG.
    • OpenSceneGraph Audio, (osgAudio), the successor to osgAL, supporting openAL and FMOD and improved state handling.

    Miscellaneous

    • Mike Weiblen's?osgToy, a random collection of fun and useful tools, such as fractal generators, normal visualizers, normal generators, and more. (License : OSGPL)

    Obsolete

    • [attachments:osgGL2.zip osgGL2] - Mike Weiblen's original?KnowledgeBase?/OpenGL Shading Language node kit. Since support for?KnowledgeBase?/OpenGL Shading Language has moved into the OSG core, osgGL2 is obsolete.
    • Changzhi Li's [Attach:osgShadow.zip osgShadow] nodekit which adds stencil shadow volume rendering (License : proprietary although the intent was probably to publish it under the GNU GPL or GNU LGPL but the distribution does not contain any mention of the licensing terms which makes it proprietary).
    • Parallel-Split Shadow Maps : I started with the OpenSceneGraph integration, i would be very pleased if the community would support me. more information about PSSM, have a look at?GameDev, to get involed please contact Adrian Egli [3dhelp (@) gmail.com]

    Attachments

    • osgGL2.zip?(124.9 kB) - added by?martin?10 years?ago.

    總結

    以上是生活随笔為你收集整理的[OSG]OSG的相关扩展的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。