Commit graph

20 commits

Author SHA1 Message Date
baaa5e4057 Control pause and speed with keyboard
Keys: space for toggle pause, < and > for speed control, 0 to reset
speed
2018-02-14 13:22:31 +01:00
eaa730f5dc Integrate Perlin noise switch
Also make Perlin noise ground wider and less ugly
2018-02-14 13:16:01 +01:00
3bf61a7409 Enhance slightly the scene (floor + background) 2018-02-14 11:43:49 +01:00
3e3ec57bb5 Add a color attribute to meshes and surfaces 2018-02-14 11:41:55 +01:00
61ef03e955 Implement MarchingCubes' hint
Now, MarchingCubes does not walk the whole space anymore
2018-02-13 18:43:02 +01:00
5b6e61cec9 Enhance light rendering 2018-02-13 17:23:58 +01:00
a0db41689c Change the test demo 2018-02-13 16:41:30 +01:00
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
56d8e22f21 Use openGL lightings — still kind of bad for now 2018-02-13 16:41:30 +01:00
36bc8e1b5c Use normals for implicit surfaces 2018-02-13 16:41:30 +01:00
8c254dff15 Use normals in glut render 2018-02-13 16:41:30 +01:00
0bae04d802 Fix clock being real and not user clock 2018-02-12 21:53:35 +01:00
a1cc442885 First observed bounce 2018-02-12 18:40:05 +01:00
b614979c7a GlutRender.cpp: fix tab indentation 2018-02-06 22:15:35 +01:00
7e797980ac Enable depth buffering 2018-02-06 22:15:19 +01:00
66d6d89aeb Randomizing face colour for each face
Allows to easily identify each face.
2018-02-06 21:26:18 +01:00
6e89298950 Use mesh center everywhere else 2018-02-06 21:08:37 +01:00
c179b1049f Make basic glut renderer work 2018-02-06 19:10:08 +01:00
d1c3cbe498 Add missing pragma once on headers 2018-02-06 19:07:07 +01:00
5c19700e42 Create a basic glut renderer — yet untested 2018-01-28 23:03:36 +01:00