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
|
bf16c555ab
|
build: minor vcxproj reorganisation.
|
12 years ago |
Sam Hocevar
|
bbc2edcc8e
|
core: we can now set Map elements using simply map[foo] = bar, no need for
a Set() method. Also, new HasKey() method.
|
12 years ago |
Sam Hocevar
|
38d4d0302e
|
core: implement a simple linear search map; the API is here, we just
need to make it O(logn) or even O(1) now.
|
12 years ago |
Sam Hocevar
|
b03411e30a
|
core: make hash operators const.
|
12 years ago |
Sam Hocevar
|
2a5d9ed4d8
|
build: rename Map to LevelMap so that we can use Map for the hashmap.
|
12 years ago |
Sam Hocevar
|
397c7f2fda
|
core: implement hashing functions for half, float and double.
|
12 years ago |
Sam Hocevar
|
46cf14e37c
|
core: allow hashing of String objects.
|
12 years ago |
Sam Hocevar
|
6f490cf1e2
|
core: another attempt at properly declaring vsnprintf().
|
12 years ago |
Sam Hocevar
|
6648692bd7
|
core: try to fix a general compilation issue caused by inconsistent
namespaces between platforms.
|
12 years ago |
Sam Hocevar
|
dff7a5b72c
|
core: do not use va_copy since Visual Studio doesn’t know about it.
|
12 years ago |
Sam Hocevar
|
949128d325
|
core: implement String::Printf() and start working on the unit tests.
I'm gonna commit this right now though I'm not really sure whether Visual
Studio will agree to build va_copy and others.
|
12 years ago |
Sam Hocevar
|
52e7f2f399
|
build: add missing bullet .h files to Makefile.am.
|
12 years ago |
Sam Hocevar
|
0149c30df4
|
core: refactor the Hash class so that we can hash base types, too.
|
12 years ago |
Sam Hocevar
|
46f7e750c0
|
core: more string concatenation and comparison methods, plus a lot
of unit tests for the String class.
|
12 years ago |
Sam Hocevar
|
fed77ef83e
|
core: compilation fix for older compilers.
|
12 years ago |
Sam Hocevar
|
f2b71d368e
|
core: new String class.
|
12 years ago |
Sam Hocevar
|
5f66d6a751
|
build: fix PS3 and Linux compilation issues.
|
12 years ago |
Sam Hocevar
|
bbca3b6e59
|
build: fixes for out-of-tree builds, and get rid of
some deprecated stuff.
|
12 years ago |
Sam Hocevar
|
7658744c44
|
gpu: remove some crap from vertexbuffer.cpp and allow for
empty vertex declarations even though many video card
drivers do not support them — and they should.
|
12 years ago |
Sam Hocevar
|
63868aa10a
|
math: prefix all convenience macros with "LOL_", make sure we #undef
them after use, and refactor them so that free functions such as
fmod() or clamp() are directly accessible in the lol namespace.
|
12 years ago |
Sam Hocevar
|
4a6d092a74
|
mesh: start working on mesh and submesh stuff.
|
12 years ago |
Sam Hocevar
|
b5cb7601a7
|
build: define our own std::abs() function for long long int on NaCl,
since it doesn't exist there.
|
12 years ago |
Sam Hocevar
|
b2e00f113c
|
build: fix minor build issues with Clang.
|
12 years ago |
Sam Hocevar
|
57c2805351
|
math: reimplement min(), max(), abs() and fmod() in the lol:: namespace to
avoid conflicts with the C++ stdlib.
|
12 years ago |
Sam Hocevar
|
e4954c0a0f
|
math: implement abs() and fmod() for vector types and the half class.
|
12 years ago |
jeunathe
|
4b041ec074
|
moved endif (toukinade)
|
12 years ago |
Sam Hocevar
|
bf62a18bab
|
camera: deactivate WASD code for camera movement.
|
12 years ago |
Sam Hocevar
|
fa646c41c3
|
gpu: fix the computed element count in DrawIndexedElements on Direct3D.
|
12 years ago |
Sam Hocevar
|
72a6839dce
|
image: better error detection in the GDI+ image codec.
|
12 years ago |
Sam Hocevar
|
b438a94642
|
input: add the Keyboard abstraction object type.
|
12 years ago |
Sam Hocevar
|
6944db663b
|
tutorial: add a new texture generation example.
|
12 years ago |
Sam Hocevar
|
0ea16b413e
|
gpu: D3DFMT_R8G8B8 doesn't seem to exist on the X360.
|
12 years ago |
Sam Hocevar
|
26c945a31f
|
gpu: allow to specify the pixel format when creating a texture; the
internal format is then automatically deduced. Only a few 8-bit RGB
or RGBA formats are supported for now.
|
12 years ago |
Sam Hocevar
|
f626d36b47
|
gpu: don't use D3DLOCK_DISCARD on the X360, it's not there.
|
12 years ago |
Sam Hocevar
|
e0330e18d7
|
gpu: fix some Direct3D programming errors; we cannot call SetVertexDeclaration
with a null argument, and the texture stuff was completely messed up.
|
12 years ago |
Sam Hocevar
|
8a688a7d50
|
misc: compilation fixes for Windows, X360 and PS3 introduced by the
texture class refactor.
|
12 years ago |
Sam Hocevar
|
b9aba5d27a
|
gpu: put the texture creation code in its own class; for now a lot of things are
hardcoded and only the fractal demo uses it, but everything will eventually switch.
|
12 years ago |
Sam Hocevar
|
96342ddb0c
|
core: disable our rare uses of realloc() with a proper Array<> object.
|
12 years ago |
Sam Hocevar
|
10010d77e4
|
android: use the FPS value provided by the application; we now run at
60 fps on Android devices, too.
|
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
|
004d21a4c4
|
ps3: support for texture coordinates on the PS3.
|
12 years ago |
Sam Hocevar
|
5b57aa50fe
|
core: fix a bad format string and disable an annoying warning in Array<>.
|
12 years ago |
Sam Hocevar
|
87f653c504
|
gpu: if 2D tiles have negative scaling, switch the triangle winding.
|
12 years ago |
Sam Hocevar
|
439298ee5e
|
misc: very minor tweaks here and there.
|
12 years ago |