We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A new DetailCullPlugin will accelerate camera interaction by culling less visually-interesting objects while the camera is moving.
DetailCullPlugin
For each Entity that represents an object in your Viewer, DetailCullPlugin will automatically mark it culled whenever
Entity
Viewer
When culled, an Entity is not processed by xeokit's renderer, leading to a significant speedup.
Use DetailCullPlugin by simply adding it to your Viewer.
const viewer = new Viewer({ canvasId: "myCanvas", transparent: true }); const detailCullPlugin = new DetailCullPlugin(viewer, { // TODO }); const xktLoader = new XKTLoaderPlugin(viewer); const model = xktLoader.load({ id: "myModel", src: "./models/xkt/OTCConferenceCenter/OTCConferenceCenter.xkt", metaModelSrc: "./metaModels/OTCConferenceCenter/metaModel.json" });
The text was updated successfully, but these errors were encountered:
xeolabs
No branches or pull requests
Detail Culling
A new
DetailCullPlugin
will accelerate camera interaction by culling less visually-interesting objects while the camera is moving.For each
Entity
that represents an object in yourViewer
,DetailCullPlugin
will automatically mark it culled wheneverEntity
is a certain IFC type, orEntity
is above a certain complexity and below a certain size.When culled, an
Entity
is not processed by xeokit's renderer, leading to a significant speedup.Use
DetailCullPlugin
by simply adding it to yourViewer
.The text was updated successfully, but these errors were encountered: