M3G Chapter 6.   Readers Comments

 

Slowness and Another Approach

Abuse (16th August 2005) wrote at the Java Games Forum:

I had a go with doing this a while back.

I found it was very slow on a lot of the handsets out there, presumably because writing to texture memory isn't as fast as main memory.

Incidentally, depending on what you are using the technique for, you can avoid doing quite so much memory copying by doing an Image2D.set(...) to clear to transparent, bind a Graphics3D to the Image2D, and then perform the rendering with a parallel projection and Sprite3D.

You can obviously do more funky stuff too - rendering a 3D scene to a texture for example. (for imposter rendering)



Navigation:


Dr. Andrew Davison
E-mail: ad@fivedots.coe.psu.ac.th
Back to my home page