• Stars
    star
    1,032
  • Rank 44,644 (Top 0.9 %)
  • Language
    C++
  • License
    Other
  • Created about 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

aka ogre v2 - scene-oriented, flexible 3D C++ engine

OGRE-Next 3D (Object-Oriented Graphics Rendering Engine Next Generation)

Ogre-Next is a 3D graphics rendering engine. Not to be confused with a game engine which provides Networking, Sound, Physics, etc.

Ogre-Next 3.0 has had a substantial overhaul to focus on high performance graphics using Data Oriented Design with:

  • Cache friendly Entity and Node layout
  • Threaded batch processing of Nodes, Frustum Culling and other techniques such as Forward Clustered
  • SIMD processing using AoSoA (Array of Structures of Arrays) memory layout
  • Texture loaded via background streaming

This makes Ogre-Next suitable for projects aiming to have a large number of objects on screen, or have tight rendering budgets such as VR.

This is the repository where the 2.x branch is actively developed on. Active development of the 1.x branch happens in https://github.com/OGRECave/ogre

Both branches are in active development. See What version to choose? to understand the differences between 1.x and 2.x

Both repositories are compatible for merging, but have been split in separate ways as their differences have diverged long enough.

Build Status (github)
Linux CI
MSVC Build status
Clang-Format Style Consistency CI

Supported Backends

  • Direct3D 11
  • OpenGL 3.3+
  • Metal
  • Vulkan

Supported Platforms

  • Windows (7, 8, 10)
  • Linux
  • macOS*
  • iOS
  • Android**

(*) Metal Backend is highly recommended. GL backend is supported in macOS, but the window subsystem hasn't been ported to 3.0 yet.
(**) Device must be Vulkan-capable. Android 7.0+ is supported; but Android 8.0+ is strongly recommended due to lots of driver bugs in older versions.

Supported Compilers

  • Clang 3.3 or newer
  • GCC 5 or newer
  • VS2013 or newer

Samples

For a list of samples and their demonstrated features, refer to the samples section in the manual.

Who's using it?

Features

Forward Clustered

PBS & HDR

Area Lights

Voxel Cone Tracing (VCT) GI

Instant Radiosity GI

Dependencies

Dependencies (Windows)

  • Visual Studio 2013 - 2019 (2022 not tested). MinGW may work but we strongly recommend Visual Studio.
  • DirectX June 2010 SDK. Optional. Comes with useful tools.
  • Windows 10 SDK. Contains the latest DirectX SDK, thus recommended over the DX June 2010 SDK, but you may still want to install the June 2010 SDK for those tools.
  • Windows 7 or newer is highly recommended. For Windows Vista & 7, you need to have the KB2670838 update installed. YOUR END USERS NEED THIS UPDATE AS WELL.

Dependencies (Linux)

  • Clang >3.5 or GCC >4.0

Debian-based. Run:

sudo apt-get install libfreetype6-dev libfreeimage-dev libzzip-dev libxrandr-dev libxaw7-dev freeglut3-dev libgl1-mesa-dev libglu1-mesa-dev libx11-xcb-dev libxcb-keysyms1-dev doxygen graphviz python-clang libsdl2-dev cmake ninja-build git

Arch-based Run:

pacman -S freeimage freetype2 libxaw libxrandr mesa zziplib cmake gcc

Quick Start

We provide quick download-build scripts under the Scripts/BuildScripts/output folder.

You can download all of these scripts as a compressed 7zip file

If you're on Linux, make sure to first install the dependencies (i.e. run the sudo apt-get above)

Download and Building manually

If for some reason you want to do it by hand, there's no script for your platform, or you want to learn what the scripts are actually doing, see Setting Up Ogre from the Ogre manual.

Manual

For more information see the online manual. The manual can build on Linux using Doxygen:

cd build/Debug
ninja OgreDoc

Resolving Merge Conflicts in 3.0

Users who run a customized version of Ogre-Next may found rebasing to the latest version a near impossible job due to the sheer amount of minor merge conflicts when upgrading to Ogre-Next 3.0

See this guide on how to deal with them more easily.

OgreNext 3.0 changes

For details see What's new? from our manual.

OgreNext versioning

Since OgreNext 3.0 we've modified our versioning scheme to be more consistent with other projects and what developers expect.

