ios - Can I union multiple transparent SCNShape objects? -


i'm adding multiple transparent scnshape objects arscnsceneview scene.

  • these shapes based on user input , should overlap.
  • they flat shapes made uibezierpath on same plane
  • shapes has transparent, user can see camera input behind

the problem overlapping shapes visible, , i'd show single shape - union of shapes.

failed approaches:

  • putting under same node , use parent opacity.
  • merging uibezier paths.
  • blend modes
  • transparency modes
  • drawing using primitive triangles instead of uibezierpath

wanted vs current results

you have @ vectorboolean swift library deal boolean operations union looking for. haven't tried myself have heard things it.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -