Keyed particles aren't affected by size mapping through colour ramp. #88715

Closed
opened 2021-06-01 06:14:36 +02:00 by Don Lio · 10 comments

particle problem submission.blend
System Information
Operating system: not relevant
Graphics card: not relevant

Blender Version
3.0.0

Short description of error
One is able to map the size of a particle based on it's lifetime using a texture, but sizes (as well as other attributes) are not affected if the particles are keyed with relations. To re-iterate, the steps below as described work with Newtonian physics, but not keyed.

Exact steps for others to reproduce the error
Create a mesh to act as an emitter
Select your emitter and go to Properties > Particles, click New.
In Properties > Particles > Render, click Object and choose the object that will be emitted as particles and its size.
Duplicate the object and under Particles > Physics > Physics Type, select Keyed
In Particles > Physics > Relations, create two relations and set the two objects you have in your scene as new particle targets
Go to your 3D view and press alt A to launch a preview of your emission animation, then stop it somewhere in its course.
In Properties > Particles > Textures, add New and give it a name.
In Properties > Textures > Type, choose Blend.
In Properties > Textures > Colors, click Ramp.
In Properties > Textures > Mapping > Coordinate > choose Strand/Particles.
In Properties > Textures > Influences, unclick Time and enable Size.
In Properties > Textures > Colors, adjust the Ramp controller to increase or decrease the size of your emitted object over time.

Keyed Physics
#88715.blend

No Physics
T88715_b.blend

[particle problem submission.blend](https://archive.blender.org/developer/F10155107/particle_problem_submission.blend) **System Information** Operating system: not relevant Graphics card: not relevant **Blender Version** 3.0.0 **Short description of error** One is able to map the size of a particle based on it's lifetime using a texture, but sizes (as well as other attributes) are not affected if the particles are keyed with relations. To re-iterate, the steps below as described work with Newtonian physics, but not keyed. **Exact steps for others to reproduce the error** Create a mesh to act as an emitter Select your emitter and go to Properties > Particles, click New. In Properties > Particles > Render, click Object and choose the object that will be emitted as particles and its size. Duplicate the object and under Particles > Physics > Physics Type, select Keyed In Particles > Physics > Relations, create two relations and set the two objects you have in your scene as new particle targets Go to your 3D view and press alt A to launch a preview of your emission animation, then stop it somewhere in its course. In Properties > Particles > Textures, add New and give it a name. In Properties > Textures > Type, choose Blend. In Properties > Textures > Colors, click Ramp. In Properties > Textures > Mapping > Coordinate > choose Strand/Particles. In Properties > Textures > Influences, unclick Time and enable Size. In Properties > Textures > Colors, adjust the Ramp controller to increase or decrease the size of your emitted object over time. Keyed Physics [#88715.blend](https://archive.blender.org/developer/F10152583/T88715.blend) No Physics [T88715_b.blend](https://archive.blender.org/developer/F10152584/T88715_b.blend)
Author

Added subscriber: @Dnatz

Added subscriber: @Dnatz
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm.

This is certainly unexpected, but looks like this is just not implemented (so not sure if this could be considered a bug -- esp. since "old" particles are EOL).
It is only a couple of lines, will post a patch.

Can confirm. This is certainly unexpected, but looks like this is just not implemented (so not sure if this could be considered a bug -- esp. since "old" particles are EOL). It is only a couple of lines, will post a patch.

This issue was referenced by 5b6e0bad1b

This issue was referenced by 5b6e0bad1bbc33faba2247602349942ce163b7df
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

@lichtwerk Can you share your example file to test this?

@Dnatz Next time it would be useful if you could share a simple example .blend file that shows the issue (this way one could save some time by not having to go through all the steps).

@lichtwerk Can you share your example file to test this? @Dnatz Next time it would be useful if you could share a simple example .blend file that shows the issue (this way one could save some time by not having to go through all the steps).
Member

In #88715#1168989, @JacquesLucke wrote:
@lichtwerk Can you share your example file to test this?

Sorry, forgot to add this to the report, added two files (one with keyed, one with no pysics)

> In #88715#1168989, @JacquesLucke wrote: > @lichtwerk Can you share your example file to test this? Sorry, forgot to add this to the report, added two files (one with keyed, one with no pysics)
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Philipp Oeser self-assigned this 2021-06-01 17:59:42 +02:00
Author

In #88715#1168956, @lichtwerk wrote:
Can confirm.

This is certainly unexpected, but looks like this is just not implemented (so not sure if this could be considered a bug -- esp. since "old" particles are EOL).
It is only a couple of lines, will post a patch.

I added another file at the top that i think demonstrates what i mean nicely

> In #88715#1168956, @lichtwerk wrote: > Can confirm. > > This is certainly unexpected, but looks like this is just not implemented (so not sure if this could be considered a bug -- esp. since "old" particles are EOL). > It is only a couple of lines, will post a patch. I added another file at the top that i think demonstrates what i mean nicely
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
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#88715
No description provided.