
Multiplayer functionality is possible with LAN, local and online play. The game currently has singleplayer and multiplayer. The most recent releases (starting with "CTF Edition") support a precomputed visibility system (PVS) for graphics cards that do not support hardware occlusion. The original Cube engine's rendering engine assumed that overdraw (where polygons that do not appear in the final scene are occluded via the z-buffer) was more processor-intensive than sending new streams of triangles to the graphics processing every frame, which vastly limited its performance on more modern hardware where memory bandwidth is a greater limiting factor. Lighting is precomputed into lightmaps-image files that correspond to geometry as textures-for efficient batching, with an additional stored directional component, that allows for efficient shader-based lighting effects. Cube 2's novelty thus lies in that the world representation is the octree structure itself, from which efficient triangle batches are generated for the graphics processing unit to render, without need for expensive and time consuming pre-processing.Ĭube 2's rendering engine is designed around modern graphics processing units, which perform best with huge batches of geometry already stored in video memory. This is in contrast to traditional modern polygon soup 3D engines which take a model generated as an essentially random batch of triangles from an external modelling program and attempt to spatially subdivide the model's triangles after the fact by splitting them to fit into tree structures, such as a BSP tree or even an octree, that require costly pre-processing to build. The what you see is what you get realtime editing has enabled level designers to add a lot of detail to maps, while reducing the time spent on actual creation.

Corners of cubes can also be "pushed" or "pulled" to create crude curves.

Real-time editing File:Sauer editing-1-.jpgĪn example of a primitive cube subdivisionĮach cube-shaped node in the octree represents a renderable volume, simply referred to as a cube, where each edge of this cube can be lengthened or shortened to deform the cube into a variety of other shapes. This allows much more complex level geometry and easier editing. An octree, in Sauerbraten, is a cube that can be split into eight smaller cubes that can then be done the same to. The latest release, dubbed the "Justice Edition", debuted on July 19, 2010, adding two new player models, thirty new user-created maps, several new game modes-including Efficiency CTF, Efficiency Hold, Efficiency Protect, Hold, and InstaHold-a mini-map, clock and crosshairs, among numerous other things.Ĭube 2: Sauerbraten shares most of its design goals and philosophy with its predecessor, but using a new 6-directional heightfield (or octree) world model. The game started as a redesign to the original Cube game engine, and its first, developer-only, release was made on February 27, 2004.
#CUBE 2 SAUERBRATEN JAVA CODE#
The aim of the project is not to produce the most features and highest-quality graphics possible, but rather to allow map-editing to be done in real-time within the game, while keeping the engine source code small and elegant.
#CUBE 2 SAUERBRATEN JAVA FREE#
The game engine is free and open source software, under the zlib License, with commercial support available from the developer's own business counterpart, Dot3 Labs. The game features single-player and multiplayer gameplay and contains an in-game level editor, its main feature.
#CUBE 2 SAUERBRATEN JAVA MAC OS X#
Microsoft Windows, Linux, FreeBSD, Mac OS XĬredits | Soundtrack | Codes | WalkthroughĬube 2: Sauerbraten ( German for " sour roast", also known as Sauer) is a cross-platform, Quake-like first-person shooter that runs on Microsoft Windows, Linux, FreeBSD and Mac OS X using OpenGL and SDL.

Wouter "Aardappel" van Oortmerssen, Lee "eihrul" Salzman, Mike "Gilt" Dysart, Robert "baby-rabbit" Pointon, Quinton "quin" Reeves
