Camera Animation by CSV

Camera Animation by CSV

Anonymous
Not applicable
1,263 Views
3 Replies
Message 1 of 4

Camera Animation by CSV

Anonymous
Not applicable

I have a list of camera positions(XYZ) I would like to duplicate in 3DS MAX.  I would like these to import so that the first point in the list is frame 1 camera position and then the next point in the list is the camera position for frame 2 and so on until the end of the CSV.  Anyone know a way to do this quickly? 

0 Likes
Accepted solutions (1)
1,264 Views
3 Replies
Replies (3)
Message 2 of 4

leeminardi
Mentor
Mentor
Accepted solution

Turn on the Maxscript  Listener and see what commands are generated for a camera move.  You will also need to consider the rotation of the camera as well.  For example, a move in frame 4 coupled with a rotation about the x and y axes would look something like this:

 

sliderTime = 4f
move $ [31.9392,11.5601,0]
rotate $ (angleaxis 15.5 [1,0,0])
rotate $ (angleaxis -26 [0,1,0])

You could easily create this script in Excel from your data using the concatenate function.

lee.minardi
Message 3 of 4

Anonymous
Not applicable

@leeminardi wrote:

Turn on the Maxscript  Listener and see what commands are generated for a camera move.  You will also need to consider the rotation of the camera as well.  For example, a move in frame 4 coupled with a rotation about the x and y axes would look something like this:

 

sliderTime = 4f
move $ [31.9392,11.5601,0]
rotate $ (angleaxis 15.5 [1,0,0])
rotate $ (angleaxis -26 [0,1,0])

You could easily create this script in Excel from your data using the concatenate function.


I believe this will work.  I'll give it a try today.  FYI, what i'm working on is a 360° video i have recorded and i have very precise coordinates for the camera location for each frame of the video.  I am wanting to augment this video with geographically correct info or objects (like Road Centerline Stations, ect.).  I was able to do this yesterday with a path created from these coordinates, so i think i may have 2 ways to do this now.  here is a proof of concept render I did Yesterday.

https://youtu.be/YxlBT67GoB8

 

This is a "VR" clip and you can spin the video around with your mouse or by moving your mobile device if you are viewing it that way.  Again, thanks for your reply.

0 Likes
Message 4 of 4

leeminardi
Mentor
Mentor

Slick!

lee.minardi
0 Likes