Project

General

Profile

Statistics
| Branch: | Revision:

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

# Date Author Comment
c0067c95 05/28/2025 11:24 AM Leszek Koltunski

minor

3bc73279 05/28/2025 10:12 AM Leszek Koltunski

minor

6c3259ce 05/28/2025 08:44 AM Leszek Koltunski

make it possible to compile distorted-examples with both master and kotlin-transition branches.

aa5d6273 05/23/2025 02:37 PM Leszek Koltunski

fixes

98bfe573 05/23/2025 02:08 PM Leszek Koltunski

fixes for MeshBase

0e12ca44 05/23/2025 10:41 AM Leszek Koltunski

fixes for distorted-examples

5c149b50 05/23/2025 10:20 AM Leszek Koltunski

minor

a5a3b341 05/21/2025 10:03 PM Leszek Koltunski

transition of the mesh package.
Compiles, but does not work.

6a02a170 05/21/2025 01:08 PM Leszek Koltunski

Kotlin nonNulls: fixes

13ae356d 05/02/2025 02:41 PM Leszek Koltunski

transition the 'mesh' package.

7b925f23 05/02/2025 02:20 PM Leszek Koltunski

transition the 'mesh' package.

026856ec 04/30/2025 04:30 PM Leszek Koltunski

progress with the 'mesh' package.

033e8feb 04/28/2025 04:01 PM Leszek Koltunski

begin to migrate the 'mesh' package.

94690c11 04/28/2025 04:01 PM Leszek Koltunski

Rename .java to .kt

89cacceb 04/14/2025 06:03 PM Leszek Koltunski

minor

76e5897b 01/08/2025 02:30 PM Leszek Koltunski

replace all andoird logging with System.out.println

6d4cbfdf 12/20/2024 12:06 AM Leszek Koltunski

Bugfix with UniformBlockAssociation

8a6898dc 12/18/2024 10:14 PM Leszek Koltunski

Make it possible to apply Postprocessing effects to only an arbitrary subset of components.

f01ab878 12/12/2024 01:59 PM Leszek Koltunski

bugfix in the Library:
Before, the mapping of the attributes in various shaders to the MeshBase.bindVertexAttribs() was shaky.
In fact incorrect in case of the Preprocess program. Improve that!

0fb3f8b8 03/20/2024 12:08 PM Leszek Koltunski

Lint

93718f1b 03/17/2024 01:50 PM Leszek Koltunski

Important bugfix for the shape of concave cubit walls!

08902d53 11/24/2023 01:25 PM Leszek Koltunski

Bump Jing works now.

3273dce2 09/18/2023 04:40 PM Leszek Koltunski

fix the 'holes in textures' problem.

b379da66 09/18/2023 12:11 AM Leszek Koltunski

fix the 'band' problem in the TwistyBandagedMegaminx.

bc6adbb5 08/02/2023 12:20 AM Leszek Koltunski

also change the fullVertices to the same format

1ce7e2f6 08/01/2023 11:38 PM Leszek Koltunski

change the way the coordinates of stickers are kept from float[2*N] to float[N][2]

efcbfe8e 08/01/2023 07:37 PM Leszek Koltunski

minor

9ee850c5 08/01/2023 07:36 PM Leszek Koltunski

Major progress with supporting cubit faces with holes.

1ad1c158 07/21/2023 11:19 PM Leszek Koltunski

Initial support for scrambling a bandaged pyraminx.

f835cc50 07/18/2023 11:44 PM Leszek Koltunski

Improve MeshMultigon (for the BandagedPyraminx case!)

898ff658 07/14/2023 01:26 AM Leszek Koltunski

another bugfix for MeshMultigon.

21be940a 07/14/2023 12:46 AM Leszek Koltunski

bugfix for a crasher

45b73b1a 07/12/2023 12:25 PM Leszek Koltunski

Bugfix in MeshMultigon.

5ffb290c 06/28/2023 12:00 AM Leszek Koltunski

remove commented out code

e529379e 06/27/2023 11:56 PM Leszek Koltunski

We no longer need to support 'edgesUp' in MeshPolygons.

ef4a9bab 06/27/2023 10:22 PM Leszek Koltunski

