Re: [android-developers] OpenGL ES 2 translation
You can modify your vertices whatever way you like and upload them
again, but that's going to be pretty slow.
I would suggest to you that what you're claiming probably isn't true.
Matrix translation does work. For whatever reason you're not using it in
the right way which is why you're having a problem.
Finally, it's probably easier for people to help you if you post some
code that demonstrates the problem.
On 12/18/2011 2:30 AM, Stephen Lee wrote:
> How does Matrix.translateM work? I'm trying to use it to translate a
> strip of triangles but it seems to be rotating the triangles in
> unexpected ways on my device. I've tried all possible matrix
> multiplications to make sure they are not the problem, and still it
> will not work. Is their anyway to easily alter the vertex data inside
> the float buffer, instead of translation through matrices?
>
--
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