Vladimír Vondruš
8292bd3f6c
Documented building for Google Chrome Native Client.
14 years ago
Vladimír Vondruš
a74890068b
PKGBUILD-nacl: Build both 32b and 64b versions.
14 years ago
Vladimír Vondruš
e3b59b18e3
Updated toolchains submodule.
14 years ago
Vladimír Vondruš
3fd6480a1b
FindMagnum.cmake: show library path in FPHSA rather than include dir.
...
Library path will reflect various lib dir suffixes.
14 years ago
Vladimír Vondruš
4d69874c92
Updated FindCorrade.cmake from Corrade repository.
14 years ago
Vladimír Vondruš
43770ada63
Doc++
14 years ago
Vladimír Vondruš
bfe99dcf23
Default type for DimensionTraits.
14 years ago
Vladimír Vondruš
fc9ac0fe0f
SceneGraph: split FeatureGroup and AbstractGroupedFeature file.
14 years ago
Vladimír Vondruš
f7d002d06d
Debug operator for shape type.
14 years ago
Vladimír Vondruš
6efb5607fa
SceneGraph: renamed multiplyTransformation() to transform().
...
It is shorter and looks better.
14 years ago
Vladimír Vondruš
767c9d6166
SceneGraph: AbstractCamera, Camera2D, Camera3D are now in separate files.
14 years ago
Vladimír Vondruš
616c4101cb
Doc++
14 years ago
Vladimír Vondruš
e508da2b6a
Moved AspectRatioPolicy enum out of Camera class.
...
It was pain to type it with all the template parameters (`typename
AbstractCamera<dimensions, T>::AspectRatioPolicy`,
`Camera3D<>::AspectRatioPolicy::Extend`...) and it looked like it is
different for each camera template (which internally wasn't).
14 years ago
Vladimír Vondruš
9d9517c824
Vector::angle(): reflect normalization requirement in parameter names.
...
Will be more intuitive when IDE autocompletion kicks in.
14 years ago
Vladimír Vondruš
3308bcaa22
Added PKGBUILD for easy NaCl builds.
14 years ago
Vladimír Vondruš
643977abbd
Platform: support for NaCl applications.
14 years ago
Vladimír Vondruš
15f27148b7
Doc: building updates and fixes.
14 years ago
Vladimír Vondruš
9cf48eee56
Platform: removed unneeded AbstractApplication base.
...
It's really not needed to have useless class defining only one function
(which wouldn't be used everywhere anyway).
14 years ago
Vladimír Vondruš
e1cd13021b
Platform/Application renaming.
...
Because with NaCl WindowContext doesn't make sense anymore, the classes
are now renamed:
* Contexts namespace -> Platform
* *WindowContext -> Application
Hopefully this is (one of) last crazy renaming runs.
14 years ago
Vladimír Vondruš
4d3dd19b9d
Initial NaCl support.
...
* Explicitly set OpenGL ES 2.0 support.
* Provide information about NaCl target to users.
14 years ago
Vladimír Vondruš
ae9914c587
Provide information about compatibility and ES 2.0 target to users.
14 years ago
Vladimír Vondruš
5d72cdc6a6
Updated toolchains submodule with NaCl support.
14 years ago
Vladimír Vondruš
17ee1d7fd8
Shaders: portable vertex color shader (currently 2D only).
14 years ago
Vladimír Vondruš
81b69f17e1
Shaders: another iteration in porting of Phong and Flat shaders to GLES.
...
Hope the reduced precision won't hurt.
14 years ago
Vladimír Vondruš
a4d5d3682b
Doc: added page with links to valuable "best practices" information.
14 years ago
Vladimír Vondruš
2779455c5f
Moved configuration to root CMakeLists so it is near to option() calls.
14 years ago
Vladimír Vondruš
93a5e7230f
Use OpenGL ES 2.0 specific definitions for extension-only functionality.
...
If targetting explicitly OpenGL ES 2.0, only gl2.h is included (not
gl3.h).
14 years ago
Vladimír Vondruš
9ccb1869fc
Added headers for OpenGL ES 2.0.
14 years ago
Vladimír Vondruš
79e39585d3
Updated external OpenGL headers.
14 years ago
Vladimír Vondruš
45a236fb07
Temporary workaround for extension-only functionality in ES 2.0.
...
Will be re-enabled when some solution for extensions is done.
14 years ago
Vladimír Vondruš
b6b15e387f
Don't compile and install unsupported functionality if targetting ES 2.0.
14 years ago
Vladimír Vondruš
9701c8dacb
If targetting exactly ES 2.0, hide everything not available there.
...
Some target platforms supply their own OpenGL headers, thus we cannot
use our own from ES 3.0 and compilation fails.
On the other hand, this will be better for users as usage of unsupported
features will be catched right during compilation and not at runtime.
14 years ago
Vladimír Vondruš
dfccdf9b7e
Minor pedantic ordering fix.
14 years ago
Vladimír Vondruš
7c7163e17b
FindOpenGLES2.cmake: added library name for NaCl.
14 years ago
Vladimír Vondruš
67dbdd4b00
Fixed compiler warning when compiling with OpenGL ES support.
14 years ago
Vladimír Vondruš
5e648b2701
Fixed Color3/Color4 support in shader attributes.
14 years ago
Vladimír Vondruš
bef497c46a
SceneGraph rework, part 7: Drawable and Camera features.
...
* Camera is now templated also on underlying floating-point type.
* Drawable objects can be split into groups (e.g. for separated
rendering of transparent objects)
* Added (long time missing) test for draw() function.
14 years ago
Vladimír Vondruš
a65a0430d0
SceneGraph rework, part 6: base for grouped features.
14 years ago
Vladimír Vondruš
4e53b17f8d
SceneGraph rework, part 5: bulk transformation computing.
14 years ago
Vladimír Vondruš
ac38af4ef1
SceneGraph: cleanup and reorganization of Object test.
...
No functional change.
14 years ago
Vladimír Vondruš
342d2f46ac
SceneGraph: allow features to access scene and object's dirty status.
...
The downside of this is that the functions are now virtual, which makes
them slower than before. Maybe final qualifier would help?
AbstractObject::sceneObject() is marked as private in Object to avoid
confusion.
14 years ago
Vladimír Vondruš
abac1d26dc
SceneGraph rework, part 4: faster rotation for X, Y and Z axes.
...
By default implemented using rotate() so transformation implementers
don't need to bother, but MatrixTransformation3D reimplements it using
optimized rotation functions.
14 years ago
Vladimír Vondruš
06398dcf7c
SceneGraph rework, part 3: splitting base object.
...
Functionality present in Object is now split into three main components:
* Object itself, handling parent/children relationships
* Transformation implementation and interfaces for common functionality
* Object features, providing transformation caching and base for
cameras, collision shapes, rigid bodies etc.
Some functionality depending on former implementation is temporarily
disabled and will be reworked later.
14 years ago
Vladimír Vondruš
f66ded2d60
SceneGraph rework, part 2: introductional documentation.
...
To make sure we know where it all goes.
14 years ago
Vladimír Vondruš
f062f2dd86
SceneGraph rework, part 1: removed Light object.
...
It's nearly useless and doesn't contain any useful code. Will be done
differently.
14 years ago
Vladimír Vondruš
89bf91c487
Use full template name when accessing parent class.
14 years ago
Vladimír Vondruš
9459d4c6a1
Using isVersionSupported() instead of plain comparison.
...
It is more descriptive and easier to fix/modify when it is in one place.
14 years ago
Vladimír Vondruš
e4a6832eab
Accidentaly forgot commented-out code.
14 years ago
Vladimír Vondruš
6dc27374a4
Assert when creating Shader with unsupported version.
14 years ago
Vladimír Vondruš
b9fbbb117b
Don't use constexpr here.
...
* The class has std::vector in it.
* The class has virtual destructor.
14 years ago