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
I created a 3D Nef Polyhedra composed of a single halfspace and then attempted to draw it using CGAL::draw() from draw_nef_3.h. The drawing window contains a rendering of the halfspace but it also contains a mysterious cube. It's not clear to me why a cube is being rendered - my code never issues a command to draw a Nef Polyhedra that looks like a cube. How can I get rid of this cube from the drawing? Is the cube supposed to be there?
I've tried drawing other 3D Nef Polyhedra and I never can seem to get this cube to disappear. It interferes when drawing more complex 3D Nef Polyhedra.
@andlarson can you confirm that this is the explanation? It might make sense to draw the cube only as wire frame, based on the Point_type documented here.
@afabri - that's again extended coordinates. I've added a new comment to my issue, which was closed in 2023 - no segmentation fault anymore, but the picture looks strange. Please see: #7377 (comment).
Issue Details
I created a 3D Nef Polyhedra composed of a single halfspace and then attempted to draw it using CGAL::draw() from
draw_nef_3.h
. The drawing window contains a rendering of the halfspace but it also contains a mysterious cube. It's not clear to me why a cube is being rendered - my code never issues a command to draw a Nef Polyhedra that looks like a cube. How can I get rid of this cube from the drawing? Is the cube supposed to be there?I've tried drawing other 3D Nef Polyhedra and I never can seem to get this cube to disappear. It interferes when drawing more complex 3D Nef Polyhedra.
Source Code
When I run this code, "Using OpenGL context 4.1 GL" is emitted.
Environment
The text was updated successfully, but these errors were encountered: