ecere:texCompressed

Last commit made on 2022-01-25
Get this branch:
git clone -b texCompressed https://git.launchpad.net/ecere

Branch merges

Branch information

Name:
texCompressed
Repository:
lp:ecere

Recent commits

48382d4... by Jerome St-Louis

ecere/gfx/Display(3D): (TEST) Discarding far away and heavy meshes

5a88997... by Jerome St-Louis

ecere/gfx/drivers/GL: Automatically flushing matrices before switching shaders
- Matrix stacks get mixed up otherwise resulting in confusion

f298ea9... by Jerome St-Louis

ecere/gfx/3D: Proper implementation of Painter's algorithm for sorting translucent primitives
- First, primitives are sorted by their mid point Z coordinates. If `maxFullSort` is set to 0, the sorting is done, otherwise the full sorting proceeds.
- The default value for `maxFullSort` is 3000, fully sorting the 3000 primitives closest to the camera.
- Further comparisons have no total order, therefore a topological sort must be used.
- An XY overlap test (in normalized screen coordinates) uses a MinMax tree to quickly locate overlapping polygon pairs on which further tests must be performed.
- The next check performed is whether all points of either primitive fall completely on the other side of the other primitive's plane compared to the camera, therefore one could never obscure the other.
- A Z overlap check is then performed to see if one primitive could possibly obscur the other.
- If `fullProjCheck` is set to true, a full check is done to see if either primitive obscurs the other once projected.
- The full projection check determines whether one primitive intersects the tetrahedron formed by the camera and the points of a triangle being obscured.
- Using new corrected Matrix::InverseTransposeTransform() method to compute full inverse transpose matrix and doing full plane transform with Plane::MultMatrix().
- This should correctly handle most cases except intersecting and cyclic overlaps.

e851001... by Jerome St-Louis

ecere/gfx/Display: Making allocated buffers members rather than static variables
- This solves GL errors when displays are re-created, e.g. switching fullscreen in samples/3D/walkAround

b59cd17... by Jerome St-Louis

ecere/gfx/Bitmap: Allowing textures with mipmap to differ by more than 2
- To review...

8812a84... by Jerome St-Louis

ecere/gfx/3D/models/E3D: Fixed setting material constantColor/update flags

34fbf97... by Jerome St-Louis

ecere/gfx/default.frag: Fixed translucency with separate specular

87f7198... by Jerome St-Louis

samples/3D: updated to keep material update flags

e1a2c14... by Jerome St-Louis

extras/threadedProcessing: New processAndWait() to wait and process
- Also wait for active tasks as well in wait()

484b9ff... by Jerome St-Louis

compiler; bgen: Fixed warnings building tarball