Find an accelerometer tutorial on getting data from the sensors. The data will be in meters per second squared because they measure acceleration. You'll have an x, y and z acceleration value. That's your vector. Processing it to do something useful is up to you.
On Jan 8, 2:40 pm, Guilherme Vieira <guira...@gmail.com> wrote: > Ok. Nice to "hear" that. > > Now I would like some directions. > > Using Android's SDK, how can I get that force vector? > And the movement vector? > > By the way, I got Samsung Galaxy. > > Thanks!!! > > > > On Fri, Jan 8, 2010 at 18:33, Robert Green <rbgrn....@gmail.com> wrote: > > This is totally achievable. The accelerometer gives you a force > > vector. All you have to do is sample that vector and you can convert > > it into whatever rotational system you'd like (euler, quats or > > otherwise). > > > You could easily write a file exporter that exports the movement > > sequence. If you want to make life easy, you could write an xml > > exporter that can write to the xml animation format that max > > understands. > > > Otherwise there are other options for files including a proprietary > > type so long as you write an importer for max. > > > Droid and Nexus Ones both have decent 3D chips. The G1-class phones > > are a little lacking on 3D power but can do basic stuff fine. There > > are a few phones with no GPU and those use a software renderer which > > works ok for HW-accel 2D but not well real 3D. > > > On Jan 8, 1:51 pm, "guira...@gmail.com" <guira...@gmail.com> wrote: > > > Good afternoon. > > > > Here is my idea shortly: I want to make a virtual camera to 3ds max. > > > I mean, I want to be able to move my phone in space and then export > > > the transformations to my 3ds camera. > > > > So I have to consider basic points: > > > > how can I recover the accelerometer values and turn then into > > > quaternion rotations?(It is possible?) > > > its possible to track movement(If I walk forward I could recover the > > > distance's value)? > > > > This basic points solved(I really really hope so) I have what can be > > > called Virtual Camera Engine set. > > > > Now some advanced points: > > > > its possible to render 3d content in the phone? Then I can load up my > > > scene. (Low poly, of course.) > > > if so, using the Virtual Camera Engine is possible to "shoot" the > > > scene, right? > > > > Its a cheap version of James Cameron virtual camera system used in > > > Avatar! hehehehe > > > > Come on people! > > > > Thank you anyway! > > > Regards! > > > > Guilherme > > > -- > > 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+unsubscr...@googlegroups.com<android-developers%2Bunsubs > > cr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en
-- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en