Animated texture UVs do not update in 3d view during playback #45714

Closed
opened 2015-08-06 23:01:36 +02:00 by Mark McKay · 22 comments

I've created a simple blender file with a plane and a material assigned to it with a texture. I've then animated the 'offset' material mapping property of the texture. Finally, I put the 3d view into Material mode. When I play back the animation, the display in the 3D view is not updated to reflect the animating offset value. This makes it difficult to animate this property correctly, since you cannot get visual feedback during editing.

If you manually adjust the offset or manually adjust another property that causes the texture to update itself, then the 3d view updates to show the appropriate offset. Also, the correct texturing is shown for rendered images.

Blender version 2.75 (sub 0), branch b'master', commit date b'2015-07-07' b'14:56', hash b'c27589e', b''

I've created a simple blender file with a plane and a material assigned to it with a texture. I've then animated the 'offset' material mapping property of the texture. Finally, I put the 3d view into Material mode. When I play back the animation, the display in the 3D view is not updated to reflect the animating offset value. This makes it difficult to animate this property correctly, since you cannot get visual feedback during editing. If you manually adjust the offset or manually adjust another property that causes the texture to update itself, then the 3d view updates to show the appropriate offset. Also, the correct texturing is shown for rendered images. Blender version 2.75 (sub 0), branch b'master', commit date b'2015-07-07' b'14:56', hash b'c27589e', b''
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @kitfox

Added subscriber: @kitfox
Author

example file: system-info.txt

system-info.txt uvAnim.blend

example file: [system-info.txt](https://archive.blender.org/developer/F220940/system-info.txt) system-info.txt [uvAnim.blend](https://archive.blender.org/developer/F220939/uvAnim.blend)

Added subscriber: @sindra1961

Added subscriber: @sindra1961

blender crashes when I open file (uvAnim.blend) which you attached.

bpy.ops.wm.open_mainfile(filepath="C:\\work\\report\\uvAnim.blend", load_ui=True, use_scripts=False)
WM_operator_last_properties_store: storing properties for 'WM_OT_open_mainfile'
Thread 0: update object OBCamera
Thread 1: update object OBLamp
recalcob Camera
recalcob Lamp
Thread 0: update object OBPlane
recalcob Plane
recalcdata Plane
Thread 0: total 2 objects in 0.000336 sec.
  Camera in 0.000158 sec
  Plane in 0.000179 sec
Thread 1: total 1 objects in 0.000112 sec.
  Lamp in 0.000112 sec
Scene update in 0.000568 sec
wm_window_make_drawable: set drawable 1
read file
  Version 262 sub 3 date unknown hash
read file
  Version 268 sub 5 date unknown hash
DAG_id_tag_update_ex: id=OBCamera flag=1
Error: EXCEPTION_ACCESS_VIOLATION

version 2.75 (sub 4), branch b'master', commit date b'2015-08-06' b'15:07', hash b'44384c6', b'Release'

blender crashes when I open file (uvAnim.blend) which you attached. ``` bpy.ops.wm.open_mainfile(filepath="C:\\work\\report\\uvAnim.blend", load_ui=True, use_scripts=False) WM_operator_last_properties_store: storing properties for 'WM_OT_open_mainfile' Thread 0: update object OBCamera Thread 1: update object OBLamp recalcob Camera recalcob Lamp Thread 0: update object OBPlane recalcob Plane recalcdata Plane Thread 0: total 2 objects in 0.000336 sec. Camera in 0.000158 sec Plane in 0.000179 sec Thread 1: total 1 objects in 0.000112 sec. Lamp in 0.000112 sec Scene update in 0.000568 sec wm_window_make_drawable: set drawable 1 read file Version 262 sub 3 date unknown hash read file Version 268 sub 5 date unknown hash DAG_id_tag_update_ex: id=OBCamera flag=1 Error: EXCEPTION_ACCESS_VIOLATION ``` version 2.75 (sub 4), branch b'master', commit date b'2015-08-06' b'15:07', hash b'44384c6', b'Release'
Author

Not sure why there was a crash. I've created another file that demonstrates the problem. Open it and press play. I would expect to see the texture animating in the viewport, however the 3d view does not update. If you stop and then manually adjust the Texture in the properties panel by adjusting any of it's other values, the 3d view will update and display as expected.

This problem also occurs when animating the mapping scale property of the texture.

uvAnim2.blend

Not sure why there was a crash. I've created another file that demonstrates the problem. Open it and press play. I would expect to see the texture animating in the viewport, however the 3d view does not update. If you stop and then manually adjust the Texture in the properties panel by adjusting any of it's other values, the 3d view will update and display as expected. This problem also occurs when animating the mapping scale property of the texture. [uvAnim2.blend](https://archive.blender.org/developer/F221182/uvAnim2.blend)

Sorry, the new attached file cannot open, too.
What is Viewport Shading set in with the file?
A latest buildbot build version has this bug .

Sorry, the new attached file cannot open, too. What is Viewport Shading set in with the file? A latest buildbot build version has [this bug ](https://developer.blender.org/T45718).
Author

In both cases the viewport shading is set to Material. It needs to be in this mode to demonstrate the bug.

In both cases the viewport shading is set to Material. It needs to be in this mode to demonstrate the bug.
Author

This comment was removed by @kitfox

*This comment was removed by @kitfox*
Author

0001.png

0002.png

![0001.png](https://archive.blender.org/developer/F221189/0001.png) ![0002.png](https://archive.blender.org/developer/F221190/0002.png)
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Please try a latest build from https://builder.blender.org/download/ (Not Gooseberry)

Also try saving your file in solid view and we will switch to material view on our end

Please try a latest build from https://builder.blender.org/download/ **(Not Gooseberry)** Also try saving your file in solid view and we will switch to material view on our end
Author

Okay, I recreated it as best I can.
uvAnim3.blend

Okay, I recreated it as best I can. [uvAnim3.blend](https://archive.blender.org/developer/F221411/uvAnim3.blend)
Member

Ok can confirm but I think this is a todo though

Ok can confirm but I think this is a todo though
Author

Thanks - although could the status be changed? I don't think it's incomplete anymore.

Thanks - although could the status be changed? I don't think it's incomplete anymore.
Member

Waiting on developers feed back

Waiting on developers feed back

Added subscribers: @Sergey, @Psy-Fi, @mont29

Added subscribers: @Sergey, @Psy-Fi, @mont29

Not sure whether it’s TODO or bug, @Sergey? @Psy-Fi?

Not sure whether it’s TODO or bug, @Sergey? @Psy-Fi?

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-08-24 12:44:19 +02:00

GLSL shading does not support animation still, it's an old known TODO actually. So thanks for the report, but it's not considered a bug.

GLSL shading does not support animation still, it's an old known TODO actually. So thanks for the report, but it's not considered a bug.

Added subscriber: @michaelknubben

Added subscriber: @michaelknubben

Removed subscriber: @Psy-Fi

Removed subscriber: @Psy-Fi
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 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#45714
No description provided.