SPOT LIGHT
The output options become visible when a POINT-LIGHT is selected.
Select the variables you want to output and click on the Print Light Hotspots
button.
Output Options
- comment object-name and type
- hotspot to output as krpano hotspot xml
- name the object name
- basic-settings can be defined in the add-on preferences
- style user input
- mode light mode (SUN, POINT, SPOT)
- location ath/atv
- distance
- target
- angle
- penumbra
- intensity
- color
- castshadow
Output Examples
- pca.txt
- pca.JSON
<!-- Name=Spot | Type=LIGHT -->
name="Spot"
type="threejslight" keep="true"
style="spotlight"
mode="spot"
tx="-961.98" ty="-0.0" tz="274.09"
targetx="-961.98" targety="1414.21" targetz="1688.3"
angle="45.0"
penumbra="0.15"
distance="2000.0"
intensity="20.0"
color="0x47FFF8"
castshadow="true"
If the hotspot
checkbox is activated, the output is formatted as krpano-hotspot xml:
<!-- Name=Spot | Type=LIGHT -->
<hotspot name="Spot"
style="spotlight"
tx="-961.98" ty="-0.0" tz="274.09"
targetx="-961.98" targety="1414.21" targetz="1688.3"
angle="45.0"
distance="2000.0"
/>
[
{
"name": "Spot",
"style": "spotlight",
"mode": "spot",
"location": [
-961.98,
-0.0,
274.09
],
"target": [
-961.98,
1414.21,
1688.3
],
"angle": 45.0,
"penumbra": 0.15,
"distance": 2000.0,
"intensity": 20.0,
"color": "0x47FFF8",
"castshadow": true
}
]