Sam Hocevar
|
5d9488182f
|
math: extract the gradient generator from simplex noise so that we
can reuse it for other noise implementations.
|
10 anni fa |
Sam Hocevar
|
b0b5bcc6fa
|
math: tweak simplex noise scale according to dimension.
|
10 anni fa |
Sam Hocevar
|
0af8c1fd6f
|
math: shitloads of tweaks, optimisations, fixes and comments to the
simplex noise code.
|
10 anni fa |
Sam Hocevar
|
45da3662d4
|
test: add 7-dimensional simplex noise test.
|
10 anni fa |
Sam Hocevar
|
5065a2653c
|
simplex: replace the N-dimensional gradient array with a simple seed.
|
10 anni fa |
Sam Hocevar
|
4c95301d31
|
simplex: use scaling values that match Stefan Gustavson’s paper.
|
10 anni fa |
Sam Hocevar
|
7ff3456239
|
simplex: optimisation; reduce the number of matrix multiplications.
|
10 anni fa |
Sam Hocevar
|
a4cbf3fcb2
|
test: fix vertex positions to match our simplex implementation.
|
10 anni fa |
Sam Hocevar
|
88603c1ecf
|
test: add simplex noise test program.
|
10 anni fa |
Sam Hocevar
|
9cf96538d9
|
build: minor compilation fix.
|
10 anni fa |
Sam Hocevar
|
d040954588
|
test: blue noise kernel generator.
|
10 anni fa |
Lolbot
|
56481be48e
|
fixed 6 files out of 2928:
- removed 0 CR characters
- removed 8 trailing whitespaces
- replaced 400 tabs with spaces
- fixed 6 svn:eol-style properties
|
10 anni fa |
Benjamin ‘Touky’ Huet
|
cb7a99bac3
|
Added ShaderBuilder
|
10 anni fa |
Sam Hocevar
|
2b81246a22
|
build: reorganise some visual studio shit and comment some files.
|
10 anni fa |
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.
|
10 anni fa |
Sam Hocevar
|
cd988786b9
|
build: reorganise includes so that we can use precompiled headers later.
|
10 anni fa |
Sam Hocevar
|
cadc4d18b0
|
test: move the unit tests to the engine, and lolunit out of the engine.
|
10 anni fa |
Sam Hocevar
|
0bc2ec0480
|
build: move VS solution one directory below and create a VS2014 solution.
|
10 anni fa |
Sam Hocevar
|
ad9a388e80
|
misc: remove 100% of the "using namespace std;" madness.
|
10 anni fa |
Sam Hocevar
|
12aaff89e3
|
base: huge refactor in vector.h; GCC compilation times down by 50%.
|
10 anni fa |
Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
10 anni fa |
Sam Hocevar
|
398ee1b4d5
|
base: use lol::array in most places.
|
10 anni fa |
Sam Hocevar
|
ebfd692152
|
base: simplify code here and there.
|
10 anni fa |
Sam Hocevar
|
18254349aa
|
image: gather pixel-related types and enums into a single pixel.h header.
|
10 anni fa |
Sam Hocevar
|
da6b3d5cd0
|
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
|
10 anni fa |
Sam Hocevar
|
79ed58f1f0
|
Merge branch 'master' into scenegraph
|
10 anni fa |
Sam Hocevar
|
c9b8ff54a1
|
misc: some refactoring in texture handling.
|
10 anni fa |
Sam Hocevar
|
32143b8bb4
|
scene: allow to rotate sprites around the Z axis.
|
10 anni fa |
Lolbot
|
ece13aaabf
|
fixed 19 files out of 2757:
- removed 510 CR characters
- removed 26 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 15 svn:eol-style properties
|
10 anni fa |
Benjamin ‘Touky’ Huet
|
a8f0081deb
|
Added tweak to 05_EZMesh to show how custom shader setting works.
|
10 anni fa |
Sam Hocevar
|
232fa4126d
|
gpu: rename uniforms here and there for consistency.
|
10 anni fa |
Sam Hocevar
|
d46e63ff29
|
build: VS2012 solution and project tweaks for exotic platforms.
|
11 anni fa |
Benlitz
|
246af694d8
|
removed vs2010 solution, migrated all projects to 2012. VsLol stays on 2010 for compatibility and now has its own sln.
|
11 anni fa |
Sam Hocevar
|
388098a178
|
hsv2rgb 6th
|
11 anni fa |
Sam Hocevar
|
ca87acd033
|
scene: fix light object usage in various demos and example programs.
|
11 anni fa |
Sam Hocevar
|
0bd3f1d9ef
|
input: fix or disable input code in side projects so that everything builds.
|
11 anni fa |
Sam Hocevar
|
5f3ad5cc15
|
math: add constant vectors vec2::zero, vec2::axis_x, etc.
|
11 anni fa |
Benjamin ‘Touky’ Huet
|
b11e4b8f8c
|
Moved several projects to Input V2.
|
11 anni fa |
Benlitz
|
c1da4619f7
|
input: renamed xinput keys to something more human readable (such as A or DPadLeft) and inverted mouse Y axis to match joystick axis (negatives being up)
core: calling InitGame() at the first tick of an entity. InitDraw is still uncalled yet
fixed mrpigeon and orbital accordingly
|
11 anni fa |
Benlitz
|
eab5c46b1e
|
input: added a name the controllers, and a static Get() function to easily retrieve a registered controller
|
11 anni fa |
Benlitz
|
6b6d0137bb
|
fixed more projects regarding the shader attribute change
|
11 anni fa |
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
|
11 anni fa |
Benlitz
|
8a657ea287
|
input: Removed previous input system
|
11 anni fa |
Sam Hocevar
|
acb6927224
|
tutorial: get rid of global variables in the input tutorial.
|
11 anni fa |
Sam Hocevar
|
4823bc5812
|
tutorial: add missing uniform location.
|
11 anni fa |
Sam Hocevar
|
3fdc7b3eef
|
tutorial: tweak the input tutorial code.
|
11 anni fa |
Sam Hocevar
|
399a172425
|
build: fix a few compilation issues with input v2.
|
11 anni fa |
Benlitz
|
f7da613a70
|
fixed a minor typo in the input tutorial
|
11 anni fa |
Lolbot
|
c47d0f8c62
|
fixed 10 files out of 2754:
- removed 386 CR characters
- removed 4 trailing whitespaces
- replaced 189 tabs with spaces
|
11 anni fa |
Benlitz
|
a7aac24c46
|
Completely reworked input system. Unified device interface, button, axis and cursor support, controller and binding system, mouse capture. Tutorial 07_input provided. Require to compile lolcore with LOL_INPUT_V2 to be activated (also needed app-side before including core.h)
|
11 anni fa |