Lolbot
7e4da3d634
fixed 27 files out of 2315:
- removed 0 CR characters
- removed 188 trailing whitespaces
- replaced 537 tabs with spaces
13 years ago
Benjamin ‘Touky’ Huet
ad275175b8
Tweak to prevent tri_to_process.Last().m1 emptying.
13 years ago
Benjamin ‘Touky’ Huet
1038fa7fbe
Small MeshCsg return FIX
13 years ago
Benjamin ‘Touky’ Huet
6db0694db4
Revert shiny.lolfx to previous, monogolo-commit.
13 years ago
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.
13 years ago
jeunathe
08e81c93d1
coding style my ass
13 years ago
jeunathe
504f9a4ca2
Update EasyMesh.Convert() method.
Now takes an optional shader
13 years ago
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 years ago
Sam Hocevar
7fa661a2fd
easymesh: motherfucking planetary gears demo.
13 years ago
Sam Hocevar
662148406f
easymesh: allow central holes in gears as well as internal gears.
13 years ago
Benjamin ‘Touky’ Huet
5e5c8c4e25
specular on cube light. Not the correct effect.
13 years ago
Benjamin ‘Touky’ Huet
924a2afbbe
the stupidest idea of the day : the cube light, specular still missing.
13 years ago
Benjamin ‘Touky’ Huet
7c0134ea12
shiny.lolfx now has a PointLight & a DirectionalLight.
Sorry for all the fine projects that use this shader !
13 years ago
Sam Hocevar
573c5053d9
easymesh: fix point light handling.
13 years ago
Benjamin ‘Touky’ Huet
828734c3f2
"Point light" Tweak
13 years ago
Benjamin ‘Touky’ Huet
8cde92fd2e
first commit in a while, small test in ShinyLol
13 years ago
Benjamin ‘Touky’ Huet
ea517c2926
Added tsw (ToggleScaleWinding) command in EasyMesh Parser to make old-school celShading contour.
13 years ago
Sam Hocevar
4a6d092a74
mesh: start working on mesh and submesh stuff.
13 years ago
Sam Hocevar
ad00a34984
gpu: add support for triangle strips and fans, and change the DrawElement
calls so that they take a number of vertices or indexes, not elements.
13 years ago
Sam Hocevar
787c96b47c
lolfx: improve the LolFx compiler, including error reporting. We can now
successfully parse a few of our full GLSL/HLSL shaders.
13 years ago
Sam Hocevar
549566cbf1
lolfx: use square brackets to indicate shader sections.
13 years ago
Sam Hocevar
4cee96d09d
easymesh: use "ato" for torus, because "at" is already for triangle.
13 years ago
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
13 years ago
Sam Hocevar
caba2eb28f
easymesh: minor torus mesh tweaks.
13 years ago
Sam Hocevar
38364a0bd6
easymesh: first shot at a simple, flat shaded torus.
13 years ago
Sam Hocevar
e22e905dec
easymesh: fix an data corruption with scaling along a single axis.
13 years ago
Sam Hocevar
3bfbb6c408
build: fix shitloads of warnings.
13 years ago
Cédric Lecacheur
4e7af3279c
optim radialJitter
13 years ago
Cédric Lecacheur
82bb4cd6a3
EsayMesh : RadialJitter func & demo added
13 years ago
Sam Hocevar
291119d087
easymesh: per-fragment lighting in the HLSL shader (PS3, Xbox 360).
13 years ago
Sam Hocevar
fd77cb00f2
easymesh: fragment-based lighting.
13 years ago
Sam Hocevar
6cb1db5188
easymesh: make hex colour command arguments case-insensitive.
13 years ago
Sam Hocevar
fdf946042a
easymesh: fix the non-uniform sphere scaling and enforce odd numbers
of capsule divisions.
13 years ago
Sam Hocevar
f74b85fcf7
tutorial: test some advanced shapes for easymesh.
13 years ago
Sam Hocevar
837e56435d
easymesh: fix the specular highlight in the OpenGL shader.
13 years ago
Sam Hocevar
23ab462042
gpu: try to patch some simple GLSL shaders on the fly so that they
work on OpenGL ES contexts.
13 years ago
Sam Hocevar
a36e930a87
easymesh: allow the shader to build on GL ES.
13 years ago
Sam Hocevar
aa6ce4c34d
easymesh: set the capsule's main axis to Y, not Z.
13 years ago
Sam Hocevar
497df444cc
easymesh: add the capsule mesh.
13 years ago
Sam Hocevar
4621420316
easymesh: fix the HLSL code in shiny.lolfx.
13 years ago
Sam Hocevar
b305986edb
easymesh: use an icosphere instead of an UV-sphere for the sphere primitive.
13 years ago
Benjamin ‘Touky’ Huet
0ea021a40a
EasyMesh : Fixed normals on disc when one of the radius == 0
EasyPhysics : Added Cone primitive.
13 years ago
Sam Hocevar
782379a86a
easymesh: the light direction is now a uniform variable.
13 years ago
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.
13 years ago
Sam Hocevar
86a16aaff6
easymesh: move the Mesh builder into the engine core.
13 years ago