Search Unity

camera tracking 3ds max to unity

Discussion in 'Editor & General Support' started by bobthenob, Apr 3, 2020.

  1. bobthenob

    bobthenob

    Joined:
    Sep 2, 2013
    Posts:
    26
    hi thanks for this great forum
    ive read loads of posts and else were on the net but cant find a solution
    (1)
    so I record some footage on a panasonic fz1000
    track it in aftereffcts get a good track the solids all stay in place really well
    (2)
    i export the solids and camera using a great plugin https://aescripts.com/fbx-to-ae/
    into 3ds max
    (3)
    track is solid in 3ds max
    can add stuff stays where it should fine
    export into after effcts to test the renderd frames all good
    (4)
    export FBX tried 2006,2009,2010,2011,2013,2014/2015,2016,2017 fbx exporter
    import fbx into unity looks good but
    when i record using unity recorder
    it dosnt quite match up
    it has the same framerate and aspect ratio
    it looks like the fov is off but if i change that it just changes it back during play in unity
    the track from max render

    with the unity render ontop

    thanks for lookingany help would be apreciated
     
  2. bobthenob

    bobthenob

    Joined:
    Sep 2, 2013
    Posts:
    26
    hi so ive be doing some testing just made a simple sceene in 3ds max exported as fbx
    imported into unity
    rendered out frames from max then recorded frames from unity
    they still dont line up the first and last frames do?
    ive checked all settings
    unity
    focal lenth 24.28699
    fov 26.23129
    sensor size
    x 20.12
    y 11.3175
    resolution both 1920x1080
    16.9 aspect ratio (1.7778)
    fov axix vertical both
    frames 30fps
    standard camera
    3ds max
    fov 45.0
    lens 24.287
    physical camera linked to standard camera
    fov 45.0
    sensor
    width 17.3
    this is driving me crazy it must be possible
    im so close but cant get it right please help if you can
    thanks
    if any body has a working sceen can i have a look at it please
    so this is definatly unity not 3ds max
     
    Last edited: Apr 6, 2020
  3. bobthenob

    bobthenob

    Joined:
    Sep 2, 2013
    Posts:
    26
    hi i'm still looking at this i've done over a hundred tests in 3ds max and unity
    the problem is that the way unity interpolates between keyframres is not the same as anything else.
    i've tried blender c4d and tried every combination of key frame interpolation within unity and 3ds max but it is all ways of a slight amount the first frame and the last frame are spot on so that is how i know it is an interpolation problem.
     
    Last edited: Apr 12, 2020