Our Github ticket and Forum post explain it in detail. Basically it boils down to:

OgreNext now uses a modified variation of Semantic Versioning (MAJOR.MINOR.PATCH).

  • PATCH can only be bumped as long as ABI compatibility remains 100%.
  • MINOR bumps as long as API compatibility stays >= 95% for all components and plugins, according to abi-compliance-checker. Measured against MAJOR.0.0
    • This is not strictly in compliance to SemVer, but stays close to its spirit
  • MAJOR bumps when API compatibility is < 95%. Although MAJOR can be bumped even if compat >= 95% at the dev's discretion.

As a result:

  • Patch +1 bumps can be release for hot fixes. Bugs that are easy to fix without breaking ABI and deploy everywhere.
  • Minor +1 tells our users upgrading is painless. A recompilation is necessary. Build errors may appear, but they should be very quick & easy to fix. Projects like Ignition which have strong ABI requirements can leverage whether to move to Minor+1 if they have to when a certain bugfix is too important and can't be done without breaking OgreNext's ABI. Main focus for minor bumps will be for fixing bugs that can't be or are too hard to fix without breaking ABI.
  • Major +1 tells our users to prepare for larger upgrading efforts. Although not necessarily too large if we release more often.

For OgreNext <= 2.3 the versioning stays the same.

Support and Resources

Samples

If you want to test or evaluate Ogre, you can try the prebuilt samples for Windows.

Unit Tests

To run the unit tests, go to Scripts/UnitTesting and to generate the comparison files type:

python3 RunUnitTests.py gl ../../build/Debug/bin/ ./JSON ../../build/UnitTestsOutput/

to check the diff against already generated data:

python3 RunUnitTests.py gl ../../build/Debug/bin/ ./JSON ../../build/UnitTestsOutput/ ../../build/UnitTestsOutput_old/

License

OGRE-Next (www.ogre3d.org) is made available under the MIT License.

Copyright (c) 2000-present Torus Knot Software Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
C++
3,929
star
2

blender2ogre

Blender exporter for the OGRE 3D engine
Python
180
star
3

ogitor

Ogitor SceneBuilder, the WYSIWYG scene editing environment for OGRE
C++
88
star
4

scape

Scape terrain editor
C++
50
star
5

ogre-meshviewer

Viewer for .mesh and .scene files as consumed by OGRE as well as any format supported by assimp
Python
47
star
6

ogre-procedural

procedural geometry for Ogre3D
C++
40
star
7

ogre-imgui

Now in the main repository as part of Overlay
C++
32
star
8

ogre-next-deps

Packaged ogre-next dependencies' sources with a convenient CMake build system.
C
29
star
9

particleuniverse

feature-rich ParticleFX alternative
C++
27
star
10

ogre-assimp

Now in the main repository as Plugin
C++
27
star
11

ogre-pagedgeometry

Paged Geometry is a component for rendering of dense vegetation
C++
19
star
12

EasyOgreExporter

3DS max exporter for the OGRE 3D engine - mirror
C++
18
star
13

ogre-caelum

Library for rendering of dynamic and realistic skies
C++
17
star
14

ogre-audiovideo

plugins for theora video playback and openAL audio
C++
13
star
15

btogre

Now in the main repository as Component
C++
13
star
16

x3ogre

connecting X3D to a state of the art rendering engine
C++
11
star
17

language-ogre-script

Syntax highlighting for Ogre Scripts in Atom/ VSCode
JavaScript
10
star
18

ogre-gpgpu

GPGPU compute with Ogre using CUDA or OpenCL
C++
9
star
19

ogre-planet

dynamic level of detail for planetary rendering
C++
9
star
20

meshmagick

a versatile command line Ogre mesh manipulation tool
C++
7
star
21

OgreCrowd

Pathfinding for Ogre using Recast/Detour
C++
6
star
22

DotSceneFormat

Now in the main repository
C++
6
star
23

ogre-oggsound

now at:
C++
5
star
24

shiny

a shader and material management library for OGRE
C++
4
star
25

evolution

proposals for changes and enhancements to OGRE
4
star
26

ogrewater

OgreWater is a water module for Ogre3D that is simple to use!
C++
2
star
27

ogre-attic

For historical needs only. All exported CVS history with metadata.
C++
1
star