Skip to main content
crosscreations
Participant
September 14, 2017
Question

Import Gyro Data for Camera movement

  • September 14, 2017
  • 2 replies
  • 4926 views

Hey guys, I am working on a scene to simulate a vr head movement. I can export the gyro data from my smartphone as a excel from an app called phyphox. So I record the movement of my phone while it is attached on my vr headset and would like to import it in after fx to apply it on a camera.

Is there any way to get the three axis to after fx from an Text or whatever file? I can export the data in the common formats: excel, csv - comma, decimal points, csv - tab, decimal points, etc...

Thanks in advance

Baris

    This topic has been closed for replies.

    2 replies

    crosscreations
    Participant
    September 16, 2017

    Thank you all very much for you answers!

    To make it short: I guess there is a simple math to convert the data to positions.

    I have worked with Unity3D for a while and I believe there was something related to velocity and positions.

    I hope to figure it out this weekend. Thank you and good luck for you too, Rick!

    carlosj85462710
    Participant
    November 10, 2017

    This is an exciting idea I'm interested in, anybody have an update on this?

    Community Expert
    November 10, 2017

    The app is still a little wonky and it won't let you customize much. I have not been able to extract any usable orientation data yet.

    angie_taylor
    Legend
    September 14, 2017

    You can copy key frame data from excel into After Effects. The best way to get it into the correct format for AE is to create some key frames for a camera in AE, just any old keframes. Copy them and then paste them into an excellent spreadsheet. You'll then see how it needs to be formatted. Delete the temp keframes and replace them with your own, from the Gyro, or whatever,  leaving the header info on the spreadsheet. Then copy and paste these KFs back into the properties in AE that match the data.

    Please note that the coordinate measurement system in AE may be different from the one used in you camera. AE measures the Y axis from top to bottom whereas most3D systems measure from origin upwards. however you could write an expression to compensate for this anomaly if it occurs.

    Hope this helps

    angie_taylor
    Legend
    September 14, 2017

    Alternatively, get the camera data into C4D lite and then extract the camera from the C4D file

    Community Expert
    September 14, 2017

    Wow, that's a really cool app. phyphox - Physical Phone Experiments

    I'm going to play with it this weekend and see if it can be used for AE. It would be an amazing addition to the tool box if it could.

    I'm also wanting to learn a whole lot more about the new iPhone 10 face tracking and see if we can't get that data into AE or Character animator or C4D.