In this sample we showcase XPF semantic masks. We first create and setup a single XPF, loading the base layer:

then set a few semantic masks assigned to semantic IDs "doors","forge","worker" and "tools":

doors
forge
worker
tools
These semantic masks images can be created very easily through common 2D software tools (see this paper), with lower resolutions and using different formats (png, jpg).

We can also subscribe to semantic masks events via:
ATON.on("SemanticMaskHover", (semid)=>{ ... })
ATON.on("SemanticMaskLeave", (semid)=>{ ... })
ATON.on("SemanticMaskSelect", (semid)=>{ ... })

to customize how the app will react to panoramic semantic queries.

Panorama created by E. Demetrescu (CNR ISPC)
Powered by ATON