Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 anni fa
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
10 anni fa
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 anni fa
Benjamin ‘Touky’ Huet
f82a996c18
MViewer : Added Light & axis gizmo
11 anni fa
Benjamin ‘Touky’ Huet
2b4dc175ee
Vector classes : added one (for consistency)
SceneSetup : Added ClearColor command
EZMesh : Added Dup[ ... ] command && cgs command syntax refactor
MViewer : Tweak & dictionnary.js updates
11 anni fa
Benjamin ‘Touky’ Huet
9bedc2092d
Meshviewer FIX + comment rework
entity : Added IsTicked
11 anni fa
Benjamin ‘Touky’ Huet
1e7d3ee21a
Added SceneSetup and its Parser/Compiler
11 anni fa
Benjamin ‘Touky’ Huet
68855bf2fd
EasyMesh syntax was dead.
11 anni fa
Benjamin ‘Touky’ Huet
4b3686a927
MeshViewer TWEAK
EasyMesh Parser/Scanner & Functions revamp to be more like real logical functions.
EZMesh & URO : Added "//" comments to Parser/Scanner
11 anni fa
Sam Hocevar
8ff1cf9b32
base: disable exceptions in Bison-generated parsers.
11 anni fa
Benjamin ‘Touky’ Huet
e42d857ed4
easymesh : Added SmoothMesh operation, works well with triangle, not well with a box.
11 anni fa
Benjamin ‘Touky’ Huet
3ea6d93e95
easymesh : Added SplitTriangles function to multiply triangles for triangle MADNESS !
11 anni fa
Benjamin ‘Touky’ Huet
506befcf4a
easymesh : Added Twist/Ben/Shear & Taper refactor.
11 anni fa
Benjamin ‘Touky’ Huet
fb7bb880ea
easymesh: all operations now generate UVs for the mesh.
11 anni fa
Sam Hocevar
d4766d410f
build: fix all vector/scalar type mismatches such as "vec2 * double"
instead of "vec2 * float".
11 anni fa
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 anni fa
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 anni fa
Benjamin ‘Touky’ Huet
ea517c2926
Added tsw (ToggleScaleWinding) command in EasyMesh Parser to make old-school celShading contour.
12 anni fa
Sam Hocevar
4cee96d09d
easymesh: use "ato" for torus, because "at" is already for triangle.
12 anni fa
Sam Hocevar
38364a0bd6
easymesh: first shot at a simple, flat shaded torus.
12 anni fa
Sam Hocevar
3bfbb6c408
build: fix shitloads of warnings.
12 anni fa
Sam Hocevar
6cb1db5188
easymesh: make hex colour command arguments case-insensitive.
12 anni fa
Sam Hocevar
497df444cc
easymesh: add the capsule mesh.
12 anni fa
Sam Hocevar
8375f3443d
build: fix the PS3 port by using our trig.h everywhere instead of stdlib
functions; also remove a lot of idiotic "using namespace std" from the
codebase.
12 anni fa
Sam Hocevar
86a16aaff6
easymesh: move the Mesh builder into the engine core.
12 anni fa