Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.27 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.27 KB

osgWidget

A basic scaffold to embed OpenSceneGraph into QOpenGLWidget.

pre-build (example for windows)

vim config.local
CMAKE_PREFIX_PATH=C:/Qt/5.8/msvc2015
ENV{OSG_DIR}=C:/Program Files (x86)/OpenSceneGraph

vim copy_dlls.local
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgDBd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgGAd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgUtild.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgViewerd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/ot21-OpenThreadsd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osg157-osgTextd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osgPlugins-3.6.2/osgdb_osgd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osgPlugins-3.6.2/osgdb_deprecated_osgd.dll
C:/Program Files (x86)/OpenSceneGraph/bin/osgPlugins-3.6.2/osgdb_deprecated_osganimationd.dll

build

mkdir build
cd build
cmake ..
cmake --build .

data

check https://github.com/openscenegraph/OpenSceneGraph-Data

run

_20180709215300