Login  Register

Re: Improvements: API, Support, ..

Posted by Sven Gothel on Feb 10, 2014; 11:03am
URL: https://forum.jogamp.org/Improvements-API-Support-tp4031509p4031528.html

On 02/10/2014 11:26 AM, gouessej [via jogamp] wrote:
> Hi

Thank you for mention all the issues.
We have to dig through the cruft of our APIs indeed.

I have created an 'envelop bug entry'
  <https://jogamp.org/bugzilla/show_bug.cgi?id=968>

Please use it as a parent,
i.e. make your new related bug entry block bug 968.

>
> When using AWTTextureIO in the alpha version of TUER, I had to call a method
> with different arguments to get my textures flipped correctly. I still find
> that weird.
I consider AWTTextureIO inferior to TextureIO.
The latter uses our own PNG and JPEG decoder.

Hence AWTTextureIO might not properly reflect flipped states
and it seems to have a bug in this regard.
TextureIO w/ our PNG and JPEG decoder properly reflects the flipped state
and the images are decoded into GL orientation by default.

Personally I would like to simply remove AWTTextureIO,
but this might be too harsh for some AWT users ...

>
> The interface com.jogamp.opengl.util.texture.TextureData.Flusher has an
> incorrect name and its method "flush()" too. It's not just a stream, it should
> be called destroy() or dispose() as it releases the native resources. Its
> current name seems to be inconsistent with the rest of the API.
true.

>
> LEDataInputStream should allow to read strings too, like in Ardor3D. Maybe I
> can make a pull request about that.
Not familiar w/ this class - but sure, go ahead.
Pls provide at least one unit test (as always).

>
> TextureIO fails in loading TGA files, it claims this format is unsupported, I
> don't remember the exact error message. Is it the expected behavior?
Sure not. I guess our own TGA reader lacks support of 'your TGA format',
maybe some specific feature is used?.

>
> At least one developer had some troubles when trying to build JOGL with IDEA
> IntelliJ, should we support this IDE for building JOGL too?

I remember we have an old IDEA project file in JOGL.
IMHO it should just work when things (jar, source-attachements)
are configured correctly. I am personally not using it,
since it is not free software.
Sure, maybe an IDEA user can add a Wiki section to our general IDE Wiki page.

~Sven


signature.asc (894 bytes) Download Attachment