Get the example: 2.44 Occlusion with Physical Objects.gh (4.2 KB)
Fologram’s Sync Object component allows you to create your own occlusion geometries in augmented reality. This tool is perfect for situations where physical objects sit in front of geometry in your Fologram session.
1. Create a 3D model of your the physical object you are using to occlude
The easiest way to setup your physical object in Rhino is with a digital file of a physical 3D print you have, or a digital file of a fabrication object you are working with. In this example, I have measured a simple table and modelled it in Rhino
2. Sync these geometries to Fologram and apply the ‘Occlusion’ in the Sync Object component
Reference your Rhino geometry Grasshopper and connect to a ‘Sync Object’ component.Right click on the component and turn on the ‘Occlusion’ option. This will override any material customization.
3. Synchronise a geometry that sits inside or behind the occlusion geometry
Geometry with Occlusion on will appear invisible on your Fologram device. Create a separate geometry that sits inside or slightly behind your occluded geometry and synchronize it in Grasshopper.
4. Print of a Fologram QR code and align it to your physical object
Align your digital model to physical space with a QR code. Download the origin code here, or create your own custom QR code with the FologramQR command in Rhino.
5. Connect your device to your session and snap to the QR code
Connect your device and snap to the QR code in Edit mode. You will be able to move around the geometry and watch the occlusion effect live.
Occlusions are perfect for AR workflows that engage physical objects with digital objects. If you liked this article, check out our ‘Create portals to your model with Fologram’s occlusion tools’ to find more applications for occlusion materials in Fologram.