Version updates!

Started by EgonOlsen, March 28, 2010, 09:47:50 PM

Previous topic - Next topic

EgonOlsen

Update that improves performance of objects using floating point coordinates. They are coming close to those using fixed point (which is default) now.

EgonOlsen

JavaDOC has been updated as well...

EgonOlsen

Uploaded a new version with some improvements concerning memory management.

EgonOlsen

And another version with reduced memory footprint (0-1MB depending on the scene).

EgonOlsen

I've uploaded another version, but this time it's pretty experimental, which is why it doesn't replace the former one. Instead, it can be found here: http://www.jpct.net/jpct-ae/download/alpha/exp/jpct_ae.jar

Textures with alpha channels should now use less memory and i've added an option to compress textures. This affects the in-memory copy only, not the data in the gpu. You can either compress single textures or all textures in the TextureManager. The methods in both are simply named compress(). In addition, i've changed the default setting of Config.glAvoidTextureCopies to false.

If you are giving this one a try, please let me know if any problems arise.

raft

cool ;D now even without Texture.enable4bpp(true) i can go home and return back.
but there is a problem with colors. green is ok but blue seems pink.

raft


this looks like


and

looks like

EgonOlsen

Yes, i've screwed up 32 bit mode...i've updated the jar, please give the new version a try.

raft

yeap, it's working ok now, thanks ;D
just for curiosity, how do you compress the texture data?

EgonOlsen

Quote from: raft on October 20, 2010, 12:14:08 AM
yeap, it's working ok now, thanks ;D
just for curiosity, how do you compress the texture data?
The magic of zip... ;D

zammbi

QuoteThe magic of zip...
So you did my suggestion?  :)

Will these changes be added into the desktop version?

EgonOlsen

Quote from: zammbi on October 20, 2010, 11:47:07 AM
QuoteThe magic of zip...
So you did my suggestion?  :)

Will these changes be added into the desktop version?
Did i? What was that suggestion again?

zammbi

To compress non used textures in memory (If set)?

EgonOlsen

Quote from: zammbi on October 21, 2010, 12:46:22 AM
To compress non used textures in memory (If set)?
Sorry, can't remember that...i guess, i'm just getting old. Well, i don't really see a large point for the desktop version. On the desktop, you actually need the stored texture data much less than on Android with it's sucky Activity management. So you usually can get away with simply setting the option to store them to false....that's unless you are using the software renderer, but that one would need them anyway. So the only benefit would be to compress texture data that the software renderer doesn't need right now. But that would be a complete different logic than what AE does now and requires some kind of texture management component, that currently just isn't there.
In conclusion: Can you show me a situation where this is actually needed on the desktop? If so, i might reconsider adding it.

EgonOlsen

BTW: The exp-Version has been updated with a fix for spherical collision detection.