Sam Hocevar
5c6ceb6d0c
build: manually add lollua.vcxproj as a reference in all projects.
11 anos atrás
Sam Hocevar
7468547abc
ps4: prepare for the fioutaah!
11 anos atrás
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
11 anos atrás
Sam Hocevar
13fb52cebe
gpu: move Video::Clear to Renderer::Clear.
11 anos atrás
Sam Hocevar
87a9c3730c
gpu: implement all depth test functions in the renderer.
11 anos atrás
Sam Hocevar
274a732e3c
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
11 anos atrás
Sam Hocevar
b97cbbe27f
gpu: use the RenderContext class in a few friendly places.
11 anos atrás
Sam Hocevar
3b90e19739
gpu: fix framebuffer handling in OpenGL ES and add some sanity checks.
11 anos atrás
Sam Hocevar
65929156dd
tutorial: fix uninitialised memory in the FBO demo.
11 anos atrás
Sam Hocevar
f14ac4a2c6
tutorial: make the fractal tutorial build when no threads are available.
11 anos atrás
Sam Hocevar
8f9aee4ee5
tutorial: small sprite tutorial.
11 anos atrás
Sam Hocevar
f7dbc33524
build: update .vcxproj files.
11 anos atrás
Sam Hocevar
1093e75006
base: break the main loop apart for the emscripten port.
11 anos atrás
Sam Hocevar
1b14ba8860
tutorial: GLSL ES compilation fixes.
11 anos atrás
Sam Hocevar
c1428fc1f9
input: support up to 32 mouse buttons.
11 anos atrás
Lolbot
5f1470cdb3
fixed 7 files out of 2672:
- removed 0 CR characters
- removed 75 trailing whitespaces
- replaced 0 tabs with spaces
11 anos atrás
Sam Hocevar
2c3092ef28
gpu: rename FrameBuffer to Framebuffer.
11 anos atrás
Benjamin ‘Touky’ Huet
bbd81c2e31
12_tutorial : fixed some bad commit.
11 anos atrás
Sam Hocevar
3364a1ab0c
tutorial: randomise colours.
11 anos atrás
Sam Hocevar
6faf4ee067
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
11 anos atrás
Benjamin ‘Touky’ Huet
07a8a174ae
12_voronoi : Added death round.
11 anos atrás
Sam Hocevar
8c21c22723
tutorial: don’t use MSVC extensions in our code.
11 anos atrás
Benjamin ‘Touky’ Huet
d1209d5598
CIS FAIL
11 anos atrás
Benjamin ‘Touky’ Huet
cde747667c
12_voronoi : Added GPU Voronoi test.
11 anos atrás
Sam Hocevar
c59fc670c2
core: import pristine lua 5.2.1 in the engine code.
11 anos atrás
Sam Hocevar
e9b4985dbd
gpu: add MeshPrimitive::Lines enum and modify the cube tutorial
to show how it can be used.
11 anos atrás
Sam Hocevar
16a620d537
scene: start refactoring the camera code; we now have a stack of cameras
in the scene where we can push and pop cameras.
11 anos atrás
Sam Hocevar
7e8edd7c3e
sys: add the base source directory to the list of search directories
on automake platforms, too.
11 anos atrás
Sam Hocevar
0e1a19f8e6
build: re-add liblolcore dependency tracking to all binary objects.
11 anos atrás
Sam Hocevar
0463a898c3
build: fix syntax errors in the Visual Studio projects.
11 anos atrás
Sam Hocevar
4b4d201a6d
build: reorganise AM_CPPFLAGS handling so that we can disable the
shitload of warnings Bullet spits at us.
11 anos atrás
Sam Hocevar
6e1156aaea
build: split the main library into lolcore and lolbullet.
11 anos atrás
Sam Hocevar
16d53895fa
math: remove coercion rules in the vector classes, they increase the
compilation time for very little benefit and maybe even confusion.
11 anos atrás
Sam Hocevar
42fb9b6853
gpu: support 1-component (luminance) textures.
12 anos atrás
Sam Hocevar
51f08bfc87
tutorial: HLSL version of the graph plotting shader.
12 anos atrás
Sam Hocevar
0ba4e6d9e0
easymesh: interface the shiny shader with new Light objects.
12 anos atrás
Sam Hocevar
3adf42b00c
build: hide LolFx external declarations behind macros.
12 anos atrás
Sam Hocevar
bbf72e1a64
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
12 anos atrás
Sam Hocevar
6a6e46cf0d
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
12 anos atrás
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 anos atrás
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
12 anos atrás
Sam Hocevar
5366a6b606
tutorial: display fewer points in the curve tutorial.
12 anos atrás
Sam Hocevar
c84c092a42
tutorial: minor tweaks.
12 anos atrás
Sam Hocevar
a8a3e6ced6
tutorial: add fancy dots to line segment ends.
12 anos atrás
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 anos atrás
Sam Hocevar
6c9c8e547e
build: renormalise a lot of files.
12 anos atrás
Sam Hocevar
2ec31981fd
easymesh: make demo objects smaller.
12 anos atrás
Sam Hocevar
7fa661a2fd
easymesh: motherfucking planetary gears demo.
12 anos atrás
Sam Hocevar
662148406f
easymesh: allow central holes in gears as well as internal gears.
12 anos atrás
Sam Hocevar
adfd582b98
tutorial: HUGE COGS.
12 anos atrás