Thanks and question on Version 2.4.0 not on maven central

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Thanks and question on Version 2.4.0 not on maven central

Corentin Berthelot
Hello everyone,

First of all, I would start to thanks Mr Gothel for the quality of this work during the years. I used a few years back the jogamp library and that was very robust and a real pleasure to manipulate in the Java object spirit.

Now, I have some overtime on my own and I am a little bit nostalgic of 3D. So I want to build a little engine to, in a first time, visualize glTf model. And of course, I want to use le jogamp librarys.

I wanted to be up to date, in maven project, but it seems than the last version (2.4.0) is not uploaded on the maven central. Would be possible to have it on maven central?

Have a nice day,
Best Regards,
Corentin Berthelot
Reply | Threaded
Open this post in threaded view
|

Re: Thanks and question on Version 2.4.0 not on maven central

Sven Gothel
Administrator
If anybody is willing to lead me through the process, I will.
We had a long discussion .. for now we deploy here on jogamp.

FYI ..
- RC https://jogamp.org/deployment/archive/rc/v2.5.0-rc-20230521/
  - Maven v2.5.0-rc-20230521 @ http://www.jogamp.org/deployment/maven/

Have a look at jogl-demos maven/trivial-test describing how to use our maven
https://jogamp.org/cgit/jogl-demos.git/tree/maven/trivial-test
https://forum.jogamp.org/Release-2-5-0-tp4042507p4042620.html
Reply | Threaded
Open this post in threaded view
|

Re: Thanks and question on Version 2.4.0 not on maven central

Corentin Berthelot
Thanks,
I add the repository section and change my versions library in my pom and it worked.

Have a nice day,
Best Regards
Reply | Threaded
Open this post in threaded view
|

Re: Thanks and question on Version 2.4.0 not on maven central

gouessej
Administrator
In reply to this post by Corentin Berthelot
Hello

Corentin Berthelot wrote
Now, I have some overtime on my own and I am a little bit nostalgic of 3D. So I want to build a little engine to, in a first time, visualize glTf model. And of course, I want to use le jogamp librarys.
Maybe this can help if you don't want to reinvent the wheel:
https://github.com/javagl/JglTF/tree/master/jgltf-viewer-jogl/src/main/java/de/javagl/jgltf/viewer/jogl

Corentin Berthelot wrote
I wanted to be up to date, in maven project, but it seems than the last version (2.4.0) is not uploaded on the maven central. Would be possible to have it on maven central?
By the way, knowing how to get libraries from Maven repositories outside of Maven Central is very useful and necessary to use Jitpack for example. Sven's very simple example is excellent, I'll spend some time in ensuring that our wiki explains how to use Maven to get JogAmp because JOGL was available on Maven Central from the version 2.0 RC11 to JOGL 2.3.2, our wiki doesn't mention the new mandatory step to get our libraries.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Thanks and question on Version 2.4.0 not on maven central

Corentin Berthelot
Hello Gouessej,

Thanks for the link, I will look into this library.

I am currently fighting to have a decent simpliest code in OpenGL 4 in JOGL (loading shader, buffer and rendering). After that I will structure my rendering engine and play with it. And then after, I will try to link with gltf format.

Best Regards
Reply | Threaded
Open this post in threaded view
|

Re: Thanks and question on Version 2.4.0 not on maven central

gouessej
Administrator
You're welcome. Xerxes wrote a nice and documented example:
https://jogamp.org/cgit/jogl-demos.git/tree/src/demos/es2/RawGL2ES2demo.java?id=HEAD

I've updated the wiki to avoid some confusion.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Thanks and question on Version 2.4.0 not on maven central

Sven Gothel
Administrator
FWIW .. I added a fully fledged shader 'runtime editor' to JOGL,
which also resolves the differences between ES and desktop, i.e. shader versions.

See example demo: https://jogamp.org/cgit/jogl.git/tree/src/demos/com/jogamp/opengl/demos/es2/RedSquareES2.java#n110

API: https://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/index.html?com/jogamp/opengl/util/glsl/package-summary.html

E.g. for our ffmpeg media player, ShaderCode helps to edit the shader code
which maps video-pixel-format to RGBA :)

The ShaderState is also used in Graph and our own little FixedFunction pipeline implementation.

May it inspire

Reply | Threaded
Open this post in threaded view
|

Re: Thanks and question on Version 2.4.0 not on maven central

Sven Gothel
Administrator
In reply to this post by gouessej