rlk / scm

Spherical Cube Map rendering library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spherical Cube Map Rendering

Copyright © 2011-2014 Robert Kooima

SCM is a C++ class library that implements a rendering engine and non-homogeneous data representation for the interactive display of spherical data sets at scales of hundreds of gigapixels and beyond. Applications include panoramic image display and planetary rendering. The SCM data representation enables out-of-core data access at real-time rates. The spherical geometry tessellator supports displacement mapping and enables the display of planetary terrain data of arbitrary resolution.

Documentation

Here are a few YouTube videos of this renderer in action:

Build

This module has a submodule that must be initialized after a new clone:

git submodule update --init

Linux and OS X

To build Release/libscm.a under Linux or OS X:

make

To build Debug/libscm.a:

make DEBUG=1

Windows

To build Release\scm.lib under Windows, use the Visual Studio project or the included Makefile.vc:

nmake /f Makefile.vc

To build Debug\scm.lib:

nmake /f Makefile.vc DEBUG=1

Dependencies

Dependencies for SCM include

  • Freetype2
  • SDL2

The SCM repo has a submodule (util3d) that must be explicitly added to a fresh clone:

git submodule update --init

About

Spherical Cube Map rendering library

License:Other


Languages

Language:C 66.8%Language:C++ 31.9%Language:GLSL 0.8%Language:Makefile 0.4%Language:CSS 0.1%