Skip to content

Latest commit

 

History

History

1.5.SampleUnderLinux

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Table of contents

This tutorial is part of OpenSceneGraph cross-platform guide.

In this tutorial we build and run sample OpenSceneGraph application under Linux. The application displays provided model with simple GLSL shaders.

Note: this tutorial requires

YouTube | Download

Video depicts running and building sample OpenSceneGraph application under Xubuntu 16.04.

Note: steps below use frames from the video as screenshots. Watch the video to see all details.

Screenshot

Get the latest copy of sample application with the following command:

git clone https://github.com/OGStudio/openscenegraph-cross-platform-guide-application.git

Screenshot

Create a separate build directory for sample application, just as you did for OpenSceneGraph.

Screenshot

Configure sample application build with the following commands:

cd /path/to/build/dir

cmake /path/to/source/dir

Screenshot

Build sample application with the following commands:

cd /path/to/build/dir

make

Screenshot

Run sample application with the following commands:

cd /path/to/build/dir

./sampleApplication /path/to/box.osgt