text animation is not updating during rendering #71925

Closed
opened 2019-11-26 12:10:21 +01:00 by Daria Pedak · 8 comments

System Information
Operating system: windows version 1903 OS build 18362.476 64-bit with Intel Core i7-6700 CPU
Graphics card: GeForce GTX 1080

also:
Operating system: Ubuntu 18.04.3 64-bit with Intel Core i7-7700 CPU
Graphics card: GeForce GTX 1070

Blender Version
Broken: Blender 2.81
Worked: Blender 2.8

Short description of error
Hi! I'm not sure if it is a Blender bug, but...
I'm using typewriter add-on to animate the text.
Animated property is "character count"
The result should be a neat typewriting effect.
It worked without any issues in Blender 2.8 both on Linux and Windows.
In Blender 2.81 It works in preview window, but animation (character count value) is not updating while rendering. As a result I always have static text.
If I render single random frame, the number of characters will be correct.
But if I render animation (no matter to mp4 file or like sequence of png files), the text is not changing
I tried latest build of blender 2.82 Alpha from 26-11-2019 and had the same issue

Exact steps for others to reproduce the error

  • Please open attached .blend file
  • Enable the attached add-on (it was updated for Blender 2.8)
  • Hit space button (play animation) in the viewport, you should see typing text animation
  • press CTRL+F12 to render the animation. It will take few seconds, the scene is very simple.

text_animation_test.blend
blender-typewriter-addon-master.zip

Example of properly animated text in Blender 2.8:
text_anim_test_Blender_2.8.mp4

Example of non-updating text animation in Blender 2.81 (the result depends on current frame value)
text_anim_test_Blender_2.81.mp4
text_anim_test2_Blender_2.81.mp4

Thank you for your time!

**System Information** Operating system: windows version 1903 OS build 18362.476 64-bit with Intel Core i7-6700 CPU Graphics card: GeForce GTX 1080 also: Operating system: Ubuntu 18.04.3 64-bit with Intel Core i7-7700 CPU Graphics card: GeForce GTX 1070 **Blender Version** Broken: Blender 2.81 Worked: Blender 2.8 **Short description of error** Hi! I'm not sure if it is a Blender bug, but... I'm using typewriter add-on to animate the text. Animated property is "character count" The result should be a neat typewriting effect. It worked without any issues in Blender 2.8 both on Linux and Windows. In Blender 2.81 It works in preview window, but animation (character count value) is not updating while rendering. As a result I always have static text. If I render single random frame, the number of characters will be correct. But if I render animation (no matter to mp4 file or like sequence of png files), the text is not changing I tried latest build of blender 2.82 Alpha from 26-11-2019 and had the same issue **Exact steps for others to reproduce the error** - Please open attached .blend file - Enable the attached add-on (it was updated for Blender 2.8) - Hit space button (play animation) in the viewport, you should see typing text animation - press CTRL+F12 to render the animation. It will take few seconds, the scene is very simple. [text_animation_test.blend](https://archive.blender.org/developer/F8168401/text_animation_test.blend) [blender-typewriter-addon-master.zip](https://archive.blender.org/developer/F8168403/blender-typewriter-addon-master.zip) Example of properly animated text in Blender 2.8: [text_anim_test_Blender_2.8.mp4](https://archive.blender.org/developer/F8168405/text_anim_test_Blender_2.8.mp4) Example of non-updating text animation in Blender 2.81 (the result depends on current frame value) [text_anim_test_Blender_2.81.mp4](https://archive.blender.org/developer/F8168410/text_anim_test_Blender_2.81.mp4) [text_anim_test2_Blender_2.81.mp4](https://archive.blender.org/developer/F8168411/text_anim_test2_Blender_2.81.mp4) Thank you for your time!
Author

Added subscriber: @daria_pedak

Added subscriber: @daria_pedak

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2019-11-26 13:02:16 +01:00

This is something what needs to be addressed from an addon side.

This worked in 2.80 due to some luck, but was still fragile. There is proper way now which involves newely added functionality to handlers [1].

So technically uptext() should query evaluated text (text_eval = text.evaluated_get(depsgraph)) and access properties character_count via text_eval.character_count.
Modification should still be done on text though.

Thanks for the report, but you'd need to report this to the addon developers.

This is something what needs to be addressed from an addon side. This worked in 2.80 due to some luck, but was still fragile. There is proper way now which involves newely added functionality to handlers [1]. So technically `uptext()` should query evaluated text (`text_eval = text.evaluated_get(depsgraph)`) and access properties `character_count` via `text_eval.character_count`. Modification should still be done on `text` though. Thanks for the report, but you'd need to report this to the addon developers. - [x] https://wiki.blender.org/wiki/Reference/Release_Notes/2.81/Python_API#Handlers
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Blender is not maintaining that Addon, please report the issue to the original author(s) instead.
Note that blender/blender#71234 (Custom property doesnt update when rendering animation) could be related...

Blender is not maintaining that Addon, please report the issue to the original author(s) instead. Note that blender/blender#71234 (Custom property doesnt update when rendering animation) could be related...
Author

This comment was removed by @daria_pedak

*This comment was removed by @daria_pedak*
Author

Thank you very much

Thank you very much
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#71925
No description provided.