Bug 1452 - Decouple math functionality to 'com.jogamp.math' to be toolkit agnostic
Summary: Decouple math functionality to 'com.jogamp.math' to be toolkit agnostic
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2.6.0
Hardware: All all
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2023-09-20 19:50 CEST by Sven Gothel
Modified: 2023-09-24 01:06 CEST (History)
1 user (show)

See Also:
Type: FEATURE
SCM Refs:
jogl 5d6e8a367c03644740187e500c6de5d3ac039d5e jogl cbb0035b5c5df6eada04e38a3478091cca0fe9c5 jogl 0110b2970935040aac5ee0bfa8757982c092b939 jogl 6c97c5fa201d221a37773db54994d27e34ba86c3
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2023-09-20 19:50:15 CEST
Math functionality (PMVMatrix, Matrix4f, Vec4f, ..)
- shall be used toolkit agnostic, e.g. independent from OpenGL
- shall be reused within our upcoming Vulkan implementation
- may also move outside of JOGL, i.e. GlueGen or within its own package to be reused for other purposed.

The 'com.jogamp.opengl.util.PMVMatrix' currently also used to feed in GLUniformData
via the toolkit agnostic SyncAction and SyncBuffer
shall also be split to a toolkit agnostic variant.

An OpenGL PMVMatrix specialization implementing GLMatrixFunc can still exist,
being derived from the toolkit agnostic base implementation.
Comment 1 Sven Gothel 2023-09-20 20:16:12 CEST
jogl commit 5d6e8a367c03644740187e500c6de5d3ac039d5e

Initial commit .. compile clean, passing most unit tests
Comment 2 Sven Gothel 2023-09-24 01:06:45 CEST
Jogl part is complete.