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

Occluder Support #194

Open
2 tasks
dpogue opened this issue Sep 5, 2020 · 0 comments
Open
2 tasks

Occluder Support #194

dpogue opened this issue Sep 5, 2020 · 0 comments

Comments

@dpogue
Copy link
Member

dpogue commented Sep 5, 2020

Occluders are geometry that block the rendering of objects fully behind them. This allows for render optimization without needing to manually set up visregions on all the objects.

The goal is adding a modifier to korman to mark an object (usually a plane or series of planes) as an occluder, and the associated export code to generate the plOccluder object. The python bindings already exist in PyHSPlasma, but may need updating.

Tasks:

  • Create a new korman modifier to mark an object as an occluder.
    • Put it with the rest of the rendering-related modifiers?
    • I don't think it needs any options? I guess it allows a list of visregions, but that might be overkill in a first version
  • Set up export code to take each face of the object and construct a plCullPoly for it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant