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

Studio(bug): Meshing using dual-contouring results in rendering errors #485

Open
Kreyren opened this issue Dec 21, 2021 · 0 comments
Open

Comments

@Kreyren
Copy link
Contributor

Kreyren commented Dec 21, 2021

2021-12-21_01-14

(set-bounds! [-10 -10 -10] [10 10 10])
(set-quality! 8)
(set-resolution! 10)

(define (test x y z)
  "FIXME-DOCS"
  (extrude-z
    (intersection
      (half-space [7.65 0 0] [7.65 0 0])
      (half-space [0 7.65 0] [0 7.65 0])
      (half-space [1 0 0] [0 0 0])
      ;;(half-space [0 0 0] [0 0 0])
    )
  0 1))
  
(test 1 2 3)

Steps to reproduce

  1. Get Studio editor and libfive
  2. Paste the code above with dual-contouring meshing and expect unexpected shape rendered

Expected

Render correctly e.g. iso-simplex meshing renders a saner shape

2021-12-21_01-17

Versions

  • Operating system: GNU Guix (f80b5c3d2f04ada0cb2534edb12da5a58eed94ce)
  • libfive commit hash: Unknown
    • Is this the latest commit to master? Unknown
  • Qt version (if applicable): Unknown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant