Sie sind nicht angemeldet.

1

Montag, 21. Februar 2011, 11:50

plugin align

Hi all!
I practise the krpano tools.

In the plugin node, I try to align the plugin to the right or other position, but the result is always in left, whatever the attribute I reset, it seems not working.
can you tell me where is wrong
Thanks

Quellcode

1
<plugin name="direction" url="1.tiles/cursor1.png" align="righttop" edge="righttop" x="100" y="100"/>
"

to2hov

Schüler

Beiträge: 57

Wohnort: Bulgaria

Beruf: Panoramic Photography

  • Nachricht senden

2

Montag, 21. Februar 2011, 12:05

Show more of the code and example on air.... your code looks good ;) accept that I usually use "topright" instead of "righttop"

3

Montag, 21. Februar 2011, 12:25

Hi to2hov, thanks
These are the codes, you know, i just learning the krpano, I try to pratise the attribute functions.
I use the "topright" as you said, but it also not works, what's wrong?

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<krpano version="1.0.6">
	<display fps="60" movequality="LOW" falsh10="on" movequality10="HIGHSHARP"stillquality="HIGH" />
	<view hlookat="100"
	  	vlookat="0"
	  	fov="100" fovmin="10" fovmax="150"
	  	fisheye="0.0" fisheyefovlink="0.5"
		  fisheye="1"
	  	/>
	<preview type="CUBESTRIP" url="1.tiles/preview.jpg" detail="20"/>
	<image type="SPHERE" multires="true" tilesize="395" baseindex="1">
		<level tiledimagewidth="6320" tiledimageheight="3160" details="24">
			<sphere url="1.tiles/l3_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="3160" tiledimageheight="1580" details="20">
			<sphere url="1.tiles/l2_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="1580" tiledimageheight="790" details="16">
			<sphere url="1.tiles/l1_%0v_%0h.jpg" />
		</level>
	</image>
  <plugin name="direction" url="1.tiles/cursor1.png" align="righttop" edge="righttop" x="100" y="100"/>
</krpano>

4

Montag, 21. Februar 2011, 12:51

Try to leave

Quellcode

1
edge="righttop"

if not working
try to change align ==> origin

5

Montag, 21. Februar 2011, 14:43

Thanks, Job.1
Change the align to origin, it works, great!