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