Polygon Hotspots
- PCA translate all position information for each point of the selected MESH and outputs it as krpano xml code
- You can enter a name and a style
- You can print multiple hotspots at once
- You can split 3 dimensional objects into several flat objects
How to use
- Create your polygonal hotspot model. The object must contain polygon(s) and must be flat (or almost flat).
- Select the object and press the
Print Points3D
. - The XML code is output in a text file in the text editor.
warning
During the process, the MESH is converted into a CURVE in order to select the correct sequence of verticies. This can cause the loss of UV-layou and materials.
So make sure that only objects that you want to use as PolySpot are selected!
Mesh splitter
If your hotspot mesh is not flat, you can split it into several flat objects. Each face will becomes a seperate object.
- select the model and press the
Split Mesh
button - select all splitted model parts and hit the
Print Points3D
button.
Output
<!-- Object: arrow -->
<hotspot name="PolySpot1" style="MyStyle" points3d="100.0, -0.0, -100.0, -316.45, -0.0, -100.0, -316.45, -39.39, -100.0, 100.0, -39.39, -100.0" />
<!-- Object: arrow.001 -->
<hotspot name="PolySpot2" style="MyStyle" points3d="401.4, -39.39, 0.0, 401.4, -0.0, 0.0, 100.0, -0.0, -161.55, 100.0, -39.39, -161.55" />
<!-- Object: arrow.002 -->
<hotspot name="PolySpot3" style="MyStyle" points3d="401.4, -39.39, 0.0, 401.4, -0.0, 0.0, 100.0, -0.0, 161.55, 100.0, -39.39, 161.55" />
<!-- Object: arrow.003 -->
<hotspot name="PolySpot4" style="MyStyle" points3d="100.0, -0.0, 100.0, 100.0, -39.39, 100.0, -316.45, -39.39, 100.0, -316.45, -0.0, 100.0" />
<!-- Object: arrow.004 -->
<hotspot name="PolySpot5" style="MyStyle" points3d="-316.45, -0.0, 100.0, -316.45, -39.39, 100.0, -316.45, -39.39, -100.0, -316.45, -0.0, -100.0" />
<!-- Object: arrow.005 -->
<hotspot name="PolySpot6" style="MyStyle" points3d="100.0, -0.0, -100.0, 100.0, -0.0, 100.0, -316.45, -0.0, 100.0, -316.45, -0.0, -100.0" />
<!-- Object: arrow.006 -->
<hotspot name="PolySpot7" style="MyStyle" points3d="100.0, -0.0, -161.55, 100.0, -0.0, -100.0, 100.0, -39.39, -100.0, 100.0, -39.39, -161.55" />
<!-- Object: arrow.007 -->
<hotspot name="PolySpot8" style="MyStyle" points3d="401.4, -0.0, 0.0, 100.0, -0.0, 161.55, 100.0, -0.0, -161.55" />
<!-- Object: arrow.008 -->
<hotspot name="PolySpot9" style="MyStyle" points3d="100.0, -39.39, 161.55, 100.0, -39.39, 100.0, 100.0, -0.0, 100.0, 100.0, -0.0, 161.55" />
<!-- Object: arrow.009 -->
<hotspot name="PolySpot10" style="MyStyle" points3d="100.0, -39.39, -100.0, 100.0, -39.39, 100.0, -316.45, -39.39, 100.0, -316.45, -39.39, -100.0" />
<!-- Object: arrow.010 -->
<hotspot name="PolySpot11" style="MyStyle" points3d="401.4, -39.39, 0.0, 100.0, -39.39, 161.55, 100.0, -39.39, -161.55" />