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

Controlling Agent Visibility #116

Open
Robadob opened this issue Feb 16, 2023 · 0 comments
Open

Controlling Agent Visibility #116

Robadob opened this issue Feb 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Robadob
Copy link
Member

Robadob commented Feb 16, 2023

E.g.

  • Can we opt out of rendering agent's in a given state (Sorted by Visualiser: Allow agent states to be hidden. FLAMEGPU2#1041)
  • Can we use an agent variable to toggle visible/hidden
    • Should it be int treated as bool, or float with a custom condition?
  • Can we use an agent variable to scale alpha (No, blending would require back-to-front rendering, requiring sorting of all agents to be drawn, not feasible.).

Current workout to hide agents would be to pass an invalid scale value such as NaN,

Suggested by Jack A

@Robadob Robadob added the enhancement New feature or request label Feb 16, 2023
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

1 participant