Project

General

Profile

Download (32.8 KB) Statistics
| Branch: | Revision:

library / src / main / java / org / distorted / library / mesh / MeshBase.java @ 96877ab4

# Date Author Comment
96877ab4 06/06/2020 11:28 PM Leszek Koltunski

Begin porting RubikCube to the new SingleMesh library. This will make rendering much faster - e.g. in case of Cube 5, instead of 98 renders of individual Cubits, there will be one render of the whole Mesh.

dbe3079d 06/06/2020 09:31 PM Leszek Koltunski

Extend the MeshBase.setTextureMaps API so that we are able to set a single texture map to a single texture component, or a few consecutive at a time, not necessarily starting from component 0.

26671ef8 06/06/2020 12:17 AM Leszek Koltunski

Library: make setEffectAssociation a deferred job (because we do copy the uniforms during join!)
SingleMesh App: almost finished.

f45e4279 06/05/2020 12:34 PM Leszek Koltunski

Progres with SingleMesh; bugfix in MeshBase.apply(Matrix)

e8925fcd 06/04/2020 11:34 PM Leszek Koltunski

Big change to MeshBase:
1) split the list of Components into two: 'texture map' components and 'effect' components.
Reason: imagine the Rubik Cube with a Solver. When setting up a initial position in the Solver, we need to be able to set texture maps of each individual face of each cubit....

2aeb75aa 06/03/2020 08:25 PM Leszek Koltunski

Update Myanmar flag.

1fad573e 06/01/2020 10:40 PM Leszek Koltunski

DeferredJobs app/lib works now

a8dfedcc 05/31/2020 05:39 PM Leszek Koltunski

Progress with DeferredJobs (apply, copy, merge & join should be working now - untested)

f4c5a46e 05/30/2020 11:55 PM Leszek Koltunski

1. New icon for PreDeform app
2. Library: advances with DeferredMeshJobs

71d8aba1 05/30/2020 08:07 PM Leszek Koltunski

Bugfix ( Mesh shallow copy wasn't working )

07206c71 05/30/2020 06:44 PM Leszek Koltunski

First attempt at Deferred Mesh Jobs.
Only apply(VertexEffect) supported for now.

aee078f8 05/30/2020 12:16 AM Leszek Koltunski

Correct VertexEffectQueue in the Mesh. There's no need to have a separate Queue in every component.

c52ddff8 05/29/2020 06:24 PM Leszek Koltunski

Preparation for saving/reading Meshes to/from a file.

36d65d88 05/29/2020 03:48 PM Leszek Koltunski

Progress making it possible to apply Vertex Effects only to some Components of a Mesh.

4f81e0c8 05/24/2020 09:03 PM Leszek Koltunski

In library: allow a mixture of a deep and shallow copy of a Mesh ( mVertAttribs1 might be copied deeply or shallowly, mVertAttribs2 are always copied deeeply).
Port RubikCube to the new library.

c1ffdea8 05/23/2020 06:53 PM Leszek Koltunski

Some progress with 'MeshJoin' app.

1e672c1d 05/23/2020 12:50 PM Leszek Koltunski

Change 'tag' to a more appropriate name - 'association'.

bc208a9c 05/23/2020 10:30 AM Leszek Koltunski

Introduce 'tags' (soon to be renamed to 'associations') to Mesh and VertexEffect.
A 'tag' is a way to associate a Vertex Effect only to a subgroup of a given Mesh's vertices (more precisely, only to an arbitrary subset of its Components)

e54bfada 05/20/2020 02:43 PM Leszek Koltunski

Have VERTEX_QUATERNION, VERTEX_ROTATE and VERTEX_SHEAR modify inflate vectors.
Split Vertex attribute array into two (the one modified by preapply effects and the one not)

ceed2df6 05/20/2020 11:05 AM Leszek Koltunski

Change abortAll to removeAll in effectQueues (for consistency)
Remove all pre-effects from the component queues when they are not used anymore.

667884b0 05/19/2020 08:01 PM Leszek Koltunski

Speedup for preapply

342a6773 05/19/2020 03:08 PM Leszek Koltunski

1 more fix for MeshBase.apply(VertexEffect). This still does not (fully) work though.

b5be333a 05/19/2020 02:43 PM Leszek Koltunski

3 fixes for MeshBase.apply(VertexEffect).
This still does not work though.

cbd502ec 05/18/2020 09:22 PM Leszek Koltunski

Progress with the Predeform app; deepCopy for the Meshes; various fixes.

f046b159 05/16/2020 07:54 PM Leszek Koltunski

First attempt at the MeshBase.apply(VertexEffect) API.

277eddbb 05/08/2020 11:03 PM Leszek Koltunski

Remove the MeshBase.{set/get}Stretch API altogether.

0f10a0b6 05/03/2020 11:26 PM Leszek Koltunski

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)...

