Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Texture atlas in Dark GDK

Author
Message
MrBiin
15
Years of Service
User Offline
Joined: 30th May 2009
Location:
Posted: 17th Jun 2009 15:14
Hello. Is Dark GDK creating textures atlas from all loaded sprites, or i need to make texture atlas myself for a speed reduce?

p.s. sorry for my bad english )
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 18th Jun 2009 21:14 Edited at: 18th Jun 2009 22:14
No, it is not automatically created. At least, not in a visible form for the user. I don't know if any such optimization tricks are used inside the engine.

**EDIT: I just found this in the thread which lists updates in the next version of DB Pro:

"Rewrite of sprite rendering process to group sprites with common priority and textures together to enhance the speed of rendering."

Since DBP and the GDK engine have a lot in common, the engine probably does have optimization, or will have it in the near future.
MrBiin
15
Years of Service
User Offline
Joined: 30th May 2009
Location:
Posted: 18th Jun 2009 23:55
Thank you! I tried to make atlas and loaded sprites "as is". Texture atlas much faster ).

Ok, u will find a texture atlas realisation in the wrapper for Magic Particles which will released soon...

Login to post a reply

Server time is: 2024-11-25 08:33:29
Your offset time is: 2024-11-25 08:33:29