Vladimír Vondruš
3b92d711c7
CMake module for finding HarfBuzz library.
14 years ago
Vladimír Vondruš
a208a289ba
Initial support for Text library.
14 years ago
Vladimír Vondruš
df1d8a95b4
Shaders: basic text shader.
14 years ago
Vladimír Vondruš
06d6032300
Shaders: base for text shaders.
14 years ago
Vladimír Vondruš
e506951829
Math: functions for bottom right and top left Rectangle corners.
14 years ago
Vladimír Vondruš
a7a4c28c03
Math: ability to create Rectangle from other of arbitrary type.
14 years ago
Vladimír Vondruš
f9f848d94c
Math: ability to multiply and divide Vector with other of arbitrary type.
14 years ago
Vladimír Vondruš
7905a5e96c
Math: return proper type from Vector::projected() in subclasses.
14 years ago
Vladimír Vondruš
ebf0107ab9
Move constructor and move assignment for textures.
14 years ago
Vladimír Vondruš
c3bcaee6a7
Shaders compatibility: check for explicit texture layer support.
14 years ago
Vladimír Vondruš
cce32d7bc8
Physics: don't link to irrelevant libraries.
...
Leftover after moving debug draw to DebugTools library.
14 years ago
Vladimír Vondruš
96e936039c
New TextureTools library with joke implementation of atlas packer.
14 years ago
Vladimír Vondruš
a45b4fba8b
Using Rectangle in framebuffer.
14 years ago
Vladimír Vondruš
423beaebeb
Bring Math::Geometry::Rectangle to Magnum namespace.
14 years ago
Vladimír Vondruš
bc2f98266e
Math: debug output operator for Rectangle.
14 years ago
Vladimír Vondruš
c4b6e5ea33
Math: helper Rectangle class.
14 years ago
Vladimír Vondruš
5cd4aa8dcd
Doc++
14 years ago
Vladimír Vondruš
e16b5cc263
Doc: worked around Doxygen warnings.
...
It seems that Doxygen parser breaks itself each third Saturday after
full moon.
14 years ago
Vladimír Vondruš
c0a3ce84a4
Moved Profiler and debug draw from Physics to new DebugTools library.
...
Also cleaned up the code and split renderer creation from resource
manager.
14 years ago
Vladimír Vondruš
de72421a7c
Physics: fixed debug output operator for AbstractShape::Type.
...
It could be found by ADL only from Physics namespace itself, which is
not too useful.
14 years ago
Vladimír Vondruš
e0728baf03
Adapt to "recent" (sic) Platform changes, update docs.
14 years ago
Vladimír Vondruš
d0def6a763
Platform: reworked *XApplication events to mimic other implementations.
14 years ago
Vladimír Vondruš
10de569755
Doc++
14 years ago
Vladimír Vondruš
6b4a833d6e
Minor code cleanup.
14 years ago
Vladimír Vondruš
d552a658c0
Platform: reworked GlutApplication events to mimic SDL and NaClApplication.
14 years ago
Vladimír Vondruš
e5db59aad5
Removed "wontfix" TODOs.
...
* Calling *Mesh::draw() with parameter to start on arbitrary vertex
index might give users more freedom than they want to have (e.g.
lines rendered where gaps should be, broken triangle strips...).
* Single-precision floats have meaningful precision of ~6 decimal
places, everything after that would be random garbage anyway, so we
don't need anything "more precise" for icosphere.
* Texture1D can have only one target and it can be used as framebuffer
target.
14 years ago
Vladimír Vondruš
041e541d39
SceneGraph: ability to normalize rotation in Euclidean transformation.
14 years ago
Vladimír Vondruš
4a6e0b6dfa
Math: Gram-Schmidt orthonormalization.
14 years ago
Vladimír Vondruš
5de5b34c48
Math: function for projecting vector onto another.
14 years ago
Vladimír Vondruš
2734fde593
SceneGraph: euclidean transformation using matrices.
...
Allows for faster computation of inverted transformations.
14 years ago
Vladimír Vondruš
d981090e86
Functions for inverting Euclidean transformation matrices.
14 years ago
Vladimír Vondruš
45f50aff63
SceneGraph: convenience function for reflecting objects.
14 years ago
Vladimír Vondruš
e9e0de70d7
Implemented reflection matrices.
...
Long-standing TODO, can be used for in-game mirrors etc. I give up with
shearing, as I think that it makes sense only in 2D and I can't find any
reasonable use case for that yet.
14 years ago
Vladimír Vondruš
6ae94bffd7
Ability to construct Matrix from rotation/scaling and translation parts.
14 years ago
Vladimír Vondruš
c96d0a882d
Doxygen fixes.
14 years ago
Vladimír Vondruš
e10b5a4473
Updated Physics library dependencies.
14 years ago
Vladimír Vondruš
c0827baafd
Allow building _only_ NaClApplication if on NaCl.
14 years ago
Vladimír Vondruš
5ef4dbbe3c
Reuse any binding (not just draw) when adding framebuffer attachments.
14 years ago
Vladimír Vondruš
7d6b7a4b6b
Using EXT_direct_state_access in framebuffers.
...
Framebuffer::attach*() doesn't need the target at all (meaning the
attachment will be used for both reading and drawing), another
misunderstanding on my side.
Now the extension is used on all places where it can be used (except for
unimplemented features).
14 years ago
Vladimír Vondruš
1a7c30cdde
Tracking currently bound renderbuffer.
14 years ago
Vladimír Vondruš
4b2551bbb5
No trailing whitespace in magnum-info utility.
14 years ago
Vladimír Vondruš
7d04b7d511
Doc++
...
Basic framebuffer usage, mentioned framebuffer attachments in shader
documentation.
14 years ago
Vladimír Vondruš
72d48ac3e7
More intuitive framebuffer attachment mapping.
14 years ago
Vladimír Vondruš
6e6e53886d
Removed dead code.
14 years ago
Vladimír Vondruš
7e66a09461
Marking all constructors explicit, except for matrix and vector classes.
...
It prevents unwanted implicit conversions from e.g. nullptr to Camera,
Vector2 to Physics::Point etc. By making all the constructors explicit
it is easier to routinely add the keyword to all new classes instead of
thinking about cases when to add and when not to.
14 years ago
Vladimír Vondruš
3b37dfa6b8
Deleted constructors of classes with only static members.
...
They shouldn't be instantiated, prevent mistakes with this.
14 years ago
Vladimír Vondruš
dc1ab80cda
Doc++
14 years ago
Vladimír Vondruš
19029d97c6
Tracking viewport state in Framebuffer.
...
Viewport position and size is managed separately for each framebuffer
and glViewport() is called in bind() (and also from setViewport(), if
the framebuffer is currently bound) if the viewport differs from
current state. If used only one framebuffer size through whole
application lifetime, glViewport() doesn't need to be called at all.
14 years ago
Vladimír Vondruš
5267547373
Tracking framebuffer binding.
14 years ago
Vladimír Vondruš
6ffa8eac51
Using old framebuffer binding internally if new is not supported.
14 years ago