Server | Result |
---|---|
Travis CI (Linux) | |
AppVeyor (Windows) |
Castor3D
Castor3D is a 3D engine written in C++ 14. It works on Windows and also on GNU/Linux. It uses OpenGL (with GLSL). It is still a work in progress, feel free to contribute!
Features
- Deferred rendering.
- Normal mapping.
- Parallax Occlusion mapping.
- Screen Space Ambient Occlusion (using Scalable Ambiant Obscurance implementation).
- Shadow Mapping (using Variance Shadow Maps).
- Reflection/Refraction Mapping.
- PBR rendering (Metallic and Specular workflows), and Legacy rendering.
- HDR rendering with various tone mapping operators.
- Screen Space Subsurface Scattering (without backlit transmittance yet).
- Scene graph.
- Modular architecture through plug-ins.
- Shaders are generated automatically from material and pass configuration.
- Shaders are writable directly from C++ code.
Implemented Plug-ins
Renderers
- GlRenderSystem.
Importers
- ASSIMP: Multiple format mesh importer.
- PLY: Stanford Polygon library mesh importer.
- OBJ: Wavefront OBJ mesh importer.
Dividers
- Loop subdivision surfaces.
- Phong tessellation.
- PN-Triangles surfaces.
PostEffects
- Bloom: HDR Bloom implementation.
- FilmGrain: To display some grain on the render.
- GrayScale.
- LightStreaks (using Kawase Light Streaks).
- FXAA Antialiasing.
- SMAA Antialiasing (1X and T2X so far).
Generators
- DiamondSquareTerrain: to generate terrains inside Castor3D scenes, using diamond-quare algorithm.
Generic
- CastorGUI: to build GUIs inside Castor3D scenes.
ToneMappings
- LinearToneMapping: Default tone mapping.
- HaarmPieterDuikerToneMapping: Haarm Pieter Duiker tone mapping.
- HejlBurgessDawsonToneMapping: Hejl Burgess Dawson tone mapping.
- ReinhardToneMapping: Reinhard tone mapping.
- Uncharted2ToneMapping: Uncharted 2 tone mapping.
Links
- Building Castor3D
- API Documentation English, French
- Playlist on YouTube
General Questions
-
I need a feature that Castor3D do not implement, what should I do ? There are two ways. First, Castor3D is a free software and library, so you are welcome to improve it yourself ;-) ! Second, just ask the author :-) !
-
I implemented a cool feature, can I commit it ? Obviously you are welcome to send the author any improvement. But obviously the author is quite careful with readability, correctness and stability, and will read and check any contribution before including it. Thus, it can take time... There are few basic rules to write contributions:
-
Do never change the indentation of any part of the code that's not yours.
-
Do never send codes without a lot of comments in (bad or good) English.
-
Do never send codes with obscure and/or non-English variable names.
-
How can I ask the author ? Just send a mail to [email protected] !