Sam Hocevar
16a620d537
scene: start refactoring the camera code; we now have a stack of cameras
in the scene where we can push and pop cameras.
11 vuotta sitten
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
12 vuotta sitten
Sam Hocevar
6a6e46cf0d
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
12 vuotta sitten
Benjamin ‘Touky’ Huet
4393a43752
Added CSG v0.001a : not optimized, too much operation makes it slow. triangle count is not optimized.
Useage : "...[.... csg*]" equals "current mesh -CSG- the mesh in the braces".
Keywords : CsgUnion<csgu>, CsgSubstract<csgs>, CsgAnd<csga>, CsgXor<csgx>
TODO : cleanup useless code.
TODO : Some bugs are still present, some face that disappear should not.
TODO : Correct epsilon useage (see geometry files).
TODO : Coplanar face are not handled -at all-.
TODO : Vertex count goes through the roof in case of a Xor.
12 vuotta sitten
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 vuotta sitten
Sam Hocevar
2ec31981fd
easymesh: make demo objects smaller.
12 vuotta sitten
Sam Hocevar
7fa661a2fd
easymesh: motherfucking planetary gears demo.
12 vuotta sitten
Sam Hocevar
662148406f
easymesh: allow central holes in gears as well as internal gears.
12 vuotta sitten
Sam Hocevar
adfd582b98
tutorial: HUGE COGS.
12 vuotta sitten
Sam Hocevar
4cee96d09d
easymesh: use "ato" for torus, because "at" is already for triangle.
12 vuotta sitten
Sam Hocevar
38364a0bd6
easymesh: first shot at a simple, flat shaded torus.
12 vuotta sitten
Cédric Lecacheur
82bb4cd6a3
EsayMesh : RadialJitter func & demo added
12 vuotta sitten
Sam Hocevar
f74b85fcf7
tutorial: test some advanced shapes for easymesh.
12 vuotta sitten
Sam Hocevar
837e56435d
easymesh: fix the specular highlight in the OpenGL shader.
12 vuotta sitten
Sam Hocevar
7a776e72f5
core: fix the X360 build by re-adding macro barriers I removed.
12 vuotta sitten
Sam Hocevar
5bd24fa1d3
build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.
12 vuotta sitten
Sam Hocevar
b5563ad21d
core: switch the Win32/x64 binaries to the Windows subsystem so that they
do not open a console at startup.
12 vuotta sitten
Sam Hocevar
497df444cc
easymesh: add the capsule mesh.
12 vuotta sitten
Sam Hocevar
e12fc0e35c
tutorial: add a simple EasyMesh viewer.
12 vuotta sitten