You are on page 1of 10

Inglobe Technologies 2008/2011

AR-media












TUTORIALS
OCCLUDERS
(June, 2011)








AR-media Tutorials

Inglobe Technologies 2008/2011

Copyright

Copyright 2008/2011 Inglobe Technologies S.r.l. All rights reserved. No part of this publication
may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any
language or computer language, in any form or by any means, electronic, mechanical, magnetic,
optical, chemical, manual or otherwise, without the prior written permission of Inglobe
Technologies S.r.l.
AR-media Tutorials
Inglobe Technologies 2008/2011

TUTORIAL - OCCLUDERS
INTRODUCTION
Occluders are a special kind of virtual objects that are not displayed during the simulation, but that can hide
any other virtual object. Usually you use occluders when you want to use real objects (found in the
environment where the augmented reality experience takes place) to hide your 3D models. This process
involves the accurate modeling of the real object and then the designation of that object in order to make it
an occluder.
EXAMPLE VIRTUAL POOL
One not trivial but very interesting usage of occluders is the creation of virtual holes. This tutorial will
teach you how to create the virtual hole effect, for example you can create the illusion of a swimming pool
standing right next to you. An example of a virtual pool is shown in the following figure.

Step 1: modeling
First of all, you must create the hole itself and then the ground. For this tutorial, well create a virtual
swimming pool which will cover the marker and create the illusion of it being built into the floor.
Creating the ground: create a rectangle with each side about 300 units long. Center the plane at the origin
(0, 0, 0).
Inglobe Technologies 2008/20
Draw the pool outline on this surface as you want. We will use the
Inglobe Technologies 2008/2011
Draw the pool outline on this surface as you want. We will use the Freehand tool.
AR-media Tutorials


Inglobe Technologies 2008/20
Select the inner face and Cut it (Ctrl+X
Select the whole face and all the edges and
operation will make the ground selectable in the Plugin.
Creating the swimming pool: paste
the ground and move it exactly when it was before.
Select the face and use the Offset tool
swimming pool
Inglobe Technologies 2008/2011
Ctrl+X or Cmd+X for Mac OS X version).
Select the whole face and all the edges and create a new Component (Edit -> Make
operation will make the ground selectable in the Plugin.
the face (Ctrl+V or Cmd+V for Mac OS X version)
it exactly when it was before.
tool and then the Pushpull tool to create the outer border
AR-media Tutorials

> Make Component). This
for Mac OS X version) that you just cut from

to create the outer border of the
Inglobe Technologies 2008/20
Select the inner face and create the pool by using the
Select the pool base face, copy it (Ctrl+
Inglobe Technologies 2008/2011
face and create the pool by using the Pushpull tool.
Ctrl+C or Cmd+C on Mac OS X) and paste it at the top of pool border.
AR-media Tutorials


on Mac OS X) and paste it at the top of pool border.
Inglobe Technologies 2008/20
Select the whole pool (faces and edges)
face and assign it a concrete material.
material.
At the end of the procedure, you should obtain something like the

Select again all the faces and edges of the pool and
procedure will make the whole object pool to be se

Inglobe Technologies 2008/2011
Select the whole pool (faces and edges) and assign it a material for the pool, then select the outer border
face and assign it a concrete material. Finally, select the top face of the water and assign
At the end of the procedure, you should obtain something like the following image
Select again all the faces and edges of the pool and group them together (Edit-> Make Group
make the whole object pool to be selectable during the Marker setup.
AR-media Tutorials

, then select the outer border
Finally, select the top face of the water and assign it a water
> Make Group). This
during the Marker setup.
Inglobe Technologies 2008/20
Adding details to the scene: now that you created the
ground), you are free to add some details to the scene. As you can see, we added some chairs, a ball and a
beach umbrella.
Step 2: markers setup
Open the Plugin interface (Plug-ins -
from the library and click the Add button
selected, click the Setup button; the marker setup window will appear, click the
everything is fine with your scene, then the marker should be
adjust the marker size by editing the
displayed during the simulation, anyway, once you
pool boundaries, you can hide it again by un
Inglobe Technologies 2008/2011
now that you created the two main objects (the swimming pool and the
ground), you are free to add some details to the scene. As you can see, we added some chairs, a ball and a
-> ARPlugin -> Setup from the menu); choose the
button; go to the Active Markers list and, with the chosen marker
the marker setup window will appear, click the Show marker
everything is fine with your scene, then the marker should be floating on the water, if it is not, then
adjust the marker size by editing the Size box) - the marker object is just a placeholder that wont be
displayed during the simulation, anyway, once you have assured that its boundaries does not exceed the
, you can hide it again by un-checking the Show marker option.
AR-media Tutorials
objects (the swimming pool and the
ground), you are free to add some details to the scene. As you can see, we added some chairs, a ball and a

the AR-Media marker
with the chosen marker
Show marker option (if
floating on the water, if it is not, then
just a placeholder that wont be
s boundaries does not exceed the
Inglobe Technologies 2008/20
Select all visible objects created so far
youre adding every object the marker you cannot use the
some of the objects separately from each other)
objects youve selected; click the View
As youll notice the result is not what you may want: the ground
scene from an angle youll see the pool
Step 3: choosing the occluder
In the marker setup window go to the
Properties button
Inglobe Technologies 2008/2011
far; in the marker setup window click the Include
youre adding every object the marker you cannot use the Include All button because youll need to treat
some of the objects separately from each other); the list of Attached Objects will be populated by the
View button to preview the scene.
what you may want: the ground plane is still visible and if you
pool box. Next step will fix the problem.
n the marker setup window go to the Attached Objects list, select the ground object
AR-media Tutorials
Include button (even though
button because youll need to treat
l be populated by the
visible and if you look at the
object and click the

Inglobe Technologies 2008/20
in the window that will open, click the
Conclusion
This technique is quite general: obviously
you want. You can also make the ground plane (
that you have an accurate model of a
Inglobe Technologies 2008/2011
in the window that will open, click the Occluder option and close the window
obviously you can change the shape of the swimming pool
. You can also make the ground plane (i.e. the occluder) not a plane at all, what is important is
that you have an accurate model of a real object (planar or not) that is occluding the virtual
AR-media Tutorials

swimming pool with any type
) not a plane at all, what is important is
real object (planar or not) that is occluding the virtual hole object.

You might also like