Particle color from instancer not right in render when "Use Modifier Stack" box is checked (Cycles) #85218

Closed
opened 2021-01-30 03:29:53 +01:00 by Donald L. Drennan · 6 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GT 710/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.75

Blender Version
Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: 5be9ef4177
Worked: (newest version of Blender that worked as expected)

Short description of error
Particle color inherited from instancer is disabled if there is a subdivision surface modifier above the particle modifier, and the "Use Modifier Stack" box is checked in the particle settings under the Source drop down.
Unchecking the box, or moving the particle modifier to the top fixes the problem.

Exact steps for others to reproduce the error

  • Download the attached project file
  • Enable Rendered viewport shading. Notice that the particles are colored properly
  • Select the Plane, switch to the Modifier Properties
  • Enable the subdivision modifier for the viewport and render. The particles placement should transform correctly, but the color is now black.

#85218.blend


Original instructions

Make plane, assign plane an image texture material, add subdivision surface modifier, add particle system, add a cube, assign cube to be the particles, give cube the same image in it's own material using the UV map from instancer. Particle cubes should now be the color from the spawning point of the instancer.
In the particle settings under Source check the "Use Modifier Stack" box. Put the subdivision surface modifier at the top of the stack. Particles will now turn gray in the render. In the Blend file I was working on, they showed the correct color, but the render color was gray. When I uncheck the "Use Modifier Stack" box, it renders correctly. In my test file, the render preview also shows gray particles. I'm not sure what the difference is. I'm including both Blend files.
Screenshot 2021-01-29 19.31.47.png
Particle test.blend

Bauble Test.blend
Render preview window
Screenshot 2021-01-26 17.20.48.png

test-1-28-21-2.jpg Actual render

Thanks! this took awhile to figure out. I think this is an actual bug, because I can see no reason this should cause this error.

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GT 710/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.75 **Blender Version** Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: `5be9ef4177` Worked: (newest version of Blender that worked as expected) **Short description of error** Particle color inherited from instancer is disabled if there is a subdivision surface modifier above the particle modifier, and the "Use Modifier Stack" box is checked in the particle settings under the Source drop down. Unchecking the box, or moving the particle modifier to the top fixes the problem. **Exact steps for others to reproduce the error** - Download the attached project file - Enable *Rendered* viewport shading. Notice that the particles are colored properly - Select the *Plane*, switch to the *Modifier Properties* - Enable the subdivision modifier for the viewport and render. The particles placement should transform correctly, but the color is now black. [#85218.blend](https://archive.blender.org/developer/F9605145/T85218.blend) ---- Original instructions Make plane, assign plane an image texture material, add subdivision surface modifier, add particle system, add a cube, assign cube to be the particles, give cube the same image in it's own material using the UV map from instancer. Particle cubes should now be the color from the spawning point of the instancer. In the particle settings under Source check the "Use Modifier Stack" box. Put the subdivision surface modifier at the top of the stack. Particles will now turn gray in the render. In the Blend file I was working on, they showed the correct color, but the render color was gray. When I uncheck the "Use Modifier Stack" box, it renders correctly. In my test file, the render preview also shows gray particles. I'm not sure what the difference is. I'm including both Blend files. ![Screenshot 2021-01-29 19.31.47.png](https://archive.blender.org/developer/F9604698/Screenshot_2021-01-29_19.31.47.png) [Particle test.blend](https://archive.blender.org/developer/F9604700/Particle_test.blend) [Bauble Test.blend](https://archive.blender.org/developer/F9604701/Bauble_Test.blend) Render preview window ![Screenshot 2021-01-26 17.20.48.png](https://archive.blender.org/developer/F9604713/Screenshot_2021-01-26_17.20.48.png) ![test-1-28-21-2.jpg](https://archive.blender.org/developer/F9604711/test-1-28-21-2.jpg) Actual render Thanks! this took awhile to figure out. I think this is an actual bug, because I can see no reason this should cause this error.

Added subscriber: @Spaceboy64

Added subscriber: @Spaceboy64

Added subscriber: @rjg

Added subscriber: @rjg

This does seem to be incorrect. I will try to simplify the example to see where at what part this is going wrong, but this might be an issue in the particle system code that is considered to be at its end of life and planned to be replaced.

This does seem to be incorrect. I will try to simplify the example to see where at what part this is going wrong, but this might be an issue in the particle system code that is considered to be at its end of life and planned to be replaced.

It seems that Use Modifier Stack results in the correct placement of the particles but the UV Map is wrong when From Instancer is enabled.

In the project below the texture emit-control is used in the hair particle system to control the density (see Texture Influence ). The cube is used as render object for the particle system. It has a material which uses the UV map of the instancer and uses this to sample the color from the texture color.

#85218.blend

It seems that *Use Modifier Stack* results in the correct placement of the particles but the UV Map is wrong when *From Instancer* is enabled. In the project below the texture `emit-control` is used in the hair particle system to control the density (see [Texture Influence ](https://docs.blender.org/manual/en/latest/physics/particles/texture_influence.html)). The cube is used as render object for the particle system. It has a material which uses the UV map of the instancer and uses this to sample the color from the texture `color`. [#85218.blend](https://archive.blender.org/developer/F9605145/T85218.blend)

This may be the same issues as reported in #57922.

This may be the same issues as reported in #57922.

Closed as duplicate of #57922

Closed as duplicate of #57922
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#85218
No description provided.