Fixes for MeshMultigon. Perfect!

46ef24e5 06/27/2023 03:07 PM Leszek Koltunski

Implement MeshMultigon out of BandedTriangles (doesn't work yet)

f19d533d 06/27/2023 01:16 AM Leszek Koltunski

MeshBandedTriangle implemented

33dbf30b 06/26/2023 01:00 PM Leszek Koltunski

MeshBandedTriangle

1b5358fb 06/20/2023 10:05 PM Leszek Koltunski

Comment.

1bea4e18 06/20/2023 05:55 PM Leszek Koltunski

correct face shapes (post-new MeshPolygon normal computation)

fd527acd 06/18/2023 10:22 PM Leszek Koltunski

improve MeshPolygon. Now Multigon's meshes are close to perfect.

d45273cd 06/18/2023 12:26 AM Leszek Koltunski

Multigon testing app

a60f7acf 06/15/2023 03:25 PM Leszek Koltunski

MeshMultigon finished.

fceaa116 06/12/2023 04:27 PM Leszek Koltunski

Progress with MeshMultigon. Still auto-computation of 'up' edges does not work.

b1bfcdc7 06/12/2023 02:48 PM Leszek Koltunski

Beginnings of MeshMultigon (does not work yet)

d3287c14 06/12/2023 10:17 AM Leszek Koltunski

MeshPolygon: support for an arbitrary subset of edges being 'up' (i.e. buildup to MeshMultigon)

724f67ee 06/09/2023 12:59 PM Leszek Koltunski

MeshPolygon: fix the normals.

82b62e04 06/09/2023 10:05 AM Leszek Koltunski

one more fix for displaying normals.

b2913a86 06/08/2023 05:41 PM Leszek Koltunski

build for API 34.

d1fa4e16 05/10/2023 04:08 PM Leszek Koltunski

Make the touchable part of the 'coin' in the CoinTetrahedroon a bit smaller.

8c57d77b 03/31/2023 05:24 PM Leszek Koltunski

Decouple (to a large degree) the OpenGL Library from Android.

e4577791 01/09/2023 01:41 PM Leszek Koltunski

fix detection of not used attributes.

ae71f169 12/22/2022 12:57 AM Leszek Koltunski

Finally fix the reason foor 'incorrect vertex attribute' message spamming the Log of the Emulator.

c4d06f90 07/15/2022 01:44 AM Leszek Koltunski

license

51b92d1c 07/02/2022 01:41 PM Leszek Koltunski

fix for a crasher.

35c5f53b 06/18/2022 11:59 PM Leszek Koltunski

A few code improvements.

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.

7958d843 04/23/2021 10:13 PM Leszek Koltunski

MeshBase's 'MAX_NUM_COMPONENTS' is not a constant - rename!

5413c8cc 04/14/2021 04:00 PM Leszek Koltunski

Convert the first object, the Cube, to the new Cubit-creating engine.

c0477f7f 04/10/2021 05:45 PM Leszek Koltunski

Face cubit creation: progress: rounded corners

2d732361 04/09/2021 03:00 PM Leszek Koltunski

Face cubit creation: progress, a cube renders correctly :)

073e5a7a 03/12/2021 10:33 PM Leszek Koltunski

Another attempt at fixing tthings on early Qualcomm OpenGL ES 3.0 drivers.

The previous version does not work on Adreno 405 driver V@100, present for example in a Asus ZenPad 8.
Revert the packed 'ivec2' UBO in the vertex shader back to a 'std140' ivec4. This comes at a price if bumping into the bug on Qualcomm driver version 331 on Adreno 308 - i.e. Samsung Galaxy J4+ again....

fc3b9f16 03/07/2021 10:53 PM Leszek Koltunski

Correct a comment for Javadoc.

ccb4c899 03/07/2021 10:51 PM Leszek Koltunski

Add new comments for Javadoc.

80961fc1 02/24/2021 11:12 PM Leszek Koltunski

Make the 'Component Associations' UBO (on most devices) twice smaller -
use the 'packed' layout and 'ivec2' in place of 'ivec4'.

