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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -