Code Monkey home page Code Monkey logo

castor3d's Introduction

Server Result
Travis CI (Linux) Build Status
AppVeyor (Windows) Build Status

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.

Sponza Cerberus Park Park Nyra

Links

General Questions

  1. 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 :-) !

  2. 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:

  3. Do never change the indentation of any part of the code that's not yours.

  4. Do never send codes without a lot of comments in (bad or good) English.

  5. Do never send codes with obscure and/or non-English variable names.

  6. How can I ask the author ? Just send a mail to [email protected] !

castor3d's People

Contributors

dragonjoker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.