osg(osg中文社区)-osgEarth-osgViewer-基于OpenGL-开源三维渲染引擎-图形引擎-虚拟仿真工具-osg教程-osg仿真

第三方库

当前位置:首页 > 下载中心 >第三方库

作者: admin 发布于2018-10-16 11:12:50 分类 : 下载中心

【osgChina权威发布】vs各版本第三方库3rdParty及osg&oe编译好的库,用户可以单独下载第三方库进行使用,也可以下载编译好的osg oe进行使用。具体内容请访问下面百度网盘链接进行了解使用。链接:https://freesouth.blog.csdn.net/article/details/121093781(请复制至浏览器打开)


OSG必须使用第三方库来完成一些可选但是常用的功能,比如读取PNG、字体、JPEG等文件。本文列举了OSG需要的常见第三方库,以让用户免于寻找之苦,但是如果用户需要一些其它的第三方库来做一些工作,则需要自己编译,比如需要FFMPEG来在场景中播放影音。通过CMAKE编译可以清楚的看到OSG当前支持哪些第三方库以及这些库需要哪些头文件与库文件相配合。


Windows

VisualStudio 2013 RTM (VC12)

VisualStudio 2012 Update3 (2012.3, VC11)

VisualStudio 10 (2010)

VisualStudio 9 (2008) SP1

VisualStudio 8 (2005) SP1 - svn access directory

VisualStudio 7.1 (2003) - svn access directory


Linux 

32 & 64 位 Ubuntu http://openscenegraph.alphapixel.com/osg/downloads/openscenegraph-third-party-library-downloads

Debian GNU/Linux下可以通过如下链接pre-packaged binaries然后运行 apt-get build-dep openscenegraph命令安装依赖。


Mac OSX 

32&64位http://openscenegraph.alphapixel.com/osg/downloads/openscenegraph-third-party-library-downloads


Android 

Android上的第三方库包含:libjpeg,libpng, libtiff,libcurl 和 freetype,在 armeabi v5 和v7 (With Neon extensions)经过测试。

通过如下链接下载:http://www2.ai2.upv.es/difusion/osgAndroid/3rdpartyAndroid.zip

把该依赖放在OSG源码根目录, CMAKE会自动检测。


常见依赖.

Plugins : 

file format

Plugin source code in the OSG distribution

Windows

OSX

Unix

tiff images

src/osgPlugins/tiff

tiff from the gnuwin32 repository

Fink or (see note on Quicktime)

libtiff

jpeg images

src/osgPlugins/jpeg

jpeg from the gnuwin32 repository

Fink or (see note on Quicktime)

libjpeg

gif images

src/osgPlugins/gif

libungif from the gnuwin32 repository

Fink or (see note on Quicktime)

libungif

png images

src/osgPlugins/png

libpng from the gnuwin32 repository

Fink or (see note on Quicktime)

libpng & libz

true type fonts

src/osgPlugins/freetype

freetype from the gnuwin32 repository

Fink or freetype

freetype

performer .pfb's

src/osgPlugins/pfb

Performer (now discontinued)

Performer is not available

Performer - for Linux and IRIX (now discontinued)

注意:在OSX下可以通过Quicktime插件来读取tiff, jpef, gif and png,因此相关插件就不用在OSX下编译了。