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
you have @ vectorboolean swift library deal boolean operations union looking for. haven't tried myself have heard things it.
Comments
Post a Comment