Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
il y a 10 ans |
Sam Hocevar
|
3862ad59dc
|
base: going on a lowercase rampage; today’s victim: Array.
|
il y a 10 ans |
Sam Hocevar
|
12d249f3fa
|
image: add Convolution() method, with optimisation for separable filters.
|
il y a 10 ans |
Sam Hocevar
|
79ed58f1f0
|
Merge branch 'master' into scenegraph
|
il y a 10 ans |
Sam Hocevar
|
44dec8612e
|
core: fix minor Windows and Raspberry compilation issues.
|
il y a 10 ans |
Sam Hocevar
|
231d74f1f8
|
gpu: implement RenderContext::SetBlendEquation().
|
il y a 10 ans |
Benjamin ‘Touky’ Huet
|
f5e37a4337
|
AddedSprite_sorter stores parameters now.
Added palette in Scene.
|
il y a 10 ans |
Benjamin ‘Touky’ Huet
|
fe7f7b9fdb
|
Added Base directory logic similar to File class, with windows only implementation -for now-
Added tile cam index to have tileset available with other 3d stuff ..... 2014 is now !
|
il y a 11 ans |
Sam Hocevar
|
32143b8bb4
|
scene: allow to rotate sprites around the Z axis.
|
il y a 11 ans |
Sam Hocevar
|
6c0cab193c
|
scene: position sprite tiles from their centre instead of their corner.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
dbb1d02aa6
|
Added 2D to 3D DebugLines
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
cc8e6ced51
|
Added Debug DrawBox+DrawCapsule+DrawCircle+DrawSphere for ze lulz
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
b1fbc0259f
|
Added Mask & StickyTime to Draw Debug
|
il y a 11 ans |
Sam Hocevar
|
232fa4126d
|
gpu: rename uniforms here and there for consistency.
|
il y a 11 ans |
Sam Hocevar
|
0f3805be4c
|
android: various fixes, but the switch to NativeActivity isn't complete.
|
il y a 11 ans |
Sam Hocevar
|
1945e85afc
|
scene: start working on the scene class reorganisation.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
accce03e6f
|
small tweaks in EZMesh shader compatibilities
|
il y a 11 ans |
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
|
il y a 11 ans |
Sam Hocevar
|
f193bc2caa
|
scene: break text rendering again so that 2D games work properly...
|
il y a 11 ans |
Sam Hocevar
|
ccc9369660
|
gpu: avoid unnecessary OpenGL context changes.
|
il y a 11 ans |
Sam Hocevar
|
da12e9cf97
|
scene: for now, restore the ortho cam when blitting tiles.
|
il y a 11 ans |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
il y a 11 ans |
Sam Hocevar
|
a75e07d329
|
gpu: add full support for alpha test in GL and D3D.
|
il y a 11 ans |
Sam Hocevar
|
87a9c3730c
|
gpu: implement all depth test functions in the renderer.
|
il y a 11 ans |
Sam Hocevar
|
45c13689ec
|
gpu: implement blend function and alpha test in the renderer.
|
il y a 11 ans |
Sam Hocevar
|
b97cbbe27f
|
gpu: use the RenderContext class in a few friendly places.
|
il y a 11 ans |
Sam Hocevar
|
bd2abf9a78
|
mrpigeon: try the new tile definition system… which doesn’t work.
|
il y a 12 ans |
Sam Hocevar
|
9a752c84d8
|
tileset: refactor the tile generation code.
|
il y a 12 ans |
Sam Hocevar
|
d4dcdb75e6
|
gpu: account for the HLSL half-texel offset on the PS3.
|
il y a 12 ans |
Sam Hocevar
|
9819425ba0
|
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
|
il y a 12 ans |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
il y a 12 ans |
Sam Hocevar
|
872efdb880
|
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Sam Hocevar
|
bb28344eb7
|
build: fix compiler warnings and Linux and PS3 build issues.
|
il y a 12 ans |
Sam Hocevar
|
0ba4e6d9e0
|
easymesh: interface the shiny shader with new Light objects.
|
il y a 12 ans |
Sam Hocevar
|
3adf42b00c
|
build: hide LolFx external declarations behind macros.
|
il y a 12 ans |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
il y a 12 ans |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Sam Hocevar
|
1f8ba128d4
|
core: fix sorting of 2D scenes.
|
il y a 12 ans |
Sam Hocevar
|
2297288114
|
gpu: get rid of the inline 2D shader and create "tile.lolfx".
|
il y a 12 ans |
Sam Hocevar
|
d684c0d113
|
scene: avoid doing hundreds of useless OpenGL calls if no 2D sprite is
being displayed in the scene.
|
il y a 12 ans |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
il y a 12 ans |
Sam Hocevar
|
6467a06e90
|
core: convert some realloc() calls to our nice dynamic Array class.
|
il y a 13 ans |
Sam Hocevar
|
bfada5d920
|
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
|
il y a 13 ans |
Sam Hocevar
|
fe9bab81c1
|
gpu: fix a great lot of Direct3D problems, spotted using PIX.
|
il y a 13 ans |
Sam Hocevar
|
48c7070243
|
gpu: replace exit(0) in D3D error checks with lol::Abort().
|
il y a 13 ans |
Sam Hocevar
|
0d49891632
|
gpu: fix a nasty bug in the D3D9 vertex declaration code that caused
wrong offset computations.
|
il y a 13 ans |
Sam Hocevar
|
f7770f7387
|
gpu: add an Unbind() method for textures for clean up. Unfortunately
the Scene code still breaks Direct3D rendering.
|
il y a 13 ans |
Sam Hocevar
|
560d5cc6be
|
gpu: fix the core scene renderer.
|
il y a 13 ans |