tv_layerrecomputeexposure WITH THRESHOLD Topic is solved

A forum dedicated to George scripting questions
Post Reply
rashid
Posts: 5
Joined: 04 Jun 2022, 08:54

tv_layerrecomputeexposure WITH THRESHOLD

Post by rashid »

Hello everyone :)

I've found tv_layerrecomputeexposure in the life saving George Scripting Reference but I haven't found any way to execute the "recompute exposure WITH THRESHOLD".
Is there any undocumented function or a another smart way to be able to automate this action ?

Some context :
I'm working on a script that imports multiple animatic sequences and generates and setup a tv_paint project for each sequence.
For now the generated TVpaint projects are too heavy considering that the imported videos contain a lot of similar frames.
This is easyly fixed with "recompute exposure WITH THRESHOLD" that reduces very efficiently the project size by merging similar frames.
But I haven't found a way to include his step in my script.

Thanks for your help !

Rashid
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: tv_layerrecomputeexposure WITH THRESHOLD

Post by Svengali »

Where in the GEORGE SCRIPTING REFERENCE do you find
tv_layerrecomputeexposure WITH THRESHOLD?
tv_layerrecomputeexposure [iLayerId [iStart iStop]]

Recompute exposure of the current/given layer

[PARAMETERS]
iLayerId int The layer to recompute
iStart int The frame to start recomputing
iStop int The frame to stop recomputing
This is the only entry I find for tv_layerrecomputeexposure in the reference...

sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
rashid
Posts: 5
Joined: 04 Jun 2022, 08:54

Re: tv_layerrecomputeexposure WITH THRESHOLD

Post by rashid »

Hi Sven,

Sorry for not being clear.
But I actually was saying that I have found tv_layerrecomputeexposure BUT NOT tv_layerrecomputeexposure WITH THRESHOLD and I was wondering if I missed something or if there was a way or workaround to still automate this action.

Thanks
Xavier
Posts: 1855
Joined: 01 Oct 2019, 11:08

Re: tv_layerrecomputeexposure WITH THRESHOLD

Post by Xavier »

rashid wrote: 28 Jun 2022, 07:51 Hi Sven,

Sorry for not being clear.
But I actually was saying that I have found tv_layerrecomputeexposure BUT NOT tv_layerrecomputeexposure WITH THRESHOLD and I was wondering if I missed something or if there was a way or workaround to still automate this action.

Thanks
Indeed, oddily enough the threshold is not parsed in the code. We could consider adding it.
Post Reply