OpenSceneGraph cross-platform guide: run OSG under Linux, macOS, Windows, Android, iOS, Web
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
1.1.CreateCube
1.10.SampleWeb
1.2.InstallUnderLinux
1.3.InstallUnderWindows
1.4.InstallUnderMacOS Clarify the origin of screenshots in all readmes Apr 12, 2017
1.5.SampleUnderLinux Add stub iOS README and change the order of requirements May 15, 2017
1.6.SampleUnderWindows
1.7.SampleUnderMacOS
1.8.SampleUnderAndroid
1.9.SampleUnderIOS
docs Try index.html Jun 30, 2017
readme
src
tutorial-tool
.gitignore
README.md

README.md

Table of contents

Overview

OpenSceneGraph is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling.

It uses OpenGL (including ES) to perform 3D rendering.

This guide explains how to render a simple 3D model using OpenSceneGraph under the following platforms:

  • Linux
  • macOS
  • Windows
  • Android
  • iOS
  • Web

Continuous numbering convention

This guide uses continuous numbering with topics denoted as Number1.Number2 (e.g., 1.1) and concrete steps denoted as Number1.Number2.Number3 (e.g., 1.1.1).

Here's what each number means:

  • Number1 is the guide number. In our case, it's the first guide, so it's 1.
  • Number2 is a specific topic. In the case of creating a cube, it's 1.1.
  • Number3 is a concrete step of the topic. In the case of installing Blender, it's 1.1.1.

Tutorials

1.1. Create a cube

Screenshot

Create a simple cube that OpenSceneGraph will render later.

1.2. Install OpenSceneGraph under Linux

Screenshot

Install OpenSceneGraph under Linux and take a look at the cube with osgviewer tool.

1.3. Install OpenSceneGraph under Windows

Screenshot

Install OpenSceneGraph under Windows and take a look at the cube with osgviewer tool.

1.4. Install OpenSceneGraph under macOS

Screenshot

Install OpenSceneGraph under macOS and take a look at the cube with osgviewer tool.

1.5. Build and run sample OpenSceneGraph application under Linux

Screenshot

Build and run sample OpenSceneGraph application under Linux.

1.6. Build and run sample OpenSceneGraph application under Windows

Screenshot

Build and run sample OpenSceneGraph application under Windows.

1.7. Build and run sample OpenSceneGraph application under macOS

Screenshot

Build and run sample OpenSceneGraph application under macOS.

1.8. Build and run sample OpenSceneGraph application under Android

Screenshot

Build and run sample OpenSceneGraph application under Android.

1.9. Build and run sample OpenSceneGraph application under iOS

Screenshot

Build and run sample OpenSceneGraph application under iOS.

1.10. Build and run sample OpenSceneGraph application in Web

Screenshot

Build and run sample OpenSceneGraph application in Web.

Help

If you have problems with any of the tutorials, create an issue. We'll sort it out together.

Next

Once you're done with the guide, which can be viewed as OpenSceneGraph introduction, you may have a look at OpenSceneGraph cross-platform examples. The examples show how to perform specific tasks. However, the examples are not tutorials, the examples don't provide videos and screenshots, only solutions for specific problems.