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

Movement of section plane is of #1762

Open
tvaessen opened this issue Dec 10, 2024 · 0 comments
Open

Movement of section plane is of #1762

tvaessen opened this issue Dec 10, 2024 · 0 comments
Labels
question Further information is requested

Comments

@tvaessen
Copy link

Hello,

We are trying to get the section plane implemented in our system, but we are having issues with the movement (mainly the rotation, but also moving left/right/up/down). The movement isn't smoot and seems at times counter intuitive. Also we something get almost no movement or a flip of the section plane.

See the gif.

XeokitSectionPlane

We tried setting only minimal settings in the camera but that gave no improvement. We currently have the following settings
`const sectionPlanes = new SectionPlanesPlugin(viewer, {
overviewVisible: false
});

const bimViewer = new BimViewer(viewer, distanceMeasurements, sectionPlanes, fastNavPlugin, "ContextMenu");
window.bimViewer = bimViewer;

viewer.camera.eye = [-3.06, 8.19, 11.253];
viewer.camera.look = [6.22, 5.84, -2.10];
viewer.camera.up = [0.08, 0.98, -0.11];
viewer.storyViewerUsed = false;
viewer.camera.perspective.far = 12000.0;
viewer.camera.orbitPitch(20);

viewer.cameraControl.followPointer = true;
viewer.cameraControl.inertia = 0.75;
viewer.cameraControl.pivotElement = pivotElement;

viewer.scene.xrayMaterial.fill = false;
viewer.scene.xrayMaterial.edgeAlpha = 0.4;
viewer.scene.xrayMaterial.edgeColor = [0, 0, 0];`

Any help would be greatly appriciated.

Kind regards,
Tom Vaessen

@tvaessen tvaessen added the question Further information is requested label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant