Skip to content

OpenSceneGraph cross-platform guide: run OSG under Linux, macOS, Windows, Android, iOS, Web

Notifications You must be signed in to change notification settings

OGStudio/openscenegraph-cross-platform-guide

Repository files navigation

Table of contents

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

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.

Screenshot

Create a simple cube that OpenSceneGraph will render later.

Screenshot

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

Screenshot

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

Screenshot

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

Screenshot

Build and run sample OpenSceneGraph application under Linux.

Screenshot

Build and run sample OpenSceneGraph application under Windows.

Screenshot

Build and run sample OpenSceneGraph application under macOS.

Screenshot

Build and run sample OpenSceneGraph application under Android.

Screenshot

Build and run sample OpenSceneGraph application under iOS.

Screenshot

Build and run sample OpenSceneGraph application in Web.

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.

Releases

No releases published

Packages

No packages published

Languages