Sam Hocevar
36c36525a2
gpu: fix GLSL ES syntax errors in various shaders.
12 years ago
Benjamin ‘Touky’ Huet
b46adfa65b
easymesh : Tweak previous crashfix.
12 years ago
Benjamin ‘Touky’ Huet
e7466ba956
easymesh : EasyMeshData crashfix
12 years ago
Sam Hocevar
2b1932b325
build: avoid M_PI_2, the PS3 doesn’t have it.
12 years ago
Sam Hocevar
bb28344eb7
build: fix compiler warnings and Linux and PS3 build issues.
12 years ago
Lolbot
8e0816a7c3
fixed 5 files out of 2487:
- removed 0 CR characters
- removed 22 trailing whitespaces
- replaced 11 tabs with spaces
12 years ago
Benjamin ‘Touky’ Huet
930dcfd109
tactics : first commit. Arena, characters, state machine and all the funny stuff.
12 years ago
Benjamin ‘Touky’ Huet
77dcb3c146
EasyMesh : vdecl/vbo flag test fixup.
Tileset : added GetTileSize().
12 years ago
Benjamin ‘Touky’ Huet
96972cdc4d
easymesh : Bitfield big Fuckup. Never code drunk.
12 years ago
Lolbot
6798a11807
fixed 4 files out of 2475:
- removed 5 CR characters
- removed 15 trailing whitespaces
- replaced 91 tabs with spaces
12 years ago
Benjamin ‘Touky’ Huet
1b436f4821
CIS FAIL : Long time no see.
12 years ago
Benjamin ‘Touky’ Huet
020d539586
easymesh : vertices datas are now stored in a very user-friendly struct. Heavier on datas, though.
vertexbuffer : added TexCoordExt, which is the same as TexCoord but means "use vec4 for TexCoord"
12 years ago
Benjamin ‘Touky’ Huet
6c5a279c46
easymesh : "struct m_gpu" no longer exists and has been replaced by more simpler classes. VertexDecl&Buffer are now not created several times when using the same source datas.
12 years ago
Benjamin ‘Touky’ Huet
a05aec2a0f
easymesh : EzMesh is back in vanilla mode, mongolo-commit-powa.
12 years ago
Lolbot
55cd411cbb
fixed 3 files out of 2475:
- removed 3 CR characters
- removed 20 trailing whitespaces
- replaced 0 tabs with spaces
12 years ago
Benjamin ‘Touky’ Huet
a573b0908b
MeshViewer : Added shitty texture to bulletproof easymesh UV, and therefore correct wrongly set ones.
12 years ago
Benjamin ‘Touky’ Huet
e42d857ed4
easymesh : Added SmoothMesh operation, works well with triangle, not well with a box.
12 years ago
Lolbot
9cb79bb21e
fixed 3 files out of 2468:
- removed 43 CR characters
- removed 25 trailing whitespaces
- replaced 0 tabs with spaces
12 years ago
Benjamin ‘Touky’ Huet
3ea6d93e95
easymesh : Added SplitTriangles function to multiply triangles for triangle MADNESS !
12 years ago
Benjamin ‘Touky’ Huet
506befcf4a
easymesh : Added Twist/Ben/Shear & Taper refactor.
12 years ago
Benjamin ‘Touky’ Huet
73fd59c69a
easymesh : all radius are now diameters so all mesh operation size values are coherent.
12 years ago
Benjamin ‘Touky’ Huet
fb7bb880ea
easymesh: all operations now generate UVs for the mesh.
12 years ago
Lolbot
3661a929e6
fixed 4 files out of 2376:
- removed 7 CR characters
- removed 5 trailing whitespaces
- replaced 24 tabs with spaces
12 years ago
Benjamin ‘Touky’ Huet
e4cf8211e4
Added VertexDictionnary object to manage vertices with same coord && connected vertices.
Added UVs system with and UVs generation test (not very conclusive)
12 years ago
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
12 years ago
Benjamin ‘Touky’ Huet
7f5c20238b
easymesh : CSG operation is now handled with a safe enum.
12 years ago
Sam Hocevar
d4766d410f
build: fix all vector/scalar type mismatches such as "vec2 * double"
instead of "vec2 * float".
12 years ago
Benjamin ‘Touky’ Huet
7a051f9455
Added MeshViewer new project, its goal being to have a program capable of previewing a mesh from an outer source (.txt, js, etc ...) in order to speed up mesh creation.
Added RadialJitter("rj") to EasyMesh parser.
12 years ago
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
12 years ago
Sam Hocevar
3adf42b00c
build: hide LolFx external declarations behind macros.
12 years ago
Lolbot
7e4da3d634
fixed 27 files out of 2315:
- removed 0 CR characters
- removed 188 trailing whitespaces
- replaced 537 tabs with spaces
12 years ago
Benjamin ‘Touky’ Huet
ad275175b8
Tweak to prevent tri_to_process.Last().m1 emptying.
12 years ago
Benjamin ‘Touky’ Huet
1038fa7fbe
Small MeshCsg return FIX
12 years ago
Benjamin ‘Touky’ Huet
6db0694db4
Revert shiny.lolfx to previous, monogolo-commit.
12 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.
12 years ago
jeunathe
08e81c93d1
coding style my ass
12 years ago
jeunathe
504f9a4ca2
Update EasyMesh.Convert() method.
Now takes an optional shader
12 years ago
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 years ago
Sam Hocevar
7fa661a2fd
easymesh: motherfucking planetary gears demo.
12 years ago
Sam Hocevar
662148406f
easymesh: allow central holes in gears as well as internal gears.
12 years ago
Benjamin ‘Touky’ Huet
5e5c8c4e25
specular on cube light. Not the correct effect.
12 years ago
Benjamin ‘Touky’ Huet
924a2afbbe
the stupidest idea of the day : the cube light, specular still missing.
12 years ago
Benjamin ‘Touky’ Huet
7c0134ea12
shiny.lolfx now has a PointLight & a DirectionalLight.
Sorry for all the fine projects that use this shader !
12 years ago
Sam Hocevar
573c5053d9
easymesh: fix point light handling.
12 years ago
Benjamin ‘Touky’ Huet
828734c3f2
"Point light" Tweak
12 years ago
Benjamin ‘Touky’ Huet
8cde92fd2e
first commit in a while, small test in ShinyLol
12 years ago
Benjamin ‘Touky’ Huet
ea517c2926
Added tsw (ToggleScaleWinding) command in EasyMesh Parser to make old-school celShading contour.
12 years ago
Sam Hocevar
4a6d092a74
mesh: start working on mesh and submesh stuff.
12 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.
12 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.
12 years ago