https://github.com/cambriantech/cambrianar
paint SDK
https://github.com/cambriantech/cambrianar
Last synced: 7 months ago
JSON representation
paint SDK
- Host: GitHub
- URL: https://github.com/cambriantech/cambrianar
- Owner: CambrianTech
- Created: 2020-02-29T01:49:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-15T19:56:22.000Z (about 6 years ago)
- Last Synced: 2025-06-14T02:43:34.059Z (12 months ago)
- Language: Objective-C
- Size: 5.12 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cambrian Home Augmentation SDK
Implementation is made to be as simple as possible, handling computer vision and rendering tasks under the hood without interaction from the application. The entire core SDK is encapsulated within a single UIView that can be placed within a storyboard.
## Primary components
- View
Holds everything, manages state and lifecycle
- Scene
Holds information about current image/video being edited Assets, lighting, masks, etc
- Asset
Generic parent type for remodeling types. Paint, floor, furniture, etc
## CBRemodelingView
- Parent object of the Cambrian Home Augmentation SDK
- Responsibilities
- Lifecycle
- Maintaining state
- Setting tool modes for interaction
## CBRemodelingScene
Container for all information about current image or video being edited Responsibilities:
- Initialization of image/video to be edited
- Storing and modifying assets (paints, floors, furniture, etc)
- Saving a fully-editable image that can be loaded later Storing and modifying lighting and color temperature
## CBRemodelingPaint
Paint-specific asset object
- A mutable container for paint data, allowing hot-swapping of any paint information while maintaining existing masks, in still or video
- Values:
- Color
- Transparency (For stains) Sheen (Gloss level)
- UserData - for storing any value within the asset, typically ID’s or history
For specific example code, follow this link:
[See full documentation](sdk-documentation.pdf)