Generated Texture Coordinates broken during playback #129472

Open
opened 2024-10-28 13:01:44 +01:00 by Poch · 3 comments

System Information
Operating system: Arch Linux, macOS 14.5 (23F79)
Graphics card: RTX 3090, M1

Blender Version
Broken: LTS 4.2.3, 4.4.0 a (main.c72076aec850)
Worked: Unknown, different behavior in LTS 3.6 but still broken

During viewport playback coordinates generated by Texture Coordinates->Generated node do not work as expected.

Open file, press Play. Notice cube in scene is textured with checker texture matching deformations of a cube. During playback in viewport switch to Solid mode, select/deselect objects or anything in viewport with click. Switch back to Material Preview/Rendered. Unless anything is selected/deselected in viewport with click again, texture on cube will "float". Both EEVEE and CYCLES Rendered modes are affected.

LTS 3.6 "fixes" the issue itself after one loop of timeline.

r_cddata_masks->vmask is set to have CD_MASK_ORCO but it does not work until something updates with user selecting/deselecting objects in viewport?

**System Information** Operating system: Arch Linux, macOS 14.5 (23F79) Graphics card: RTX 3090, M1 **Blender Version** Broken: LTS 4.2.3, 4.4.0 a (main.c72076aec850) Worked: Unknown, different behavior in LTS 3.6 but still broken During viewport playback coordinates generated by Texture Coordinates->Generated node do not work as expected. Open file, press Play. Notice cube in scene is textured with checker texture matching deformations of a cube. During playback in viewport switch to Solid mode, select/deselect objects or anything in viewport with click. Switch back to Material Preview/Rendered. Unless anything is selected/deselected in viewport with click again, texture on cube will "float". Both EEVEE and CYCLES Rendered modes are affected. LTS 3.6 "fixes" the issue itself after one loop of timeline. r_cddata_masks->vmask is set to have CD_MASK_ORCO but it does not work until something updates with user selecting/deselecting objects in viewport?
Poch added the
Status
Needs Triage
Severity
Normal
Type
Bug
labels 2024-10-28 13:01:45 +01:00
Poch changed title from Generated Texture Coordiantes broken during playback to Generated Texture Coordinates broken during playback 2024-10-28 13:18:24 +01:00
Member

I can confirm the issue in 4.2 and 4.3 (didn't test other versions). I'm not sure which module to assign this too as it impacts both render engines.

System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 565.90
Blender version: 4.3.0 Beta, branch: blender-v4.3-release, commit date: 2024-10-28 11:14, hash: f0125f26fd15

I can confirm the issue in 4.2 and 4.3 (didn't test other versions). I'm not sure which module to assign this too as it impacts both render engines. **System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 565.90 Blender version: 4.3.0 Beta, branch: blender-v4.3-release, commit date: 2024-10-28 11:14, hash: `f0125f26fd15`
Member

Seems that scene->customdata_mask did not get the updated value from win_combine_v3d_datamask.
I think the scene should be copied when the user switches viewport shading, so I tried to add DEG_id_tag_update(&scene->id, ID_RECALC_PARAMETERS); in rna_3DViewShading_type_update(). The problem is gone most of the time, but sometimes this still doesn't work. So not sure.

Seems that `scene->customdata_mask` did not get the updated value from `win_combine_v3d_datamask`. I think the scene should be copied when the user switches viewport shading, so I tried to add `DEG_id_tag_update(&scene->id, ID_RECALC_PARAMETERS);` in `rna_3DViewShading_type_update()`. The problem is gone most of the time, but sometimes this still doesn't work. So not sure.
Weizhen Huang added the
Interest
Dependency Graph
label 2024-10-29 20:14:53 +01:00

I did not get the idea why there might be some optional dependencies based on render mode type (render depend on scene data mask which is depend... on what? sorry if irrelevant). But this seems like this should be on Core module page since fix of this might introduce complete reevaluation of the scene for render mode switch.

I did not get the idea why there might be some optional dependencies based on render mode type (render depend on scene data mask which is depend... on what? sorry if irrelevant). But this seems like this should be on `Core` module page since fix of this might introduce complete reevaluation of the scene for render mode switch.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
4 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#129472
No description provided.