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.
|
hace 10 años |
Benjamin ‘Touky’ Huet
|
c411be843c
|
Added Flat debugrendermode
Wireframe is back for normal OGL users
MV : Added timed command execution for future "demo mode"
|
hace 11 años |
Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
hace 11 años |
Sam Hocevar
|
084a98be87
|
gpu: framebuffers now use the g_render object to restore viewport data.
|
hace 11 años |
Sam Hocevar
|
7c8fc6df12
|
gpu: move more platform-specific code from Video to Render.
|
hace 11 años |
Sam Hocevar
|
274a732e3c
|
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
|
hace 11 años |
Sam Hocevar
|
1b213612a5
|
gpu: handle depth test, alpha blending and face culling in Renderer.
|
hace 11 años |
Sam Hocevar
|
716c2b5592
|
gpu: create a Renderer and a RenderContext class to handle render states
such as alpha blending, depth test, etc.
|
hace 11 años |
Benjamin ‘Touky’ Huet
|
23f9299a59
|
video : Added SetAlphaBlend() SetFaceCulling() SetCustomSize()
FrameBuffer : Added GetSize() & tweaked Bind()/Unbind() with size update for correct rendering.
|
hace 12 años |
Benjamin ‘Touky’ Huet
|
6c5a279c46
|
easymesh : "struct m_gpu" no longer exists and has been replaced by more simpler classes. VertexDecl&Buffer are now not created several times when using the same source datas.
|
hace 12 años |
Benjamin ‘Touky’ Huet
|
bb0051ae8e
|
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
|
hace 12 años |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
hace 12 años |
Sam Hocevar
|
2df85645fb
|
gpu: document and tweak some class declarations.
|
hace 12 años |
Sam Hocevar
|
9eb88af17c
|
gpu: remove support for the accumulation buffer, it's deprecated anyway.
|
hace 12 años |
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.
|
hace 12 años |
Sam Hocevar
|
bfada5d920
|
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
|
hace 12 años |
Sam Hocevar
|
a3f410d697
|
video: allow to set the default clear color.
|
hace 12 años |
Sam Hocevar
|
6bbe943492
|
core: rename vec2i to ivec2 etc. to better match GLSL.
|
hace 13 años |
Sam Hocevar
|
d1270bf691
|
video: move the last shader from the Video class to Scene itself.
|
hace 13 años |
Sam Hocevar
|
cc05a63bb7
|
video: get rid of Video::GetWidth() and Video::GetHeight().
|
hace 13 años |
Sam Hocevar
|
bd9dd9c195
|
video: implement Video::GetSize() in addition to GetWidth() and GetHeight().
|
hace 13 años |
Sam Hocevar
|
22b7a41c2e
|
core: fix include guard naming scheme.
|
hace 14 años |
Sam Hocevar
|
8848cf53db
|
Put everything in the "lol" namespace. Better late than never.
|
hace 14 años |
Sam Hocevar
|
58e12ca4d1
|
More shader crap for GLSL 1.30. Still disabled.
|
hace 14 años |
Sam Hocevar
|
0ed566d3cc
|
Complete Lol Engine / Deus Hax / Monsterz split.
|
hace 14 años |
Sam Hocevar
|
ad3128405a
|
Put HUD objects back on front of the scene.
|
hace 14 años |
Sam Hocevar
|
40f7da62f1
|
Implement Video::SetFov() to allow conic projection.
|
hace 14 años |
Sam Hocevar
|
988f7c2885
|
Replace mouse scrolling with a joystick simulated by the e/s/d/f keys.
|
hace 14 años |
Sam Hocevar
|
29bebc3e53
|
Implement Video::Capture and create a GROUP_RENDER_CAPTURE tick group.
|
hace 14 años |
Sam Hocevar
|
d2e5bba88e
|
Implement Video::GetWidth() and Video::GetHeight().
|
hace 14 años |
Sam Hocevar
|
9112d94d19
|
Create a helper class for easy scene setup. Highly reduces the number
of includes in a few source files.
|
hace 14 años |
Sam Hocevar
|
0fc6a8487c
|
Slightly improve the documentation in a few files, add the missing
joystick class, and put a header in each source file.
|
hace 14 años |
Sam Hocevar
|
a156db0aeb
|
The GTK loop now works. Sort of.
|
hace 14 años |
Sam Hocevar
|
5e9cb74861
|
Change the Video class into an interface, implemented by SdlVideo and,
soon, GtkVideo.
|
hace 14 años |
Sam Hocevar
|
a3d5f1576b
|
The layer name is no longer ignored.
|
hace 14 años |
Sam Hocevar
|
68c71cfa83
|
Create a tile manager. There are no longer any GL calls in test-map.cpp or
in public headers. Good cleanup.
|
hace 14 años |
Sam Hocevar
|
b98cd26576
|
Move video initialisation stuff to a separate source file.
|
hace 14 años |