Sam Hocevar
|
bbca3b6e59
|
build: fixes for out-of-tree builds, and get rid of
some deprecated stuff.
|
12 лет назад |
Sam Hocevar
|
57c2805351
|
math: reimplement min(), max(), abs() and fmod() in the lol:: namespace to
avoid conflicts with the C++ stdlib.
|
12 лет назад |
jeunathe
|
169c6da480
|
nice holes
|
12 лет назад |
Sam Hocevar
|
df7a21d68f
|
tutorial: add texture demo to the VS solution.
|
12 лет назад |
Sam Hocevar
|
6944db663b
|
tutorial: add a new texture generation example.
|
12 лет назад |
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 лет назад |
Sam Hocevar
|
8a688a7d50
|
misc: compilation fixes for Windows, X360 and PS3 introduced by the
texture class refactor.
|
12 лет назад |
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 лет назад |
Sam Hocevar
|
50ff3f9ce0
|
ps3: refactor elf → self build logic and make make_fself mandatory
when building for the PS3 on a Unix system.
|
12 лет назад |
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 лет назад |
Sam Hocevar
|
787c96b47c
|
lolfx: improve the LolFx compiler, including error reporting. We can now
successfully parse a few of our full GLSL/HLSL shaders.
|
12 лет назад |
Sam Hocevar
|
549566cbf1
|
lolfx: use square brackets to indicate shader sections.
|
12 лет назад |
Sam Hocevar
|
ca909bb317
|
build: refactor lolfx build rule into common.am.
|
12 лет назад |
Sam Hocevar
|
e390f03e0a
|
build: add a common.am include file and a "make lolcheck" target that does
nothing for now except ensure that every makefile includes common.am.
|
12 лет назад |
Sam Hocevar
|
c5b10f5e9a
|
tutorial: flatten the fractal computation loop, and avoid the use of
new/delete when our arrays will do.
|
12 лет назад |
Sam Hocevar
|
4cee96d09d
|
easymesh: use "ato" for torus, because "at" is already for triangle.
|
12 лет назад |
Sam Hocevar
|
d4c0c005d6
|
math: refactor real number constant declarations so that they are only
computed on demand with static initialisation.
|
12 лет назад |
Sam Hocevar
|
38364a0bd6
|
easymesh: first shot at a simple, flat shaded torus.
|
12 лет назад |
Sam Hocevar
|
a233173fc7
|
tutorial: sync HLSL version of the water/fire effect with the GLSL one.
|
12 лет назад |
Sam Hocevar
|
0d78d14145
|
tutorial: tweak noise shader once more, and add a few code comments.
|
12 лет назад |
Sam Hocevar
|
36d49b50e5
|
tutorial: replace white noise with ordered dithering.
|
12 лет назад |
Sam Hocevar
|
6cb15b3647
|
tutorial: add some cosmetic white noise.
|
12 лет назад |
Sam Hocevar
|
10431d1421
|
tutorial: add funny shit to the noise shader example.
|
12 лет назад |
Sam Hocevar
|
45da878e36
|
tutorial: make the noise shader computationally more efficient.
|
12 лет назад |
Sam Hocevar
|
ada16c6214
|
tutorial: use a better value noise function that does not suffer from the
same discontinuity issues as the sin() approach.
|
12 лет назад |
Sam Hocevar
|
7c30e626bd
|
tutorial: optimise Perlin noise shader and reduce its complexity.
|
12 лет назад |
Sam Hocevar
|
5d7a1c24bd
|
tutorial: port noise demo to PS3 and Xbox360.
|
12 лет назад |
Sam Hocevar
|
125ad21192
|
tutorial: the noise demo is now really, really, ridiculously good looking.
|
12 лет назад |
Sam Hocevar
|
a86eaf1bb2
|
tutorial: start working on a small Perlin-like noise demo.
|
12 лет назад |
Sam Hocevar
|
779815802a
|
tutorial: minor shadebob demo tweaks.
|
12 лет назад |
Sam Hocevar
|
1c5cdd8c50
|
tutorial: fix the FBO demo on the Xbox360.
|
12 лет назад |
Cédric Lecacheur
|
82bb4cd6a3
|
EsayMesh : RadialJitter func & demo added
|
12 лет назад |
Sam Hocevar
|
e4cc84d5b3
|
gpu: finalise the framebuffer object Direct3D implementation.
|
12 лет назад |
Sam Hocevar
|
7d5fe8a7c6
|
gpu: create the ShaderTexture class, replace Shader::SetTexture with a
Shader::SetUniform override, and implement most of the FBO code for
the Direct3D backend.
|
12 лет назад |
Sam Hocevar
|
51bf8067a9
|
gpu: get rid of the glClearColor, glClearDepth and glClear calls in all
projects, we now use Video::SetClearColor, Video::SetClearDepth and
Video::Clear instead, so that the Direct3D equivalents can be called.
|
12 лет назад |
Sam Hocevar
|
3fd6702613
|
build: fix a few compilation and build errors.
|
12 лет назад |
Sam Hocevar
|
bd076c2deb
|
tutorial: minor tweaks.
|
12 лет назад |
Sam Hocevar
|
98756e277f
|
tutorial: nicer blur and colour effect in the FBO tutorial.
|
12 лет назад |
Sam Hocevar
|
3f883b9aba
|
tutorial: fix the FBO shader so that it works with OpenGL ES.
|
12 лет назад |
Sam Hocevar
|
13e5b6b8c4
|
tutorial: make the FBO example display something at last, so we can port
it to DirectX.
|
12 лет назад |
Sam Hocevar
|
f74b85fcf7
|
tutorial: test some advanced shapes for easymesh.
|
12 лет назад |
Sam Hocevar
|
837e56435d
|
easymesh: fix the specular highlight in the OpenGL shader.
|
12 лет назад |
Sam Hocevar
|
7a776e72f5
|
core: fix the X360 build by re-adding macro barriers I removed.
|
12 лет назад |
Sam Hocevar
|
23ab462042
|
gpu: try to patch some simple GLSL shaders on the fly so that they
work on OpenGL ES contexts.
|
12 лет назад |
Sam Hocevar
|
03e83798eb
|
build: fix the Raspberry Pi build and add a build script for it.
|
12 лет назад |
Sam Hocevar
|
c5915aa35c
|
tutorial: use real numbers in the fractal navigation (doubles are still
used in the fractal computation).
|
12 лет назад |
Sam Hocevar
|
5bd24fa1d3
|
build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.
|
12 лет назад |
Sam Hocevar
|
b5563ad21d
|
core: switch the Win32/x64 binaries to the Windows subsystem so that they
do not open a console at startup.
|
12 лет назад |
Sam Hocevar
|
497df444cc
|
easymesh: add the capsule mesh.
|
12 лет назад |
Sam Hocevar
|
e12fc0e35c
|
tutorial: add a simple EasyMesh viewer.
|
12 лет назад |