Animator and Thea
-
@fredo6 said:
Which video format did you generate?
mp4
@fredo6 said:
Can you also check the size of the video file.
Well - this is the problem which I should have noticed before. It is 0 bytes. I should have checked that. It went though all of the normal steps and I did not even look at the file size. So then the question is why did I wind up with a 0 byte file?
@fredo6 said:
Anyway, it look strange that the generation of 51 frames took 34 seconds (or 34 minutes).
It was 34 minutes.
Here is the skp file. Again, this is so simplistic that it almost is not a valid test.
Animator Test 1.skp -
I think it is a matter of size. Dimensions in X and Y must be even (due to a limitation in ffmpeg).
Normally Thea correct the dimensions to be even, but there may be an issue somewhere.Also, when you generate, let a few frames generates and then press the button Preview to see if you get something playable.
Fredo
-
I tried again and got the same results. This time it took 33 minutes.
I then tried clicking the Preview Video button after it created 3 frames. It did not show me the video but when I looked in the folder, there were 3 images.
Since this is the trial version, it will not allow me to control the size of the image. I tried setting it to 800x600 but it still attempts to create the video at 1301x708.
Hope there is some way to resolve all of this so that I can give the product a fair evaluation. I have tried to email them a couple of times but have not gotten any responses and I cannot participate in their forum because I do not have a license. I have not idea how long the trial will last (that is one of the questions I have tried to ask).
-
Can you try to set even dimensions in Thea itself.
Fredo
-
@fredo6 said:
Can you try to set even dimensions in Thea itself.
Fredo
I did try that but the trial version generates the images at 1301x708 no matter what setting I attempt. Apparently there is no way around that with the trial version. I think I read something about that in the user manual as well.
-
Can you demaximize the Sketchup Window to see if the default dimensions do change
-
@fredo6 said:
Can you demaximize the Sketchup Window to see if the default dimensions do change
OK - That worked (somewhat). I got the image size down to 960x720 and it took just under 27 minutes. However, my model almost goes off the screen. Other software I have seen it just reduces the size of the image but contains all of the model. I will do some additional testing (maybe tomorrow) to see if I can control this better. This potentially could have a very negative impact on my models.
At least we have some better understanding of what is going on.
-
I think the issue is just for the trial version where the dimensions are limited by Thea if they exceed a certain size. The problem is that Animator has no control over nor knowledge of these limited dimensions, and since the images are generated by Thea, they may therefore be generated with odd dimensions. FFMpeg has a problem to process such image files, whatever is the command line I use.
Fredo
-
Yes, I did some more testing by changing the size of the viewport in SketchUp and it seemed to work OK. This does seem to be a limitation of the trial version.
I wish there was a way to control the viewport size in SketchUp. Would be an interesting plugin.
-
@Fredo, Thanks to your tips in email, I am back on track and continuing to test/evaluate Thea with your plugin. Long way to go though.
-
What it is necessary to make that the panel render has appeared
-
Good afternoon. Question: for the third time faced with such a "bug", when recording the animation somehow miraculously (in this example, the handle, half thread on the facade, and a few facades) pulls back, and not one distance. What I cant? I attach the SU file in the 2017 version of the file of the Animator-a video clip in a little slow, but the staff in the archive + so a couple where you can see the "bug". https://yadi.sk/d/FJDqsrkP3FwHcd
-
Konstantin,
There are known problems with Thea when called from Animator (e.g. DIRECT method). From time to time, Thea does not notify Animator when it has finished rendering a frame. There is a timeout set in Animator (3 times the duration of processing for the last frame), but this may lengthen the whole animation rendering quite a bit. The video attached took thus 2h25, while it should have taken probably 1h30 normally (I had to convert the original MP4 of 1540x620 into a smaller GIF file because the file size is limited to 2 Mb in this forum).
As an alternative, you can use the REVERSE method, that is Thea processing the animation. The small inconvenience is that the animation rendering generates a sequence of image files which you have then to stitch in order to get a video (with VirtualDub (free) or QuickTime Pro (30$).
Basically, do NOT launch Animator, but instead
- open the Thea Render Window in your model
- setup your rendering method (best is IR Presto (AO)
- Go to the Tab 'Animation'
- Select Animator in the plugin combo box
- Press the 'Render Animation' method
- This displays a dialog box (controlled by Animator) where you can choose the Film and a few other parameters.
- Then you are prompted with a File panel to select the directory where Thea will generate the image files. You need to create and select an empty directory.
- When you press OK, Thea will start rendering the animation, frame after frame.
On the model, it took 2h30 to generate all images (my laptop has an integrated Intel card, so not a Gran Turismo GPU!)
Fredo
-
@adrihal said:
What it is necessary to make that the panel render has appeared
You just need to install one of the supported rendering software.
- TheaRender v1.5
- AmbientOcclusion Ex, v1.9.5 and above
- SketchFX Ex, v1.0.6 and above
- Twilight Render Pro, v2.5.5 and above
Then the button(s) will appear automatically.
You also need to download and install FFmpeg, following the instructions.
Fredo
-
For info, an update of Thea Rende 1.5 is published today.
It should include a fix avoiding or minimizing the timeout situations (many thnks to Tomasz Marek).
Also the next version of Animator, v1.6, will include a more efficient management of time out situation if they still occur.
In the meantime, I could generate the rendered animation of the model by Mistrik1705, here attached as a Mov file.
Fredo
-
Qucik question: does Thea render support changes to Layer Visibility in animations? It works fine with natural rendering in the example below, but the sword parts don't show in the Thea version.
*For the record, there are 4 swords, positioned for the car mode and jet mode. The sword components are different for each pair (in Outliner, it shows 2x <car_sword> and 2x <jet_sword>), so that each component definition can be on a different layer (main robot model is layer0, then layer_car_sword and layer_jet_sword are turned on/off as needed). Animator starts with [Layer0 ON / layer_car_sword OFF / layer_jet_sword OFF].
Also, Thea or otherwise, is layer visibility able to be faded in/out? I'm not aware of a way to change component opacity with basic Sketchup functions (aside from transparent materials), not sure if that can be achieved in a plugin. Would be nice to have so parts don't just pop in and out of existence.
-
When you render from Animator plugin the visibility will be used, because it re-exports each animation frame. There is no option of fading the visibility in/out though.
If you render same animation from Thea animation tab, then the visibility will not work. This happens, because Thea4SU does everything to convert the animation to Thea's native animation which doesn't support visibility yet.
Advertisement