-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Highlight negative regions when rendering using Manifold #5047
Comments
kintel, see this one https://github.com/gsohler/openscad/blob/color/src/geometry/manifold/ManifoldGeometry.cc#L114-L117 |
BTW my code is wrong should be: for(int i=0;i<mesh.runIndex.size();i+=2) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using the (default) CGAL Nef polyhedron backend, F6 rendering results in "negative surfaces" (cutouts) being rendering in a different color. We should implement the same for the Manifold backend.
Example for a difference between a sphere and a cube:
A similar feature is demoed on https://manifoldcad.org/#Tetrahedron%20Puzzle
A related opportunity with Manifold is to also support preserving
color()
in F6 rendering. A prototype has shown that this is doable in OpenSCAD. Keep that in mind when solving this ticket by making the rendering backend flexible enough to handle multiple colors.The text was updated successfully, but these errors were encountered: