Vector pass errors with animated array, curve and subsurf modifier combined #41430

Closed
opened 2014-08-13 17:17:31 +02:00 by Ray Mairlot · 5 comments

System Information
Windows 7 64-bit, nvidia gtx 570

Blender Version
Broken: official 2.71 (9337574) and latest 64-bit build (7c9b8aa)
Worked: -

Short description of error
Using a specific combination of modifiers and keyframes the vector pass displays errors using Cycles, with the vector pass being displayed as a patchwork of faces instead of solid objects.

Using an array modifier, a curve modifier and then a subsurf modifier AND having kefyrames on the array's 'count' value causes this error to appear. Remove any one of the modifiers or the keyframes or remove the curve used by the curve modifier and the error does not appear.

The object has a 90 degree rotation animation just to get some vector data to appear.

Happens with both GPU and CPU render.

Exact steps for others to reproduce the error
Just render this file to see the effect: vector_animated_array_bug.blend:
Or just view this render: vector_animated_array_bug.png

To reproduce effect:

  1. Add array modifier.
  2. Animate the 'count' value to change over time.
  3. Add curve modifier.
  4. Add a curve and set it to be used by the curve modifier.
  5. Add a subsurf modifier.
  6. Animate the object to give it some movement, in my example it just rotates between 90 and 0 degrees.
  7. Choose a frame that has the object moving (e.g. middle of animation) and render.
  8. View vector pass in image editor.
**System Information** Windows 7 64-bit, nvidia gtx 570 **Blender Version** Broken: official 2.71 (9337574) and latest 64-bit build (7c9b8aa) Worked: - **Short description of error** Using a specific combination of modifiers and keyframes the vector pass displays errors using Cycles, with the vector pass being displayed as a patchwork of faces instead of solid objects. Using an array modifier, a curve modifier and then a subsurf modifier AND having kefyrames on the array's 'count' value causes this error to appear. Remove any one of the modifiers or the keyframes or remove the curve used by the curve modifier and the error does not appear. The object has a 90 degree rotation animation just to get some vector data to appear. Happens with both GPU and CPU render. **Exact steps for others to reproduce the error** Just render this file to see the effect: [vector_animated_array_bug.blend](https://archive.blender.org/developer/F102934/vector_animated_array_bug.blend): Or just view this render: ![vector_animated_array_bug.png](https://archive.blender.org/developer/F102937/vector_animated_array_bug.png) To reproduce effect: 1. Add array modifier. 2. Animate the 'count' value to change over time. 3. Add curve modifier. 4. Add a curve and set it to be used by the curve modifier. 5. Add a subsurf modifier. 6. Animate the object to give it some movement, in my example it just rotates between 90 and 0 degrees. 7. Choose a frame that has the object moving (e.g. middle of animation) and render. 8. View vector pass in image editor.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @RayMairlot

Added subscriber: @RayMairlot
Sergey Sharybin self-assigned this 2014-08-13 18:49:43 +02:00

Quite extreme case, will have a look, maybe it's solvable.

Quite extreme case, will have a look, maybe it's solvable.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

So the issue is that you actually modifying the geometry by the keyframes. In this case it's not really possible to distinguish which pars of objects were moved to where (that's NP-complex problem to do such a mapping) and hence both Cycles and BI expects that's objects are not changing their topology for the vector pass.

Would be nice to support with some fancy algorithm, but that's outside of the scope of the bug tracker and considered a TODO. Thanks for the report anyway.

So the issue is that you actually modifying the geometry by the keyframes. In this case it's not really possible to distinguish which pars of objects were moved to where (that's NP-complex problem to do such a mapping) and hence both Cycles and BI expects that's objects are not changing their topology for the vector pass. Would be nice to support with some fancy algorithm, but that's outside of the scope of the bug tracker and considered a TODO. Thanks for the report anyway.
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
2 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#41430
No description provided.