Vladimír Vondruš
442c9629ae
Code reorganization.
14 years ago
Vladimír Vondruš
a46b51b11f
Updated for OpenGL ES 2 support.
14 years ago
Vladimír Vondruš
57b064a2ef
Pixel pack buffer isn't available on ES2 either.
14 years ago
Vladimír Vondruš
a87141b250
Mention required version/extension in shader code.
14 years ago
Vladimír Vondruš
68872b03cf
Added @requires_{gl43,gles30,es_extension} Doxygen aliases.
14 years ago
Vladimír Vondruš
db105839c5
Doc++
14 years ago
Vladimír Vondruš
61cac0f1b3
Renamed EglContext to XEglContext.
...
X11 window and event handling will be used also elsewhere for desktop
OpenGL, reflect its presence in the class name.
14 years ago
Vladimír Vondruš
3298c5181a
SceneGraph: Hiding LinkedList/LinkedListItem methods in Object.
...
All of them have appropriate aliases, so it's not needed to expose both
in public interface.
14 years ago
Vladimír Vondruš
85de3109a9
Adapted to Corrade changes.
14 years ago
Vladimír Vondruš
881f07ec76
Added Object2D::move() to manage 2D stacking order.
14 years ago
Vladimír Vondruš
58abfdeeee
SceneGraph: Using linked list from Corrade instead of std::set.
...
Resulting (debug) executables are ~100 kB smaller, all operations
which were previously logarithmic are now done in constant time and
the whole implementation is a lot simpler.
14 years ago
Vladimír Vondruš
aa80ac55ee
SceneGraph: Added @todos for some Object weirdness.
14 years ago
Vladimír Vondruš
71f7e241fa
SceneGraph: removed fugly hack for detecting scene.
...
Previously the scene was its own parent, which was good sometimes back
then, but it became so ugly and complicated hack ("my friend has access
to my privates"-style) that it needed to be replaced with something less
ugly.
Now there is an function isScene() which is overloaded in Scene. Yes,
it's possible to overload it anywhere else, but you better shouldn't
even think about it.
14 years ago
Vladimír Vondruš
af8b01da88
SceneGraph: default Camera aspect ratio policy is to not preserve.
...
I thought and believed it was like that since forever, but I was wrong.
14 years ago
Vladimír Vondruš
d43e18a741
Initial support for 2D scene graph.
14 years ago
Vladimír Vondruš
c6e14dd348
SceneGraph: Initial support for projections with aspect ratio != 1:1.
...
Orthographic projection done, perspective projection needs total rework,
leaving it for later.
14 years ago
Vladimír Vondruš
27bbf23dff
SceneGraph: Simplified Implementation::Camera<3>::fixAspectRatio().
14 years ago
Vladimír Vondruš
f6d1aa7bc9
SceneGraph: Test for Implementation::Camera<3>::fixAspectRatio().
14 years ago
Vladimír Vondruš
810c06509a
SceneGraph: modifications to allow 2D implementation in future.
14 years ago
Vladimír Vondruš
c451b22392
Revert "Documentation: organizing the classes into "modules"."
...
It only caused another maintenance burden and was confusing to users.
Now when scene graph is in SceneGraph namespace there is no need for
another grouping. Namespaces are (and should be) sufficient.
This reverts commit 79945ab6fc .
Conflicts:
src/BufferedImage.h
src/BufferedTexture.h
src/Framebuffer.h
src/Query.h
src/SceneGraph/Scene.h
14 years ago
Vladimír Vondruš
e3ee7b487b
Moved Object, Scene and Light to separate SceneGraph library.
14 years ago
Vladimír Vondruš
3744d247d2
Adapted to Corrade changes.
14 years ago
Vladimír Vondruš
9d750179cd
Swapped template parameters in Vector/Matrix debug operator.
...
Forgotten in cc1f9c60c9 , swapped them to
make things consistent.
14 years ago
Vladimír Vondruš
8dbae4f09c
Added @todo .
14 years ago
Vladimír Vondruš
0e08138806
Added number*Vector and number/Vector operators.
14 years ago
Vladimír Vondruš
5157abc439
Disabled original Vector div/mult for non-arithmetic types.
14 years ago
Vladimír Vondruš
a4c80d18ed
Added component-wise multiplication and division to Vector.
14 years ago
Vladimír Vondruš
125a0fa9d1
Doc++
14 years ago
Vladimír Vondruš
26d70e0eae
Added move constructor and move assignment to Mesh.
14 years ago
Vladimír Vondruš
fec65aa6f5
Ability to construct Vector from another of different type.
14 years ago
Vladimír Vondruš
dc6f29bf08
Removed old cruft from documentation.
14 years ago
Vladimír Vondruš
88d988c715
Added Type and Size members to Matrix.
14 years ago
Vladimír Vondruš
6baf9581aa
Doc++
14 years ago
Vladimír Vondruš
4d1538c0a9
Added depth function to Framebuffer.
14 years ago
Vladimír Vondruš
6407600c06
Added stencil operations to Framebuffer.
14 years ago
Vladimír Vondruš
433b43906d
Added logical operation to Framebuffer.
14 years ago
Vladimír Vondruš
3597eb5dda
Added scissor test to Framebuffer.
14 years ago
Vladimír Vondruš
8084e28363
Doc++
14 years ago
Vladimír Vondruš
a491d54ed5
Added blend operations to Framebuffer.
14 years ago
Vladimír Vondruš
ee55d8425c
Added AbstractShaderProgram::bindFragmentDataLocationIndexed().
14 years ago
Vladimír Vondruš
129b7f23a7
Fixed typos (substract -> subtract).
14 years ago
Vladimír Vondruš
5ea1f104e8
Blending is not only alpha blending.
14 years ago
Vladimír Vondruš
ae843eb595
Added set*Mask() functions to Framebuffer.
14 years ago
Vladimír Vondruš
cd8b309ce8
Added @todo .
14 years ago
Vladimír Vondruš
80cd503bbd
Reorganized Framebuffer class and grouped its members.
...
Also marked everything related to blitting as unsupported in OpenGL ES
2.0.
14 years ago
Vladimír Vondruš
0177ec8b5d
Moved swizzle() functions to root namespace.
...
They aren't much useful in Math namespace and here it allows to handle
also Color3/Color4 types. Moreover all RGBA component names were removed
from Math namespace, so it would be inconsistent to have them there only
in swizzle() functions.
14 years ago
Vladimír Vondruš
eeca90c17c
Added @todos .
14 years ago
Vladimír Vondruš
cbdff68052
Clarified signed normalized texture types, formatting fixes.
...
Signed normalization results in [-1.0, 1.0], NOT [0.0, 1.0].
14 years ago
Vladimír Vondruš
d9dff2c046
Clarified required version and extension for R/RG textures.
14 years ago
Vladimír Vondruš
51f2478b1e
More precise double Math constants.
...
Double has 15-17 significant decimal digits precision, extended
the constant to have 15 decimal digits. On the other hand, float has
only 6-9 digits, so there is no need to have more than 9.
Added just-to-be-sure test for sqrt* constants.
14 years ago