Vladimír Vondruš
7c17871c90
Assuming the vectors are normalized in Matrix4::rotation().
14 years ago
Vladimír Vondruš
b43a6ee586
Square primitive.
14 years ago
Vladimír Vondruš
90a3b76e05
Have both 2D and 3D alternatives of mesh and object data in Trade.
14 years ago
Vladimír Vondruš
071afa0b7a
Point*D Vector* subclasses for homogeneous coordinates.
...
Vector4 doesn't set W component to one by default anymore, this is now
handled by Point*D itself. This finally allows creating of 2D primitives
and 2D position vectors without messing explicitly with Z = 1.
All classes which should use Point instead of Vector were updated to use
Point instead.
14 years ago
Vladimír Vondruš
b90ba53f2e
Doc++ (positions, not vertices).
14 years ago
Vladimír Vondruš
eb803200d6
Disabled denormalization test for long double altogether.
...
Fails in Debug, but passes in Release mode on my GCC 4.7 @ x86_64. Not
sure what to do about it.
14 years ago
Vladimír Vondruš
7acda40a67
Doc++ (vector components, not values).
14 years ago
Vladimír Vondruš
ce15175c70
Don't show dependent options in CMake if WITH_EVERYTHING is set to ON.
14 years ago
Vladimír Vondruš
7a13e5c873
Added Color3 and Color4 to TypeTraits.
14 years ago
Vladimír Vondruš
619f44347c
Doxygen documentation workarounds.
14 years ago
Vladimír Vondruš
6a4b68410c
Doc: brief introduction to matrix and vector classes.
...
DDD - documentation driven development. Not all advertised features are
available right now, but they will come.
14 years ago
Vladimír Vondruš
4d46fd12cf
Returning references from vector component accessors.
...
Before it has to be done with overly verbose and cumbersome Java-style:
Vector4 vec;
vec.setX(vec.x() + 5);
vec = Vector4(vec.xyz()*2, vec.w());
Now it can be done this way:
vec.x() += 5;
vec.xyz() *= 2;
14 years ago
Vladimír Vondruš
c813a8ae34
More README updates.
14 years ago
Vladimír Vondruš
c50d68c211
Fixed documentation link so it's not redirected to another domain.
14 years ago
Vladimír Vondruš
3b333be0f2
Doc: updated feature list and "Getting started" section.
14 years ago
Vladimír Vondruš
9a391beb96
Doc: updated window context building options.
14 years ago
Vladimír Vondruš
823b39133a
Doc: run `ctest` with `--output-on-failure` rather than `-V`.
14 years ago
Vladimír Vondruš
dfe566886a
SceneGraph: disallow instantiation of Object and Camera base classes.
...
Renamed them to AbstractObject and AbstractCamera to make this more
evident to end user.
14 years ago
Vladimír Vondruš
cef2a19b07
Moved template list of SceneGraph objects into traits class.
...
Beside better readability it is now more future proof, as objects with
double types etc. and new templated types can be added more easily.
14 years ago
Vladimír Vondruš
d4ea960767
Fixed ambiguous function call.
...
Probably only on GCC 4.6, though.
14 years ago
Vladimír Vondruš
00cc00311b
Workarounds for old GLEW versions (tested on 1.6).
...
GLEW defines some extensions on its own and is making mistakes, which
aren't later resolved by including the official header, because the
extension is already defined in glew.h.
Hopefully these are the first and last errors found.
14 years ago
Vladimír Vondruš
b0f640072c
Timeline: sleep for _the rest_ of the frame.
...
This wasn't well tested class.
14 years ago
Vladimír Vondruš
2c0b75df8b
Request OpenGL 3.2 rather than 3.3.
...
Not all 3.x drivers have the latest version, even if it is five years
old.
14 years ago
Vladimír Vondruš
0646a6a12e
Contexts: updated default window names.
14 years ago
Vladimír Vondruš
11823f6600
Context: use glGetString(GL_EXTENSIONS) on GL 2.1.
...
glGetStringi() is since GL 3.0.
14 years ago
Vladimír Vondruš
141b20a612
Renamed Contexts::*Context to *ContextHandler.
...
Finally (and hopefully) consistent and non-confusing naming.
14 years ago
Vladimír Vondruš
07df630b24
Modified Sdl2WindowContext for source compatibility with others.
...
Stripped off key repeat and separate function for mouse wheel handling.
14 years ago
Vladimír Vondruš
ad19b2734b
More renaming: Context -> WindowContext.
14 years ago
Vladimír Vondruš
fa774370aa
GCC 4.6 doesn't support template aliases.
14 years ago
Vladimír Vondruš
3d77885555
Revert "Overflow test for large types in Math::normalize() started working."
...
It was working because of some weird state of my build dir, expecting
fail again.
This reverts commit 75d0505a60 .
14 years ago
Vladimír Vondruš
e95c31720e
GCC 4.6 compatibility of Extension class.
...
It doesn't like const members, as std::vector doesn't have proper move
semantic yet.
14 years ago
Vladimír Vondruš
5121d8ba99
Removed last trace of QtTest library.
14 years ago
Vladimír Vondruš
4927be44cf
Context class must be instantiated after initializing extensions.
14 years ago
Vladimír Vondruš
1cc13db704
Timeline class.
14 years ago
Vladimír Vondruš
75d0505a60
Overflow test for large types in Math::normalize() started working.
...
I don't know what caused that... :-)
14 years ago
Vladimír Vondruš
4152e1fc9d
Better ability to create portable shaders.
...
Now the #version string is added from Shader class itself, making it
possible to do workarounds for older versions more conveniently. As a
consequence, #version must not be part of shader source anymore.
14 years ago
Vladimír Vondruš
13bb600c3e
Creating Context instance in all *Context classes.
...
The naming is now kinda schizofrenic, hope I come up with something
better.
14 years ago
Vladimír Vondruš
c2949d6b59
More Xlib workarounds...
14 years ago
Vladimír Vondruš
ae28de197b
Classes for handling version and extension information.
14 years ago
Vladimír Vondruš
a5ab6253b7
Contexts refactoring.
...
Contexts attached to window are now *WindowContext, pure contexts are
just *Context.
14 years ago
Vladimír Vondruš
bd665cb280
More texture and renderbuffer internal formats supported in OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
f15906b28b
Fixed linking errors when only OpenGL ES 2 is available.
...
This is currently toggled with TARGET_OPENGLES2 option, which is enabled
by default when TARGET_OPENGLES is enabled.
14 years ago
Vladimír Vondruš
7a066672cd
Queries (except for timing ones) are available in OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
ac3a8b55d6
New Compute shader stage in OpenGL 4.3.
14 years ago
Vladimír Vondruš
1c8bda59b2
Unsigned uniforms and retrievable hint supported in OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
6c244eb703
CubeMapTexture is always seamless on OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
b067a6d1dc
Several new buffer targets and usages are available on OpenGL ES 3.0.
...
In turn also BufferedImage is now available on OpenGL ES 3.0.
14 years ago
Vladimír Vondruš
3271896b15
Deprecated uniformLocation() in favor of GL 4.3 explicit uniform location.
14 years ago
Vladimír Vondruš
5310326e69
Enabled RGB565 and BPTC textures, as they are now in headers.
14 years ago
Vladimír Vondruš
e378195d20
Added headers for OpenGL 4.3 and OpenGL ES 3.0.
14 years ago