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

Rendering improvements: better caching of tessellations. #53

Open
vibraphone opened this issue Feb 5, 2015 · 1 comment
Open

Rendering improvements: better caching of tessellations. #53

vibraphone opened this issue Feb 5, 2015 · 1 comment

Comments

@vibraphone
Copy link
Member

The current caching mechanism for vtkModelMultiBlockSource requires every polydata to be rebuilt, even when this is not necessary. Instead, only new and modified entities should be retessellated. This will be tricky because some modeling kernels (discrete, cgm) reuse the same entity handle for some operations (e.g. the Translate operator, the workpiece bodies in the boolean operators, etc.). In this case, we'll probably have to save a generation number with each PolyData and find some way to force changes on select entities of a model.

@vibraphone
Copy link
Member Author

Methods in the model Manager that set the tessellation now add/increment a generation number. See SMTK_TESS_GEN_PROP (and the matching property for analysis meshes).

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