You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Issue:
When loading multiple split scenes I have the problem that the splats from the different split scenes overlap. Loading multiple scenes also results in lower performance.
Is there a way to dynamically load the splatscenes individually? I had already tried filtering the nodes by Center or ID to only render certain parts of the splatscene. However, as I understand it, the splats of all splatscenes are assigned to the nodes together, without distinguishing from which splatscene they originally come.
The rendered splats are determined in the this function based on the nodes:
gatherSceneNodesForSort = function()
i added a simple filter, to let nodes pass, based on their id's. but this doesnt work, becaused the ids have no reference to their splatscene origin.
}
`
This problem could be fixed by assigning the nodes (node.id) based on the their splatscene origin. But this would also cause nodes with overlapping splats if the spatscenes are to close together. Is there a way to implement this?
The text was updated successfully, but these errors were encountered:
Sorry for the late reply! Unfortunately the nodes referenced in gatherSceneNodesForSort() have no direct correlation with splat scenes. They are sections of the octree used to partition the scene for efficient raycasting and splat culling, and can contain splats from multiple scenes, so you can't filter them to hide splats from only one splat scene.
Is your goal to hide/show individual splat scenes dynamically? There's not a great way to toggle the visibility of a splat scene at runtime (maybe I should implement something like that). However you can unload a splat scene at runtime using Viewer.removeSplatScene() It's a little slow, so you probably don't want to use it frequently. At some point in a future release I will try to add functionality to hide or show splat scenes dynamically!
To start: Great job.
My Issue:
When loading multiple split scenes I have the problem that the splats from the different split scenes overlap. Loading multiple scenes also results in lower performance.
` // Load multiple splatscenes
Is there a way to dynamically load the splatscenes individually? I had already tried filtering the nodes by Center or ID to only render certain parts of the splatscene. However, as I understand it, the splats of all splatscenes are assigned to the nodes together, without distinguishing from which splatscene they originally come.
The rendered splats are determined in the this function based on the nodes:
gatherSceneNodesForSort = function()
i added a simple filter, to let nodes pass, based on their id's. but this doesnt work, becaused the ids have no reference to their splatscene origin.
`
if (node.id <= 8000) {
}
`
This problem could be fixed by assigning the nodes (node.id) based on the their splatscene origin. But this would also cause nodes with overlapping splats if the spatscenes are to close together. Is there a way to implement this?
The text was updated successfully, but these errors were encountered: