Project

General

Profile

Statistics
| Branch: | Revision:

library / src / main / java / org / distorted / library / mesh @ 81433569

Name Size
DeferredJobs.java 12.9 KB
MeshBase.java 46.9 KB
MeshCubes.java 34.3 KB
MeshFile.java 3.32 KB
MeshJoined.java 3.05 KB
MeshPolygon.java 12.2 KB
MeshQuad.java 4.18 KB
MeshSphere.java 12.7 KB
MeshSquare.java 9.58 KB
MeshTriangle.java 5.58 KB

Latest revisions

# Date Author Comment
81433569 04/09/2022 12:59 PM Leszek Koltunski

Fix for an invalid enum.

4ba0d1df 04/09/2022 01:31 AM Leszek Koltunski

New debug to print a whole component of a mesh.

c2032d8c 02/13/2022 03:43 PM Leszek Koltunski

Preparation for drawing only the FRONT side of the cubit walls.

73bcf555 12/16/2021 11:38 PM Leszek Koltunski

Correct the glBufferData's usage argument: in UBO and VBO cases, it should be GL_STATIC_DRAW.

fa640198 10/28/2021 04:48 PM Leszek Koltunski

Add to MeshPolygon a special modee to create a 2-band polygon with dense corners (needed to reduce number of vertices in side faces of the TwisttyPuzzle cubits)

f4a2d97e 10/28/2021 01:06 PM Leszek Koltunski

Add testing of MeshPolygon to the MeshFile app.

06ed13b5 10/08/2021 05:53 PM Leszek Koltunski

New API: set components centers of all components all in one go.

ba70e7c9 10/06/2021 05:54 PM Leszek Koltunski

Mesh creation: finished.

8d98b65f 10/03/2021 12:40 AM Leszek Koltunski

Move destroying most of statics from onDestroy() earlier, to onPause().

Reason: doing this in onDestroy() is too late, because when we have two activities, and switch between them, first the ending's Activity onPause() is called, then the starting Activity's onResume, then it's onSurfaceCreated(), then we insert all the effects, and only then the ending Activity onDestroy() gets fired off - and this might destroy the already enabled effects, like for example the Programs of the Postprocessing effects.

0b732630 08/17/2021 05:30 PM Leszek Koltunski

Convert the Ivy corner cubit to the new, 'universal' cubit creation method.

This forces deep changes to 'createRoundSolid' and the underlying 'MeshPolygon' class to make them support arbitrary Polygon 'centers of face convexity'.

Reason: the faces of this cubit are concave and such default 'center of face convexity' (which by default used to be (0,0)) turned to lie outside the face - which produces strange visual artifacts.

View revisions

Also available in: Atom