Monday, September 6, 2010

[android-developers] Reading precomputed vertex arrays in application?

My app has large vertex arrays that are pre-computed before I even
build the app for distribution. I'd like to store these in assets
(recognizing the size limits of asset files) and read them in with
minimal computation.

Can I store them in binary, and just read them into an NIO buffer, and
then wrap it for GL, or do I have to go through the whole compute
intensive (?) process of reading it in, making a byte array, and
converting that to an integer (in this case) array?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate