Having two (or more) TvPaint windows open at the same time.

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
Brusen
Posts: 32
Joined: 09 May 2014, 09:48

Having two (or more) TvPaint windows open at the same time.

Post by Brusen »

Hi TvPaint,

It has been bugging many people I know and I just couldn't have it anymore, so I hereby ask if it is possible to have more than one TvPaint Window open at the same time.

You can have more than one project open, but the moment you want to export anything you are blocked, in some cases, for an hour or more. Since TvPaint is hardly using the engine it takes ages to work and export big files.
The solution for now has been having two or three additional computers exporting all day long, so we could be working instead of waiting.

I know that other programs like Autodesk Maya can have a ton of windows opened at the same time, during different tasks. Why can't TvPaint?

-Best regards Troels
(Ps. This post have been written meanwhile waiting for an 5 hour long export!)
User avatar
Peter Wassink
Posts: 4294
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: Having two (or more) TvPaint windows open at the same ti

Post by Peter Wassink »

excellent request!

Because you can have multiple projects open, what would it take to be able to continue working in one project while another project is saving/exporting?
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
Thierry
Site Admin
Posts: 2752
Joined: 07 Jan 2013, 08:28

Re: Having two (or more) TvPaint windows open at the same ti

Post by Thierry »

Brusen wrote:(Ps. This post have been written meanwhile waiting for an 5 hour long export!)
5 hour long export ? O_O :shock: That's.. well, incredibly long, I've never seen that !
I have to say I'm curious. What are your project's dimensions ? Its size ? And in what format are you trying to export ?

Concerning your question : TVPaint cannot do that, because its current engine doesn't allow it.
This would be a nice feature indeed, but that would require a very long development time.
Si votre question a trouvé réponse, marquez votre sujet comme Résolu.
If your question has been answered, mark your topic as Solved.
Brusen
Posts: 32
Joined: 09 May 2014, 09:48

Re: Having two (or more) TvPaint windows open at the same ti

Post by Brusen »

The project dimension is even just small hd, but whenever you have a big layout with camera movement, it of course have to go up in size.

Last week we had a shot with multiple layers and it ended up taking 11 hours to get out.
Then whenever we fix something spotted later on, we have to spend another 11 hours.

The file size is low, even just 100 mb - 500 mb, depending on the layers.


It would be a big game changer if you could work in multiple windows! :idea:
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Having two (or more) TvPaint windows open at the same ti

Post by Fabrice »

11H :shock:
there is a problem somewhere ...
Are you exporting through a network or locally ? what format are you trying to export ?
Fabrice Debarge
User avatar
slowtiger
Posts: 2897
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Having two (or more) TvPaint windows open at the same ti

Post by slowtiger »

I habitually run a CPU measurement tool when rendering or exporting, and this shows me that my computer is really well-used by TVP. So multiple windows will not help you much because nearly no processor power is left. I'd recommend to use a second computer.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
Brusen
Posts: 32
Joined: 09 May 2014, 09:48

Re: Having two (or more) TvPaint windows open at the same ti

Post by Brusen »

Hardware is really not an issue, the network shouldn't be the issue either, as I have had the case tested a couple of times with the same files, exporting to the network or to local.
The Process is using around 3 percent of the the CPU and 10 percent of Memory (also the network is not overloaded).


We are exporting PNG sequences with alpha, and exporting every layer separately (with a custom script).
However, during it manually (without the script), it takes the same time.

Can you somehow integrate TvPaint to the hardware better?



Still I think it would help us tremendously in the future to have multi-window sessions open at the same time.
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Having two (or more) TvPaint windows open at the same ti

Post by Fabrice »

It sounds very very strange to me, I never ever experienced so long export durations.
May I ask you both your script and projects, so we can run some tests ?
Fabrice Debarge
Brusen
Posts: 32
Joined: 09 May 2014, 09:48

Re: Having two (or more) TvPaint windows open at the same ti

Post by Brusen »

Thank you, that would be very helpful!

I have made an online link that will last for 7 days:
The script will only work with the right folder structure unless you set it up differently.
Feel free to implement any ideas/processes from this script and implementing it to your own projects or even into TvPaint. (Those who have contributed to the script are credited in the script. Except for myself).
Link to one of our files, and the script:
https://www.wetransfer.com/downloads/3a ... 352/bc6593" onclick="window.open(this.href);return false;
User avatar
Thierry
Site Admin
Posts: 2752
Joined: 07 Jan 2013, 08:28

Re: Having two (or more) TvPaint windows open at the same ti

Post by Thierry »

So, after meddling a little bit with the project and the script, I have a few questions/remarks :
  • You said that the project was in small hd, so I assumed that it was in 720x1280p, this is why Fabrice and I thought that there was something very wrong (because exporting in 720p with a file varying from 100Mb to 500Mb should never take 11 hours. But after opening the project I noticed that the project is in fact in 8105x4595, which isn't really small hd, but > 8k :D This makes me wonder : what are the specs of your computer ? What version of TVPaint do you use (10 ? 11 ?) ? Standard ? Professional ? 32-bits ? 64-bits ? Your computer's power can really make a difference there. With my late-2012 iMac, when I export all of the images in PNG (export -> clip display), it takes approximatively 30-35 minutes.
  • I've also noticed that you only have one clip. Why not split into several clips ? With the dimensions of the project, having only one clip with ~30 layers can really slow the export process.
  • Regarding the script : 949 lines for exporting images seems way too much. I haven't fully understood what result you want to have, perhaps you can tell me what is the result you wish to achieve ? (filename, folder structure...) That would help a lot.
    I got an error at line 157 : layer_save(expDir,namSeq,namShot,lepos,namVer,inpoint,outpoint). In this function, the instruction versionLabel = addZeros("v",verNum,3) (line 194) causes an error.
Si votre question a trouvé réponse, marquez votre sujet comme Résolu.
If your question has been answered, mark your topic as Solved.
Brusen
Posts: 32
Joined: 09 May 2014, 09:48

Re: Having two (or more) TvPaint windows open at the same ti

Post by Brusen »

Thierry wrote:So, after meddling a little bit with the project and the script, I have a few questions/remarks :
  • You said that the project was in small hd, so I assumed that it was in 720x1280p, this is why Fabrice and I thought that there was something very wrong (because exporting in 720p with a file varying from 100Mb to 500Mb should never take 11 hours. But after opening the project I noticed that the project is in fact in 8105x4595, which isn't really small hd, but > 8k :D This makes me wonder : what are the specs of your computer ? What version of TVPaint do you use (10 ? 11 ?) ? Standard ? Professional ? 32-bits ? 64-bits ? Your computer's power can really make a difference there. With my late-2012 iMac, when I export all of the images in PNG (export -> clip display), it takes approximatively 30-35 minutes.
  • I've also noticed that you only have one clip. Why not split into several clips ? With the dimensions of the project, having only one clip with ~30 layers can really slow the export process.
  • Regarding the script : 949 lines for exporting images seems way too much. I haven't fully understood what result you want to have, perhaps you can tell me what is the result you wish to achieve ? (filename, folder structure...) That would help a lot.
    I got an error at line 157 : layer_save(expDir,namSeq,namShot,lepos,namVer,inpoint,outpoint). In this function, the instruction versionLabel = addZeros("v",verNum,3) (line 194) causes an error.
Hi Thierry, Yes our project is in Small HD/wide format, plus a little safe frame (2304*965), but since this scene is supposed to have a camera zoom, the layout has been scaled to fit without loosing information.
The scenes we have without any Layout panning it takes less than 10-20 minutes,

We all have Pc specs suiting high end 3d productions, so I doubt the system is the one to blame in this case.
Specs:
Windows 7 -64 Bit
Intel(R) Xeon(R) CPU E5-2640 v2 " 2.00GHz (2Processors)
2.00 GHz (2 Processers)
64 GB ram
Nvidia Quadro K2000
We are using TvPaint 10.5.7 64-bits


The reason we are using the script is because we want to have all the layers in TvPaint to come out in individual PNG sequences, instead of merging everything. Because then we have more control when we are doing the compositing. Since it was not an option in TvPaint, we got this script running.

I am not sure how much I can shave of the script, and I know that there is more than necessary build into it.
But even doing the export manually takes quiet some time.
A lot of the lines are for TvPaint to find and export our images to the right l´place and name the files, plus putting it into folders.
(Maybe it does not work for Mac)
Last edited by Brusen on 28 May 2015, 09:58, edited 2 times in total.
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Having two (or more) TvPaint windows open at the same ti

Post by Fabrice »

What is exactly your CPU model ?
Fabrice Debarge
Brusen
Posts: 32
Joined: 09 May 2014, 09:48

Re: Having two (or more) TvPaint windows open at the same ti

Post by Brusen »

That would be,

Intel(R) Xeon(R) CPU E5-2640 v2 " 2.00GHz (2Processors)
tokejepsen
Posts: 19
Joined: 20 Aug 2015, 12:41

Re: Having two (or more) TvPaint windows open at the same ti

Post by tokejepsen »

Is there no way of getting two instances of TVP running on the same machine?

We currently have a lot of dongle licenses, that is being used by artists during the day. We don't want them to stop working to render.

I tried with virtual machines, but the usb can't be shared simultanously between the host and the vm image. So is there any other licensing option than usb dongles?
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Having two (or more) TvPaint windows open at the same ti

Post by Fabrice »

There is no render calculations in TVPaint.
Please give us more details.
Fabrice Debarge
Post Reply