le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
Classes | Enumerations
renderer.h File Reference

LightEngine 3D: Meshes and billboard sets renderer. More...

#include "global.h"
#include "config.h"
#include "color.h"
#include "geometry.h"
#include "mesh.h"
#include "bset.h"
#include "rasterizer.h"
#include "trilist.h"
#include "verlist.h"

Go to the source code of this file.

Classes

class  LeRenderer
 Render meshes and billboard sets to 2D triangle lista. More...
 

Enumerations

enum  LE_BACKCULLING_MODES {
  LE_BACKCULLING_NONE = 0, LE_BACKCULLING_CCW, LE_BACKCULLING_CW, LE_BACKCULLING_CCW_ALPHA,
  LE_BACKCULLING_CW_ALPHA
}
 Backculling modes. More...
 

Detailed Description

LightEngine 3D: Meshes and billboard sets renderer.

All platforms implementation

Author
Frederic Meslin (fred@.nosp@m.fred.nosp@m.slab..nosp@m.net) http://fredslab.net
Version
1.75

The MIT License (MIT) Copyright (c) 2015-2018 Frédéric Meslin

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.

Enumeration Type Documentation

Backculling modes.

Enumerator
LE_BACKCULLING_NONE 

Backculling is disabled

LE_BACKCULLING_CCW 

Backculling in counterclockwise mode (default)

LE_BACKCULLING_CW 

Backculling in clockwise mode

LE_BACKCULLING_CCW_ALPHA 

Backculling in counterclockwise mode, transparent triangles are double sided

LE_BACKCULLING_CW_ALPHA 

Backculling in clockwise mode, transparent triangles are double sided