Commit graph

16 commits

Author SHA1 Message Date
Théophile Bastian 61ef03e955 Implement MarchingCubes' hint
Now, MarchingCubes does not walk the whole space anymore
2018-02-13 18:43:02 +01:00
Théophile Bastian 5b6e61cec9 Enhance light rendering 2018-02-13 17:23:58 +01:00
Théophile Bastian a0db41689c Change the test demo 2018-02-13 16:41:30 +01:00
Théophile Bastian b404c2301f Add debugging display (on compilation switches)
DEBUG_DISPLAY_WIREFRAME: show a wireframe structure
DEBUG_DISPLAY_NORMAL: show the vertices' normal vectors
2018-02-13 16:41:30 +01:00
Théophile Bastian 56d8e22f21 Use openGL lightings — still kind of bad for now 2018-02-13 16:41:30 +01:00
Théophile Bastian 36bc8e1b5c Use normals for implicit surfaces 2018-02-13 16:41:30 +01:00
Théophile Bastian 8c254dff15 Use normals in glut render 2018-02-13 16:41:30 +01:00
Théophile Bastian 0bae04d802 Fix clock being real and not user clock 2018-02-12 21:53:35 +01:00
Théophile Bastian a1cc442885 First observed bounce 2018-02-12 18:40:05 +01:00
Théophile Bastian b614979c7a GlutRender.cpp: fix tab indentation 2018-02-06 22:15:35 +01:00
Théophile Bastian 7e797980ac Enable depth buffering 2018-02-06 22:15:19 +01:00
Théophile Bastian 66d6d89aeb Randomizing face colour for each face
Allows to easily identify each face.
2018-02-06 21:26:18 +01:00
Théophile Bastian 6e89298950 Use mesh center everywhere else 2018-02-06 21:08:37 +01:00
Théophile Bastian c179b1049f Make basic glut renderer work 2018-02-06 19:10:08 +01:00
Théophile Bastian d1c3cbe498 Add missing pragma once on headers 2018-02-06 19:07:07 +01:00
Théophile Bastian 5c19700e42 Create a basic glut renderer — yet untested 2018-01-28 23:03:36 +01:00