How do I update the viewport after using tv_exposureFauxFixe

A forum dedicated to George scripting questions
Post Reply
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

How do I update the viewport after using tv_exposureFauxFixe

Post by Lukas »

How do I update the viewport after using tv_exposureFauxFixe ?

Is there a general command to refresh the drawing space? I can't find it because I'm not sure what words to search for in the wiki.

Thanks in advance!
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: How do I update the viewport after using tv_exposureFaux

Post by Lukas »

Hmmm.

I tried that, but it doesn't update. Thanks though.

For example:

Create a new file like in the screenshot.

Have your timeline cursor set at frame 5.

Run this:

Code: Select all

tv_exposureFauxFixe 4 3
tv_ResetDisplay
You should see a "2" but you see a "4" instead.

The layer thumbnail updates fine.
Attachments
Screen Shot 2014-05-12 at 14.37.44 .png
Screen Shot 2014-05-12 at 14.37.44 .png (7.13 KiB) Viewed 1400 times
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: How do I update the viewport after using tv_exposureFaux

Post by ZigOtto »

Lukas wrote:...
You should see a "2" but you see a "4" instead.

The layer thumbnail updates fine.
try this :

Code: Select all

tv_exposureFauxFixe 5 3 
Last edited by ZigOtto on 12 May 2014, 12:51, edited 1 time in total.
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: How do I update the viewport after using tv_exposureFaux

Post by Mads Juul »

I see
this should update

Code: Select all

tv_lockDisplay "Quiet"
tv_exposureFauxFixe 4 3
tv_unlockDisplay
or this adding some code at the end that I know update the display

Code: Select all

tv_exposureFauxFixe 4 3
tv_LayerGetImage
tv_layerImage result
-Mads
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: How do I update the viewport after using tv_exposureFaux

Post by Lukas »

madsjuul wrote:

Code: Select all

tv_exposureFauxFixe 4 3
tv_LayerGetImage
tv_layerImage result
That's the fastest one! (The other blinks onscreen)

Thanks again Mads!

I attached the button I made. If you click it it adds +1 to the faux-fixe value. With SHIFT, it subtracts. It also puts a colormark like the frame it's looping back to (see screenshot). I usually give the first frame of a loop a color so I know where to loop to. The normal Faux-Fixe menu is a bit clumsy because you have to guess/count. That just doesn't work for my brain.

If you hold ALT you get the old Faux-Fix menu behaviour (you wouldn't want to click 41 times if you want a long cycle), while still doing the colormark thing.

Couldn't have done it without your help Mads (as with anything I've written so far ;))
Attachments
LukasFaux-Fixe.tvpx
(75 KiB) Downloaded 179 times
Screen Shot 2014-05-12 at 15.07.59 .png
Screen Shot 2014-05-12 at 15.07.59 .png (6.12 KiB) Viewed 1388 times
Screen Shot 2014-05-12 at 15.03.21 .png
Screen Shot 2014-05-12 at 15.03.21 .png (10.81 KiB) Viewed 1388 times
Last edited by Lukas on 12 May 2014, 13:59, edited 1 time in total.
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: How do I update the viewport after using tv_exposureFaux

Post by Mads Juul »

Glad I can help :)
Post Reply