Convert Wind app to the stretch-less API.
A lot of changes.
1) main vertex shader: remove support for degree_object. This functionality will hopefully come back when we introduce other than circular regions.2) MeshBase: remove the need to set a Bounding box (this is the point of the whole thing - we wanted to get rid of this so that the advances in MeshJoined will be easier)...
Fixes for the merge.
Merge branch 'empty-matrix-effects-in-the-center' into modern-empty-matrix-effects-in-the-center
Move the Effects.setStretch to Meshbase.setStretch
Move the 'pre-multiply mesh before applying any effects' thing from [(Xsize of texture, Ysize of texture) x Mesh's zFactor] to Effects.setStretch(sx,sy,sz)
Invert the order of Matrix Effects. Now, just as in the other queues, the first matrix effect is actually the first to act on the object - not the other way around!
Correct the Legal notice.
Rename all the classes that are not exported to application to 'Internal'
Fix several more apps for the 'center-of-matrix-effects-in-screen-center' change.
Some improvements to the Wind app - still does not look very realistic though :(
Massive: make the coordinate system agree with that of OpenGL (i.e. invert the Y axis).
Fully move the Meshes to their own package.
Move all the knowledge about Vertex and Fragment effects to their respective classes.
Change of API: move setting the EGL context back to the APP.
Further progress with Apps: 27 (out of 31) compile now.
Progress with support for Effect classes.
Change of API in anticipation for MeshCubes of any depth (currently only 0 and 1 work)
Simplify setting up DistortedScreen.
Revert "Progress with the last 2 Apps: Effects3D and Wind (not done yet)"
This reverts commit 752c6b57bb227292e6c28438b955fcb892f7acc6.
Progress with the last 2 Apps: Effects3D and Wind (not done yet)
New 'glClearColor' and 'glClearDepthf' APIs in OutputSurface. This fixes the 'transparency' regressions from last commit.
Speed up shaders (both compilation and execution) by explicitly enabling only the needed effects.
Change the the render() API!
THis introduces some regressions with the Effects3D app.
Major: change of API.
Split DFramebuffer into Framebuffer and Screen; introduce the 'DistortedInputSurface' and 'DistortedOutputSurface' interfaces.
Try using OpenGL ES 3.0 everywhere (but if device does not support it, try creating 2.0 context - this is important because of the emulator!)
Rename Grid to Mesh
New DistortedProgram class.
Again change of API. Now instead of the 'DistortedEffects.draw() and DistortedTree.draw()' we have 'DistortedFramebuffer.renderTo()'
Change of names.
Change in the API: we always have to create a DistortedFramebuffer to render to.
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.
Beginnings of split of DistortedObject into two separate classes: DistortedEffectQueues and DistortedTexture.
Still does not compile, but pushing already.
Rename various classes; fix a bug in Around the World.
Major change in API: separate the GRID from DistortedObject; completely remove classes derived from DistortedObject.
Minor stuff
Minor details
Progress with Wind
Progress with 'Wind'
Beginnings of the 'Wind' app.