Skip to content
Konstantin Podsvirov edited this page Sep 26, 2015 · 1 revision

Demo: Integrating OpenSceneGraph with Qt Quick

Translations

English | Русский

Screen shot

osgQtQuick:screen

Code fragment (QML)

import QtQuick 2.1
import QtQuick.Controls 1.0
import osgQtQuick 1.0

...

OSGNodeFile {
	id: cessnaNode
	source: "cessnafire.osg"
}

OSGViewport {
	id: fullview
	anchors.fill: parent
	sceneData: cessnaNode
	color: "transparent"
	opacity: 0.999
	mode: OSGViewport.Buffer
}

...

Download

  • Source code osgqtquick-d835c61.tar.gz

  • Or you can try to get the code via git:

    git clone git://podsvirov.pro/osg/osgqtquick.git

Dependencies

For this demo, I used:

  • Qt 5.1
  • OpenSceneGraph 3.2.0

Meet osgQtQuick 2.0!

More there.

Clone this wiki locally