Sam Hocevar
|
eae9dae863
|
color: fix typo in float table.
|
12 years ago |
Sam Hocevar
|
d8577e0ec7
|
color: move the CIEDE2000 distance code into the C++ file and
reorganise the CIE-1931 and CIE-1964 tables.
|
12 years ago |
Sam Hocevar
|
4e678e2cd0
|
color: linear interpolation for the wavelength to colour function.
|
12 years ago |
Sam Hocevar
|
44f324a354
|
color: add conversion from CIE-xyY to CIE-XYZ and start working on
a wavelength to saturated xyY function based on the standard observer
data.
|
12 years ago |
Sam Hocevar
|
46cc299f5e
|
base: fix more memory corruptions in the Array class.
|
12 years ago |
Sam Hocevar
|
02bea89c0e
|
color: ensure XYZ values use the [0 100] scale and add an optional
white value in case we want to convert XYZ to L*a*b* with something
else than D65.
|
12 years ago |
Sam Hocevar
|
1b9b5be4b7
|
color: add HSL/HSV conversions, fix XYZ/RGB conversions that I mixed up,
add XYZ to xyY conversion (which gives us a pretty accurate xy graph of
the sRGB gamut), and normalise XYZ using a D65 white point.
|
12 years ago |
Sam Hocevar
|
1fe4a5796e
|
math: mark unused arguments as used in fract().
|
12 years ago |
Sam Hocevar
|
1787ddbf19
|
color: implement HSV to RGB transformation and a CIEDE2000 distance
function for CIE L*a*b* values.
|
12 years ago |
Sam Hocevar
|
e00d987083
|
math: implement fract() for vectors and scalar types.
|
12 years ago |
Sam Hocevar
|
461b02a9b3
|
color: conversions from CIE XYZ to CIE L*a*b*.
|
12 years ago |
Sam Hocevar
|
ecfb33af45
|
math: define lol::pow to remove ambiguous calls.
|
12 years ago |
Sam Hocevar
|
10d5d30b85
|
image: a few colour conversion routines.
|
12 years ago |
Sam Hocevar
|
d49bb04d20
|
build: rename “core” directory to “base” because the former is used for core
files on some Unix systems.
|
12 years ago |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
12 years ago |
Sam Hocevar
|
8c50a08147
|
doc: fix claims in the documentation introduction and disable vector.h
subtelties to avoid polluting Doxygen.
|
12 years ago |
Sam Hocevar
|
6c9c8e547e
|
build: renormalise a lot of files.
|
12 years ago |
Sam Hocevar
|
c2b075c7a9
|
core: fix a memory corruption in the Array class.
|
12 years ago |
Sam Hocevar
|
84a308af4e
|
gpu: warn when a vertex shader attribute isn’t found and do not crash
when a stream is not found in the vertex declaration at bind time.
|
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
|
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 |