Giter Club home page Giter Club logo

engine's Introduction

Engine

Travis CI Trello

A 3D real-time rendering Engine.

It features advanced rendering techniques such as microfacet-based lighting models like Cook-Torrance and Oren-Nayar for Physically Based Rendering using roughness, metalness, albedo, normal and baked Ambient Occlusion maps. Also, it features Spherical Harmonics lighting, asynchronous texture streaming, shadow mapping, SSAO, an adaptive LOD tessellation system and other such techniques.

Table of content

  1. Build

  2. Architecture

  3. Example usage

  4. Task list

  5. Appendix

Dependencies

Ubuntu:

apt-get update && apt-get install -y \
build-essential \
libglm-dev \
libglfw3-dev \
libglew-dev \
libsoil-dev \
bison \
flex \
git \
cmake \
pkg-config

In-source build

cmake .

make (to build the shared object .so of the engine that can be linked with your application)

or

make check (used to build the engine's test suite)

./Engine_test

make deep_clean (A special make target to clean eveything that cmake generates)

Out-of-source build

mkdir build

cd build

cmake ..

make or make check

Check the TO DO list here

Here is the current architecture:

TODO

Here, you can take a look at an example.

In-Engine screenshot

  • Different materials:

Scene with different materials

  • Vegetation with debug targets:

Scene with different materials

Articles

engine's People

Contributors

cpcdoy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

linecode

engine's Issues

[GLFW UI PLUGIN] Random segfaults

Happens randomly when using GLFW, in glfw_ui.cc.
It occurs only at the end of the Engine_check.
Valgrind seems to say that it comes from GLFW's thread...

Valgrind's output :

==16544==
Thread 2:
==16544== Jump to the invalid address stated on the next line
==16544== at 0xA3A92E4: ???
==16544== by 0xA3A3FBD: ???
==16544== by 0xA2C46F0: ???
==16544== by 0xA3A8FFE: ???
==16544== by 0x69016F9: start_thread (pthread_create.c:333)
==16544== by 0x5B7BB5C: clone (clone.S:109)
==16544== Address 0xa3a92e4 is not stack'd, malloc'd or (recently) free'd
==16544==
==16544==
==16544== Process terminating with default action of signal 11 (SIGSEGV)
==16544== Access not within mapped region at address 0xA3A92E4
==16544== at 0xA3A92E4: ???
==16544== by 0xA3A3FBD: ???
==16544== by 0xA2C46F0: ???
==16544== by 0xA3A8FFE: ???
==16544== by 0x69016F9: start_thread (pthread_create.c:333)
==16544== by 0x5B7BB5C: clone (clone.S:109)
==16544== If you believe this happened as a result of a stack
==16544== overflow in your program's main thread (unlikely but
==16544== possible), you can try to increase the size of the
==16544== main thread stack using the --main-stacksize= flag.
==16544== The main thread stack size used in this run was 8388608.
2016-06-24.00:38:14][DEBUG] Shutting down the debug API
==16544==
==16544== HEAP SUMMARY:
==16544== in use at exit: 3,805,730 bytes in 34,418 blocks
==16544== total heap usage: 63,867 allocs, 29,449 frees, 43,631,008 bytes allocated
==16544==
==16544== LEAK SUMMARY:
==16544== definitely lost: 72 bytes in 1 blocks
==16544== indirectly lost: 0 bytes in 0 blocks
==16544== possibly lost: 3,680,627 bytes in 33,732 blocks
==16544== still reachable: 125,031 bytes in 685 blocks
==16544== suppressed: 0 bytes in 0 blocks
==16544== Rerun with --leak-check=full to see details of leaked memory
==16544==
==16544== For counts of detected and suppressed errors, rerun with: -v
==16544== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Killed

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.