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.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
pirms 12 gadiem
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
pirms 12 gadiem
Sam Hocevar
7fa661a2fd
easymesh: motherfucking planetary gears demo.
pirms 12 gadiem
Sam Hocevar
662148406f
easymesh: allow central holes in gears as well as internal gears.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
ea517c2926
Added tsw (ToggleScaleWinding) command in EasyMesh Parser to make old-school celShading contour.
pirms 12 gadiem
Sam Hocevar
ca5238b145
lolfx: names such as "x" or "bgra" are field selectors, but we must also
accept them as variable names.
pirms 12 gadiem
Sam Hocevar
787c96b47c
lolfx: improve the LolFx compiler, including error reporting. We can now
successfully parse a few of our full GLSL/HLSL shaders.
pirms 12 gadiem
Sam Hocevar
4cee96d09d
easymesh: use "ato" for torus, because "at" is already for triangle.
pirms 12 gadiem
Sam Hocevar
38364a0bd6
easymesh: first shot at a simple, flat shaded torus.
pirms 12 gadiem
Sam Hocevar
e22e905dec
easymesh: fix an data corruption with scaling along a single axis.
pirms 12 gadiem
Sam Hocevar
3bfbb6c408
build: fix shitloads of warnings.
pirms 12 gadiem
Sam Hocevar
6cb1db5188
easymesh: make hex colour command arguments case-insensitive.
pirms 12 gadiem
Sam Hocevar
497df444cc
easymesh: add the capsule mesh.
pirms 12 gadiem
Sam Hocevar
65ea695de1
core: start working on a higher level LolFx compiler based on the latest
GLSL grammar and some personal attempts at writing an HLSL grammar.
pirms 12 gadiem
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.
pirms 12 gadiem
Sam Hocevar
86a16aaff6
easymesh: move the Mesh builder into the engine core.
pirms 12 gadiem