jPCT-AE - a 3d engine for Android > Support

itexture apply effect causing GC compaction on overlay

<< < (2/2)

EgonOlsen:

--- Quote from: davec64 on December 17, 2013, 12:16:12 am ---So if you like a plane with a custom character texture of say 64 characters . The same as I have done for my depth plane. but with alphanumeric's rather than textures. It would have to support transparency.

--- End quote ---
So this is all about text rendering? In that case, using an ITextureEffect is pretty inefficient (as you have noticed) and not really needed anyway. You can use a texture with all the characters in it and blit parts of if to render the text. That's much more efficient than rendering into a bitmap which will then be converted to a texture. Or, to ease things, use this: http://www.jpct.net/forum2/index.php/topic,1563.0.html

davec64:
I will try that in the morning

davec64:
Works a treat. I think I looked at that thread initially but was not sure of the implementation. the apk file was a nice touch to ensure it was what I wanted.
Dave

Navigation

[0] Message Index

[*] Previous page

Go to full version