secondlife / jira-archive

2 stars 0 forks source link

[BUG-41302] PSYS_PART_CASTRAY_MASK or PSYS_PART_VOLUMETRIC_MASK (hell idk, just name it whatever you want) #12852

Open sl-service-account opened 7 years ago

sl-service-account commented 7 years ago

How would you like the feature to work?

similar to PSYS_PART_BOUNCE_MASK but un-restricted to a single axis.

Why is this feature important to you? How would it benefit the community?

Think of the possibilities: water particles in a tub, rain/snow that doesn't go through the roof, smoke grenades in buildings, artificial fog... long story short, I want more possibilities in particles.

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-41302 | | Summary | PSYS_PART_CASTRAY_MASK or PSYS_PART_VOLUMETRIC_MASK (hell idk, just name it whatever you want) | | Type | New Feature Request | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | Ghost Warblood (ghost.warblood) | | Created at | 2017-01-27T02:38:48Z | | Updated at | 2017-02-01T19:10:11Z | ``` { 'Business Unit': ['Platform'], 'Date of First Response': '2017-01-27T05:18:40.224-0600', 'How would you like the feature to work?': 'similar to PSYS_PART_BOUNCE_MASK but un-restricted to a single axis.', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'Why is this feature important to you? How would it benefit the community?': "Think of the possibilities: water particles in a tub, rain/snow that doesn't go through the roof, smoke grenades in buildings, artificial fog... long story short, I want more possibilities in particles.", } ```
sl-service-account commented 7 years ago

Lucia Nightfire commented at 2017-01-27T11:18:40Z

Would be nice to be able to specify a local bounding box size, bounding box type(box or elliptoid), exclusion/inclusion type(particles can't enter or can't leave the bounding box).

sl-service-account commented 7 years ago

Ghost Warblood commented at 2017-01-27T18:03:41Z

This does not relate to target masks, this is more of an alternative to BOUNCE_MASK.

sl-service-account commented 7 years ago

Ghost Warblood commented at 2017-01-27T18:40:28Z

ignore my previous comment, my brain just now understands what you meant...kinda

sl-service-account commented 7 years ago

Lucia Nightfire commented at 2017-01-27T23:10:08Z

It would probably be easier to just have PSYS_PART_EXCLUSION_VOLUME and PSYS_PART_INCLUSION_VOLUME flags which would use the object's size & physics shape as the volume of interest.

The big limitation is that this only applies to the particle emitter itself and no other prims.

That being said, it would be better if we could have a particle exclusion property for any prim/object which you could set via a function like llParticleExclusion().

The exlusion types could be:

Default - particles pass through. Exclusion - Particles outside die when they try to enter the link/object's physics shape or bounding box. Inclusion - Particles inside die when they try to leave the link/object's physics shape or bounding box. Exclusion_Repel - Particles outside defelect away when they try to enter the link/object's physics shape or bounding box. Inclusion_Repel - Particles inside deflect away when they try to leave the link/object's physics shape or bounding box. Allow_Internal_Sources - A property to allow internal sources(emitters inside an exclusion area) to emit particles. This may or may not be better as a default only.

This would then allow much greater freedom for effects with objects or particle sources entering and leaving a scene.

For example, this would allow creators to add particle exclusion properties to their buildings and vehicles so rain or snow particles created by other creator's weather making apps can't enter, but still allow any internal particle sources such as breath or cigarette or gunfire particles from avatar's attachments inside.

This would allow creators to add particle repel options to their objects so bullet and laser deflection could be achieved although a particle life repel modified may be necessary too.

Just a few thoughts of the possibilities.

sl-service-account commented 7 years ago

Ghost Warblood commented at 2017-01-27T23:48:47Z

trying to wrap my head around what you said, please forgive me if I don't quite understand things. what kind of effect would it have for particle systems using LINK_SET?