No thumbnails in timeline after using "tv_LoadSequence"

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

No thumbnails in timeline after using "tv_LoadSequence"

Post by Lukas »

When I import a sequence with tv_LoadSequence, it only shows the first and last image of the sequence in the thumbnails.

Is there a way to somehow update the frames in between? They don't show up when drawing in them either. I'm not sure what's going on. :(
Attachments
Screen Shot 2014-05-21 at 16.17.41 .png
Screen Shot 2014-05-21 at 16.17.41 .png (14.11 KiB) Viewed 2679 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
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Lukas »

After importing a sequence I also want to use "tv_layerRecomputeExposure" but it tells me to load all dependencies.

How do I import a sequence with actually loading them into the project?
  • 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: No thumbnails in timeline after using "tv_LoadSequence"

Post by ZigOtto »

have you checked on the "preload" option from the import panel ?
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Mads Juul »

Lukas wrote:When I import a sequence with tv_LoadSequence, it only shows the first and last image of the sequence in the thumbnails.

Is there a way to somehow update the frames in between? They don't show up when drawing in them either. I'm not sure what's going on. :(
You have to select Show Thumbnails in the layer menu (RMB click the layer).
I think for some reason this is not default when using tv_loadSequence. And I don't think it is possible to enable "Show Thumbnails" With George.
Lukas wrote:After importing a sequence I also want to use "tv_layerRecomputeExposure" but it tells me to load all dependencies.

How do I import a sequence with actually loading them into the project?
I dont think it is possible to preload images with tv_loadSequence. maybe ias Zigotto says try import something manually and enable preload. and then see if tv_loadSequence is preloading afterwards.
It is not possible to Load all dependencies with george.
BUt remeber you can always load all dependencies amanually in the top project menu but I guess you know this.

I vaguely remeber I 5 years ago had the same issues with tv_loadSequences so I stopped using it.
-Mads
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Lukas »

madsjuul wrote:I vaguely remeber I 5 years ago had the same issues with tv_loadSequences so I stopped using it.
Have you found an alternative way to import stuff into TVPaint?

I am writing a script to export animation from Anime Studio Pro and import it in seperate layers much like your TVPaint to After Effects script.
I can export seperate layers for character line art and colour from ASP, so it'll be easy to do boring slow animation in ASP and do crazy fun frame by frame stuff in TVP. Best of both worlds. I've got some brushes in ASP that match my TVP brushes almost 1:1, so I'm quite excited to get this working.

But this tv_LoadSequence stuff is kind of a bummer...
  • 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: No thumbnails in timeline after using "tv_LoadSequence"

Post by Mads Juul »

There is several other ways.
You can use tv_readtextfile to get names of files in a folder.
Yoy can use tv_fileinfo to get width and height of image file so you can create a project with the right dimension
Then you can import each file with a While loop for instance and
Tv_loadImage


So I think it is possible to make an import script as you descibe
-Mads
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Lukas »

Thank you!!

I'll try that :)
  • 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: No thumbnails in timeline after using "tv_LoadSequence"

Post by Lukas »

I broke my head getting it to work, but it works :)

tv_LoadSequence is quite useful this way...
  • 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: No thumbnails in timeline after using "tv_LoadSequence"

Post by Mads Juul »

Lukas wrote: tv_LoadSequence is quite useful this way...
Which way? How are you using tv_loadsequence?
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Lukas »

Haha oops...

I meant to write: "tv_LoadSequence is not very useful this way..."

:(

In the end I used tv_LoadImage, but it was a lot more work to get it working correctly.
  • 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: No thumbnails in timeline after using "tv_LoadSequence"

Post by Mads Juul »

Lukas wrote: In the end I used tv_LoadImage, but it was a lot more work to get it working correctly.
:) Ok I understand . Yes it is more work. but at least it is possible. And tv_loadImage is more flexible maybe you at some point would need to do something You cannot do with loadSequence anyway.
FOr instance import images with different names in the same folder and time it frrom an EDL exported from premiere,
This is how I at a point got timing from Premiere to TVPaint.

But nice you made it work :)
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Mads Juul »

Mads Juul wrote: I dont think it is possible to preload images with tv_loadSequence.
Hi Lucas
I just found out it is possible to preload images with tv_loadSequence. You just have to add "PRELOAD" at the end of the cammond like

Code: Select all

tv_loadSequence filepath "PRELOAD" 
I added it in the wiki
http://wiki.tvpaint.fr/index.php?title=Tv_LoadSequence" onclick="window.open(this.href);return false;


I also discovered there is a george function for loading dependencies of a layer

Code: Select all

tv_layerloaddependencies layerID
http://wiki.tvpaint.fr/index.php?title= ... pendencies" onclick="window.open(this.href);return false;


Kind Regards Mads
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Mads Juul »

After discovering that is actually is possible to preload a sequence with "tv_loadSequence", I stumbled on this thread from 2008
http://forum.tvpaint.com/viewtopic.php? ... it=preload" onclick="window.open(this.href);return false;

I was wondering about this question for the developers

Is it possible to enable/disable the layer option "Show Thumbnails" with George?

Kind Regards Mads
User avatar
Thierry
Site Admin
Posts: 2780
Joined: 07 Jan 2013, 08:28

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Thierry »

Mads Juul wrote:I was wondering about this question for the developers

Is it possible to enable/disable the layer option "Show Thumbnails" with George?
It's not possible.
I'll add that in the todo-list :)
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: No thumbnails in timeline after using "tv_LoadSequence"

Post by Mads Juul »

Thierry wrote:
Mads Juul wrote:I was wondering about this question for the developers

Is it possible to enable/disable the layer option "Show Thumbnails" with George?
It's not possible.
I'll add that in the todo-list :)
thank you.

Maybe when using tv_loadSequence I think the show thumbnails should be enabled by default.

-Mads
Post Reply