Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Falloff Node #96

Open
jonassorgenfrei opened this issue Feb 12, 2022 · 5 comments
Open

Falloff Node #96

jonassorgenfrei opened this issue Feb 12, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@jonassorgenfrei
Copy link
Collaborator

This node idea came up at work and already had a quick chat with @falkhofmann about it.

The goal is to have a spherical fall off node which reduces the alpha based on a falloff ramp and radius parameters.

Inputs:

  • deep
  • camera
  • axises to have one or multiple sphere centers

Parameters:

  • opaque radius
  • additional falloff radius
  • ramp to define the falloff
  • toggle if axis input should be used or fall off around camera

-> if points are outside of falloff radius drop the deep samples otherwise multiply alpha
-> the axis shall be able to be animated so the fall of center be move, so it can be easy later to parent the axis to animations

I thinks this tool sounds straight forward and is not to complicated to implemented with the already existing code as reference. So i think ill be able to implement it.

If you have any toughts or additional ideas about this tool please write them in the comments to this ticket :)

@jonassorgenfrei jonassorgenfrei added the enhancement New feature or request label Feb 12, 2022
@jonassorgenfrei jonassorgenfrei self-assigned this Feb 12, 2022
@charlesangus
Copy link
Owner

charlesangus commented Feb 13, 2022 via email

@jonassorgenfrei
Copy link
Collaborator Author

Yeah but this would need the Masks to be created in a previous step.
So the idea would be to create this "virtual" masks on the fly by just plugging in an (pos. animated) axis or multiple ones.
The idea would be to use this to relight fog/volume deep point clouds with point lights and spherical falloffs.

@charlesangus
Copy link
Owner

charlesangus commented Feb 13, 2022 via email

@jonassorgenfrei
Copy link
Collaborator Author

jonassorgenfrei commented Feb 13, 2022

Okay got it. Totally makes sense and i'm a fan of more modular structures aswell tho.

So you would suggest to:
-> enhace the DeepCPMatte Node with an optional (or multiple) axis to input
-> the mask will be stored on the deep data
-> we add an DeepCMask node, that can mask any channel by any given mask already on deep?

Please correct me if I got something wrong.

Does it make sense to add an optional falloff ramp from the center to the DeepCMatte then tho or would you do this in a kind of post process?

@charlesangus
Copy link
Owner

charlesangus commented Feb 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants