Read animated camera?

   2171   4   0
User Avatar
Member
1535 posts
Joined: March 2020
Offline
Hi

Is there a way to save out a animated cameras transforms to a CSV or json file via TOPs?

thx
Jason
fx and lighting @ rebelway
https://www.youtube.com/@jason_slab
User Avatar
Member
9380 posts
Joined: July 2007
Offline
I'd say yes, since you can use Python Processor or Python Script to do the exporting using Python
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
1535 posts
Joined: March 2020
Offline
tamte
I'd say yes, since you can use Python Processor or Python Script to do the exporting using Python
heya
Yip I figured as much, I was hoping there was a easier solution out there.
Time to brush off those old python cobwebs. :S

J
fx and lighting @ rebelway
https://www.youtube.com/@jason_slab
User Avatar
Member
9380 posts
Joined: July 2007
Offline
If you want to avoid python you can probably also import camera channels to CHOPs, create point per sample and read using Channel SOP to SOPs then bring as workitems with attributes to TOPs and collect into one CSV

EDIT: actually CHOPs .chan files are already sort of CSV or more like TSV files
So you can probably directly use ROP Fetch TOP to render Channel ROP
Edited by tamte - Sept. 7, 2022 06:30:38
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
1535 posts
Joined: March 2020
Offline
tamte
If you want to avoid python you can probably also import camera channels to CHOPs, create point per sample and read using Channel SOP to SOPs then bring as workitems with attributes to TOPs and collect into one CSV

EDIT: actually CHOPs .chan files are already sort of CSV or more like TSV files
So you can probably directly use ROP Fetch TOP to render Channel ROP

Ahh great ideas, I was looking at CHOPs yesterday, but got sidetracked after seeing the only output was bclip or chan, didn't think of bringing that data into TOPs!
thanks man!

J
fx and lighting @ rebelway
https://www.youtube.com/@jason_slab
  • Quick Links