You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

publicitarios360

Intermediate

  • "publicitarios360" started this thread

Posts: 205

Location: Habana, Cuba

Occupation: Architect, Photographer, Programmer.

  • Send private message

1

Saturday, August 12th 2017, 6:49pm

Polygonal Hotspot Bug

Rare behavior of Polygonal hotspot (polyline="true") when change the view 45 degree: The hotspot polygonal generate a new line that joins the first and last node.

See the example:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<krpano>

<preview type="grid(cube,128,128,512,0xCCCCCC,0xF6F6F6,0x999999);" />

<layer name="info"
type="text"
css="font-size:24px;"
align="centerbottom"
html="info: krpano 1.19-pr10[br]Flashplayer WIN 11.9.300.257 Plugin"
/>

<layer name="paning"
type="text"
css="font-size:24px;"
align="centertop"
html="Click me to view the hs-poly error: [br]
the polyline is closed -polygon-"
onclick="lookto(45,0);"
/>

<hotspot name="hs1" fillcolor="0x000000"  borderwidth="4" bordercolor="0xff0000" 
	         polyline="true"
	         >
		<point ath="45.0" atv="19.577697" />
		<point ath="26.691482" atv="-0.504822" />
		<point ath="0.791016" atv="26.517648" />
		<point ath="-26.51983" atv="-0.101118" />
		<point ath="-45.0" atv="19.435697" />
	</hotspot>

</krpano>

This post has been edited 2 times, last edit by "publicitarios360" (Aug 15th 2017, 4:40am) with the following reason: change title and introduction for clarify the post


2

Tuesday, August 15th 2017, 10:18am

Hi,

thanks for the report!
Yes the 3d-clipping code wasn't handling the polyline case.

This will be fixed in the next release.

Best regards,
Klaus