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
Line/Point inside solid not visible in ghosted mode unless viewed from specific angles.
To Reproduce
Steps to reproduce the behavior:
from compas.geometry import Line from compas.geometry import Point from compas.geometry import Box from compas_viewer.viewer import Viewer def create_viewer(): # draw inflated centerlines viewer = Viewer() viewer.renderer.camera.far = 1000000.0 viewer.renderer.camera.position = [1000.0, 1000.0, 1000.0] viewer.renderer.camera.pandelta = 5.0 viewer.renderer.rendermode = "ghosted" viewer.config.renderer.gridsize = (10000, 10000, 10000, 10000) # size, num, size, num return viewer viewer = create_viewer() box = Box.from_width_height_depth(1000, 100, 100) origin = Point(0, 0, 0) line = Line([0, 0, 0], [-1000, 0, 0]) viewer.scene.add(box) viewer.scene.add(origin) viewer.scene.add(line, show_lines=True) viewer.show()
Expected behavior
To see the entire length of the line through the solid.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Licini
No branches or pull requests
Line/Point inside solid not visible in ghosted mode unless viewed from specific angles.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To see the entire length of the line through the solid.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: