Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
11 years ago
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
11 years ago
Sam Hocevar
b2283cd1a3
build: update VS solution and fix a few compilation warnings.
11 years ago
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
11 years ago
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
11 years ago
Sam Hocevar
47e71bda63
base: rough implementation of safe enums with minimal ToString() support.
11 years ago
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
11 years ago
Benjamin ‘Touky’ Huet
1e4af19a89
Praise the Safe-Enum.
Implemented Safe-Enum for everyone.
Now the power is in the Safe-Enum for all.
11 years ago
Benjamin ‘Touky’ Huet
2b6b50aa26
EZMesh : Some files splitup
12 years ago
Benjamin ‘Touky’ Huet
c411be843c
Added Flat debugrendermode
Wireframe is back for normal OGL users
MV : Added timed command execution for future "demo mode"
12 years ago
Benjamin ‘Touky’ Huet
accce03e6f
small tweaks in EZMesh shader compatibilities
12 years ago
Benjamin ‘Touky’ Huet
b608607dba
EZMesh : Added Vertices{Merge|Separate} and PostBuildNormal.
12 years ago
Sam Hocevar
ed9c9ea274
easymesh: fix vertex lerp function prototypes.
12 years ago
Benjamin ‘Touky’ Huet
46f0c2d7f0
EZMEsh : Tweaked SetColor syntax - Added QuadWeighting option
12 years ago
Benjamin ‘Touky’ Huet
6b2044349c
EZMesh : Added CommandStack & subsequent Loop command.
12 years ago
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
12 years ago
Benjamin ‘Touky’ Huet
f5de1279b7
EZMesh DefaultShader Setup string tweak (for emscripten)
12 years ago
Benjamin ‘Touky’ Huet
5595df4f62
MeshViewer : Added Javascript & Html for Web implementation.
12 years ago
Benjamin ‘Touky’ Huet
0e8de199a7
EasyMesh tweaked : New Copy CTor & RenderMesh state.
12 years ago
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
12 years ago
Benlitz
f104674963
gpu: removed attribute name, everything works using semantic only now. For glsl, semantic is determined from the attribute name which must follow this pattern: in_[Semantic][index], index being optional. Note: this may break most of the projects although I tried to updated every shader accordingly
12 years ago
Sam Hocevar
be4f7d63b3
easymesh: add proper virtual destructors to some classes.
13 years ago
Benjamin ‘Touky’ Huet
ea603d48e3
easymesh : Vertex attribute name can now be customize. Vertex declaration code simplification, ASSERT is more understandable.
13 years ago
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
13 years ago
Sam Hocevar
1c3ca01ea0
build: fix a few compiler warnings here and there.
13 years ago
Benjamin ‘Touky’ Huet
b46adfa65b
easymesh : Tweak previous crashfix.
13 years ago
Benjamin ‘Touky’ Huet
e7466ba956
easymesh : EasyMeshData crashfix
13 years ago
Sam Hocevar
bb28344eb7
build: fix compiler warnings and Linux and PS3 build issues.
13 years ago
Benjamin ‘Touky’ Huet
930dcfd109
tactics : first commit. Arena, characters, state machine and all the funny stuff.
13 years ago
Benjamin ‘Touky’ Huet
96972cdc4d
easymesh : Bitfield big Fuckup. Never code drunk.
13 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"
13 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.
13 years ago
Benjamin ‘Touky’ Huet
a05aec2a0f
easymesh : EzMesh is back in vanilla mode, mongolo-commit-powa.
13 years ago
Benjamin ‘Touky’ Huet
a573b0908b
MeshViewer : Added shitty texture to bulletproof easymesh UV, and therefore correct wrongly set ones.
13 years ago
Benjamin ‘Touky’ Huet
e42d857ed4
easymesh : Added SmoothMesh operation, works well with triangle, not well with a box.
13 years ago
Benjamin ‘Touky’ Huet
3ea6d93e95
easymesh : Added SplitTriangles function to multiply triangles for triangle MADNESS !
13 years ago
Benjamin ‘Touky’ Huet
506befcf4a
easymesh : Added Twist/Ben/Shear & Taper refactor.
13 years ago
Benjamin ‘Touky’ Huet
73fd59c69a
easymesh : all radius are now diameters so all mesh operation size values are coherent.
13 years ago
Benjamin ‘Touky’ Huet
fb7bb880ea
easymesh: all operations now generate UVs for the mesh.
13 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)
13 years ago
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
13 years ago
Benjamin ‘Touky’ Huet
7f5c20238b
easymesh : CSG operation is now handled with a safe enum.
13 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.
13 years ago
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
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
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
662148406f
easymesh: allow central holes in gears as well as internal gears.
13 years ago
Benjamin ‘Touky’ Huet
924a2afbbe
the stupidest idea of the day : the cube light, specular still missing.
13 years ago
Sam Hocevar
573c5053d9
easymesh: fix point light handling.
13 years ago