secondlife / jira-archive

2 stars 0 forks source link

[BUG-233266] New particle flag: PSYS_PART_CONFETTI_MASK #10386

Open sl-service-account opened 1 year ago

sl-service-account commented 1 year ago

How would you like the feature to work?

PSYS_PART_CONFETTI_MASK

A new PSYS_PART_FLAGS mask value that when set, would cause particles to be drawn on 2D planes that aren't locked to facing the viewer's camera. Instead, each particle would be given a random rotation to spin on at a constant rate throughout its lifetime. As the name implies, the intent is to mimic pieces of confetti tumbling randomly through the air.

Ideally this would be compatible with most other existing particle parameters, perhaps with the exception of PSYS_PART_RIBBON_MASK. If the ribbon mask is set, it should probably override the confetti mask's effects.

Regarding PSYS_PART_FOLLOW_VELOCITY_MASK, it may be interesting to limit the spin to occur around the particle's local Z axis, while still having the particle's "top" orient itself in the direction of movement. If this is too performance intensive, then it might be best to also ignore this mask when the confetti mask is set.

Two additional PSYSSRC* parameters are optionally suggested to allow the user to specify a minimum and maximum speed at which the confetti particles will spin. I assume these would be ignored if PSYS_PART_CONFETTI_MASK is not set... unless others find it useful to be able to spin classic particles (since those always face the camera, they would in effect only be able to spin clockwise or counterclockwise). Setting speeds of 0 would be valid, causing the particles to not continuously spin, but sill have a random initial orientation at the time of their creation.

Particle Motion Rule Parameter Description
- - - -
PSYS_SRC_SPIN_SPEED_MIN float speed_min Specifies the minimum value of a random range of values which is selected for each particle in a burst as its initial spin speed upon emission.
PSYS_SRC_SPIN_SPEED_MAX float speed_max Specifies the maximum value of a random range of values which is selected for each particle in a burst as its initial spin speed upon emission.



# Why is this feature important to you? How would it benefit the community?
I feel this could be useful to content creators as it expands upon the visual effects possible with particles. Just as interesting new effects were created with ribbon particles, I think it would be valuable to bring some of that semi 3D feel to be used with the other existing patterns without the constraint of joining the particles together as ribbon does.

Thank you for any consideration.|

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-233266 | | Summary | New particle flag: PSYS_PART_CONFETTI_MASK | | Type | New Feature Request | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | Fenix Eldritch (fenix.eldritch) | | Created at | 2023-01-27T21:32:25Z | | Updated at | 2023-02-08T19:04:02Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2023-02-08T13:03:58.676-0600', 'How would you like the feature to work?': 'PSYS_PART_CONFETTI_MASK\r\n\r\nA new PSYS_PART_FLAGS mask value that when set, would cause particles to be drawn on 2D planes that aren\'t locked to facing the viewer\'s camera. Instead, each particle would be given a random rotation to spin on at a constant rate throughout its lifetime. As the name implies, the intent is to mimic pieces of confetti tumbling randomly through the air.\r\n\r\nIdeally this would be compatible with most other existing particle parameters, perhaps with the exception of PSYS_PART_RIBBON_MASK. If the ribbon mask is set, it should probably override the confetti mask\'s effects.\r\n\r\nRegarding PSYS_PART_FOLLOW_VELOCITY_MASK, it may be interesting to limit the spin to occur around the particle\'s local Z axis, while still having the particle\'s "top" orient itself in the direction of movement. If this is too performance intensive, then it might be best to also ignore this mask when the confetti mask is set.\r\n\r\nTwo additional PSYS_SRC_* parameters are optionally suggested to allow the user to specify a minimum and maximum speed at which the confetti particles will spin. I assume these would be ignored if PSYS_PART_CONFETTI_MASK is not set... unless others find it useful to be able to spin classic particles (since those always face the camera, they would in effect only be able to spin clockwise or counterclockwise). Setting speeds of 0 would be valid, causing the particles to not continuously spin, but sill have a random initial orientation at the time of their creation.\r\n||Particle Motion||\r\n|PSYS_SRC_SPIN_SPEED_MIN|Specifies the minimum value of a random range of values which is selected for each particle in a burst as its initial spin speed upon emission.|\r\n|PSYS_SRC_SPIN_SPEED_MAX|Specifies the maximum value of a random range of values which is selected for each particle in a burst as its initial spin speed upon emission.|', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'Why is this feature important to you? How would it benefit the community?': 'I feel this could be useful to content creators as it expands upon the visual effects possible with particles. Just as interesting new effects were created with ribbon particles, I think it would be valuable to bring some of that semi 3D feel to be used with the other existing patterns without the constraint of joining the particles together as ribbon does.\r\n\r\nThank you for any consideration.', } ```
sl-service-account commented 1 year ago

Spidey Linden commented at 2023-02-08T19:03:59Z

Issue accepted. We have no estimate when it may be implemented. Please see future release notes for this fix.