Has anyone tried something like this? Basically attempting to either use George to export a TVPaint csv to read or just using commands that can give you access to all of the same info.
I'm figuring out how to get most of the info already, but one thing in particular I'm interested in figuring out is how TVPaint compares frames to know when a frame is a hold. When you export a csv file, it knows whether or not a frame has changed and only exports the actual changes. I'm looking to replicate a similar process with a George script however as far as I can see there aren't commands in George to either use the csv export system or to check if frames have changed.
Can anyone help?
Using George to access CSV Export Information?
Re: Using George to access CSV Export Information?
Hi Gary, we will look into it tomorrow and come back to you.
Fabrice Debarge
Re: Using George to access CSV Export Information?
That'd be great Fabrice, thanks!
Re: Using George to access CSV Export Information?
sorry I'm missing a few informations as we were working on our servers today.
I will answer only next week
I will answer only next week
Fabrice Debarge
- Eric Scholl
- Posts: 1303
- Joined: 04 Apr 2011, 14:40
Re: Using George to access CSV Export Information?
Hi Gary,
It gives you the type of the image at position iPosition in the timeline.
Results can be :
"None" = is out of the layer bounds
"Exposure" = is a "hold"
"Head" = is the start of a new image
"Faux-Fixe" = is a "hold" using a "Faux-Fixe"
You can do that using the command : tv_exposureinfo iPositionGary wrote:I'm interested in figuring out is how TVPaint compares frames to know when a frame is a hold
It gives you the type of the image at position iPosition in the timeline.
Results can be :
"None" = is out of the layer bounds
"Exposure" = is a "hold"
"Head" = is the start of a new image
"Faux-Fixe" = is a "hold" using a "Faux-Fixe"
Re: Using George to access CSV Export Information?
Ah, that's great. Thanks guys!
Just to follow up, that's what it returns for the latest TVPaint Pro, right? I'm currently testing on Basic 10 and for holds as well as faux-fixes it's giving me
Where the first zero changes to match the Faux-Fixe value (if there is one) but I don't know what the other corresponds to. Is that something I'll still see in the latest version, and if it is could you clarify what the numbers reflect?
Cheers!
Just to follow up, that's what it returns for the latest TVPaint Pro, right? I'm currently testing on Basic 10 and for holds as well as faux-fixes it's giving me
Code: Select all
Exposure 0 0
Cheers!
- Eric Scholl
- Posts: 1303
- Joined: 04 Apr 2011, 14:40
Re: Using George to access CSV Export Information?
You're right about the faux-fixes, so here the good results :Gary wrote:Ah, that's great. Thanks guys!
Just to follow up, that's what it returns for the latest TVPaint Pro, right? I'm currently testing on Basic 10 and for holds as well as faux-fixes it's giving me
Where the first zero changes to match the Faux-Fixe value (if there is one) but I don't know what the other corresponds to. Is that something I'll still see in the latest version, and if it is could you clarify what the numbers reflect?Code: Select all
Exposure 0 0
Cheers!
"None" = is out of the layer bounds
"Exposure x y" = is a "hold", x is the fauxfixe value, y is a unused value (reserved for the future, always 0 for now)
"Head" = is the start of a new image
This is how it works for all versions, including the latest one.
Re: Using George to access CSV Export Information?
Perfect! I already having this in a script exporting some stuff for us now, thanks!