b7074bc6 04/13/2020 10:31 AM Leszek Koltunski

Lower requirements - now only OpenGL ES 3.0 is required; if running on such platform, OIT part of the API ( which is the only one which actually requires 3.1) is switched off.

e172985c 04/06/2020 10:18 PM Leszek Koltunski

Progress implementing RubikCube.retObjectString()

7e53a35f 04/05/2020 06:39 PM Leszek Koltunski

Bugfixes in MeshBase:

1) improper buffer was being invalidated after apply and setTextureMap (TFO rather than VBO!)
2) setTextureMap would only work if all components were being set

d917f059 04/05/2020 02:10 PM Leszek Koltunski

More support for the 3x3x3 Solver: more of the actual 3x3x3 solver mechanism.

e7f85322 03/06/2020 04:50 PM Leszek Koltunski

Progress with of Pyraminx.
Bugfix for joining a single Mesh!

a3a05347 03/05/2020 11:40 AM Leszek Koltunski

Improve setTextureMap.

de53cf3e 03/05/2020 12:39 AM Leszek Koltunski

Make MeshBase.setTextureMap() work.

22e60fba 03/04/2020 08:58 PM Leszek Koltunski

Fix MeshBase.join()
Only upload Mesh Buffers to GPU when we actually use them.

0d4aae88 03/04/2020 12:13 AM Leszek Koltunski

New MeshJoined.
Test app says it's not working - bug in MeshBase.join().

23b733db 03/03/2020 10:31 PM Leszek Koltunski

Further corrections.

571aa3fa 03/03/2020 11:43 AM Leszek Koltunski

Convert Projection to not use the depreciated MeshBase.setStretch() API.

1b059065 03/03/2020 10:03 AM Leszek Koltunski

Correct the Rubik app for the recent changes to the library's Node.

7594a5d2 02/28/2020 09:27 PM Leszek Koltunski

Fix for MeshBase.apply()

ea88d502 02/28/2020 12:19 AM Leszek Koltunski

New API: MeshBase.join() and a skeleton of an App to test it.

9099e567 02/27/2020 09:47 PM Leszek Koltunski

New Mesh 'Triangles' and updated Inflate & Generic apps to test it.

044b5494 02/26/2020 10:23 PM Leszek Koltunski

Move the Effects.setStretch to Meshbase.setStretch

c90aca24 02/26/2020 03:52 PM Leszek Koltunski

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)

fa8bc998 02/24/2020 04:31 PM Leszek Koltunski

New API MeshBase.apply(MatrixEffect[])

46b572b5 05/03/2019 10:46 PM Leszek Koltunski

Correct the Legal notice.

7602a827 05/02/2019 10:41 PM Leszek Koltunski

Rename all the classes that are not exported to application to 'Internal'

e5ba319d 12/14/2018 04:50 PM Leszek Koltunski

- new icon for the GLOW app
- rename the BitmapTree app to ObjectTree

7a5e538a 11/30/2018 02:28 PM Leszek Koltunski

Progress with Inflate (building block of postprocessing effects: the proper way of marking a halo around a Mesh)
'Inflate' app testing the machanism. MeshFlat appears to be working, now we only need to fill up the per-vertex Inflate vector in the MeshCubes.

227b9bca 11/27/2018 12:34 AM Leszek Koltunski

Minor simplifications in Mesh.

6f2d931d 11/26/2018 10:31 PM Leszek Koltunski

Added a new attribute to vertices of a MeshBase object: the vec3 'inflate' vector.
This vector describes the direction where the vertex needs to be moved when we 'inflate' the whole mesh.
If the mesh is locally smooth, this is simply the normal vector; otherwise (for example in the corners of the MeshCubes) - not....

da681e7e 11/26/2018 09:21 PM Leszek Koltunski

Some simplifications in Meshes. Hide stuff inside MeshBase.

e92785ba 11/21/2018 11:26 AM Leszek Koltunski

Small things.

715e7726 11/21/2018 11:00 AM Leszek Koltunski

Rename MeshObject to MeshBase.