This forces us to dynamically probe the 'Stride' - number of 4-byte entities that the UBO's 'ivec4' takes - and correct the already-constructed UniformBlockAssociation objects in case this turns out to be different than the expected 2, i.e. tightly-packed....

46d463a4 02/24/2021 09:40 AM Leszek Koltunski

Make per-component centers optional, controlled by API MeshBase.setUseCenters()

97b6c85e 02/23/2021 09:54 PM Leszek Koltunski

Bugfixes as a result of the Samsung Galaxy J4+ investigation:

1) By default, switch off transform feedback in the main program.
Create a new API 'needTransformFeedback()' to call if someone still needs TF in the main program.
2) lower the default max number of vertex effects to 30....

2acab35b 01/27/2021 01:56 PM Leszek Koltunski

Progress with Megaminx.

de77a6c5 01/09/2021 11:49 PM Leszek Koltunski

Introduce another Uniform Block Object. Now we can have much more vertex and fragment effects - up their default number to 100.

8b36dabf 01/08/2021 01:18 AM Leszek Koltunski

Plug a major memory leak.
Still one more leak remains - a similar UniformBuffer has to be markedForDeletion in the EffectQueues.

78ff6ea9 01/07/2021 04:08 PM Leszek Koltunski

Convert the Integer part (i.e. effect names and the two associations) of vertex and fragment shaders to Uniform Buffer Objects.
Next: convert the last part, i.e. the float effect parameters.

c8484d73 12/11/2020 09:25 PM Leszek Koltunski

Fixes for the Rex Cube (mostly works now)

728a7820 11/25/2020 09:19 AM Leszek Koltunski

Fix the fact that we would keep adding new InternalBuffers to the 'Done' list - split 'invalidate()' and 'recreate()' to two separate actions!

87a48d8e 10/16/2020 11:23 PM Leszek Koltunski

Improve the Skewb; set max components to 110 in MeshBase so that all of Professor Skewb's components fit.

92403ff8 10/14/2020 08:24 AM Leszek Koltunski

Do not crash if we try to map a texture component out of range.

c92c163c 10/06/2020 10:08 PM Leszek Koltunski

New API for the library: add an empty texture component to a Mesh.
Use this in thr Magic Cube to add empty texture components to some types of cubits.

8b082b9f 09/14/2020 10:10 AM Leszek Koltunski

Comment.

45b08c37 09/13/2020 12:35 AM Leszek Koltunski

Minor.

d456b075 09/08/2020 06:03 PM Leszek Koltunski

Add an extra option to MeshPolygon: making triangles located around the vertices of the polygon smaller.

eeb5d115 08/29/2020 01:25 PM Leszek Koltunski

Progress with MeshPolygon.

ac6a08e7 08/28/2020 02:56 PM Leszek Koltunski

Progress with MeshPolygon.

b948df7a 08/28/2020 12:37 AM Leszek Koltunski

Rename Meshes.

808ef3aa 08/28/2020 12:36 AM Leszek Koltunski

First attempt at new mesh - Polygon. Unfinished (normal vector!), untested

9f9924f8 08/26/2020 03:36 PM Leszek Koltunski

Remove the 'binding' parameter from the UBO in the vertex shader - this is not part of OpenGL ES 3.0, only introduced in 3.1, and we want to be compatible with 3.0.
Now we need to dynamically detect the UBO index and form a BlockBinding ourselves.

7a9edb92 08/26/2020 12:24 AM Leszek Koltunski

Add component centers to dmesh version 2.

a2878a67 08/25/2020 04:39 PM Leszek Koltunski

Remove the 'inflate' vertex attributs from the Mesh and file format, and replace that with a per-component 'inflate centers' (which are as of yet untested)

41b3ada0 08/23/2020 11:25 AM Leszek Koltunski

Simplify AssociationUniformBlock

6b234228 08/21/2020 11:27 AM Leszek Koltunski

Merge branch 'effects-ubo'

  1. Conflicts:
  2. src/main/java/org/distorted/library/mesh/AssociationUniformBlock.java
b187afac 08/21/2020 12:05 AM Leszek Koltunski

Bugfixes.

96e3b88a 08/20/2020 11:29 PM Leszek Koltunski

Introducing UBO to Effect Queues: step 1.