Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

41

Dienstag, 9. Juni 2009, 20:51

This one is good

Quellcode

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<events onviewchange="if(hotspot[spot].fly, centerhotspot() );" />

<action name="centerhotspot">
  set(hotspot[spot].ath, get( view.hlookat ) );
  set(hotspot[spot].atv, get( view.vlookat ) );
  div(hotspot[spot].scale, 2.0, view.r_zoom ) );
  set(hotspot[spot1].ath, get( view.hlookat ) );
  set(hotspot[spot1].atv, get( view.vlookat ) );
  div(hotspot[spot1].scale, 2.0, view.r_zoom ) );
  set(hotspot[spot2].ath, get( view.hlookat ) );
  set(hotspot[spot2].atv, get( view.vlookat ) );
  div(hotspot[spot2].scale, 2.0, view.r_zoom ) );

</action>

<action name="flyout">
  copy(backup_ath,ath);
  copy(backup_atv,atv);
  copy(backup_scale,scale);
  copy(backup_rx,rx);
  copy(backup_ry,ry);
  copy(backup_rz,rz);
  adjusthlookat( get(ath) );
  tween(ath, get(view.hlookat) );
  tween(atv, get(view.vlookat) );
  tween(rx, 0);
  tween(ry, 0);
  tween(rz, 0);
  tween(zorder, 10);
  div(destscale, 2.0, view.r_zoom );
  tween(scale, get(destscale), 0.5, default, WAIT );
  set(fly,true);
</action>

<action name="flyin">
  set(fly,false);
  tween(zorder, 0);
  tween(ath, get(backup_ath));
  tween(atv, get(backup_atv));
  tween(scale, get(backup_scale));
  tween(rx, get(backup_rx));
  tween(ry, get(backup_ry));
  tween(rz, get(backup_rz));
</action>

                <hotspot name="spot"
	         url="image.jpg"
	         keep="false"
	         ath="145.69919691235236" atv="20.98875313425885"
	         zoom="true" distorted="true"
	         width="200" height="247"
	         scale="0.5" scale9grid="" scalechildren="false" rotate="0"
	         rx="45.75" ry="-65.25" rz="-0"
	         edge="center" ox="" oy=""
	         crop="" ondowncrop="" onovercrop=""
	         visible="true" enabled="true" handcursor="true" capture="true" children="true"
 	         zorder="0"
	         alpha="1.00" blendmode="normal" smoothing="true"
 	         refreshrate="auto"
 	         onloaded=""
	         onover=""
	         onhover=""
	         onout=""
	         ondown=""
	         onup=""
	         onclick="if(fly, flyin(), flyout());"
	         fly="false"
	         ismovie="false"
	         />


http://www.visionrhd.com/site/photo/phototest.html

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

42

Dienstag, 9. Juni 2009, 23:21

Job.1 that one is very good, except for the middle photo, if you open and rotate the panorama a couple of times the photo circles the panorama before getting back to the original position, this is because krpano keeps going further from 360°

Klaus, if there any way to make krpano just report from 0 to 360 ? I mean if you get pass 360 it goes back to 0 and viceversa if you get pass 0 it jumps to 360 ? same for the vertical movement but I don't think the vertical part is needed that much.

I did this using Javascript, but its not an ideal solution...

43

Dienstag, 9. Juni 2009, 23:36

Hi,

I have just uploaded a new version - 1.0.8 beta 8 (build 2009-06-09), there were many important bugfixes (browser crashes) and I also added a new possibility for 'fly-out' hotspots (example included)

just have a look here at the "update" note:
http://krpano.com/forum/wbb/index.php?pa…D=4506#post4506

best regards,
Klaus

44

Mittwoch, 10. Juni 2009, 10:20

hi, klaus!

thanks for the new version...

now all plugs load (even the simpleviewer in other panos) - exept the fullscreen button... *confused*

same adress: http://www.panographie.net/panorama/Events/ASK_21/
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

45

Mittwoch, 10. Juni 2009, 11:12

now all plugs load (even the simpleviewer in other panos) - exept the fullscreen button... *confused*

same adress: http://www.panographie.net/panorama/Events/ASK_21/
sorry, but it still seems not working "always",

I'm not sure at the moment why this happens...
but it could be related to some wrong settings in the xml,

please try to remove - "autoscale="true" - and the "blur" set/tween - set(blur,15); ... tween(blur,0.8,0.8); from all plugins ("blur" is a attribute of the textfield plugin and not generally available yet),

best regards,
Klaus

46

Mittwoch, 10. Juni 2009, 12:39

hi, klaus!

removing the blur didnt work, but autoscale=false was the solution... ;-)
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

47

Mittwoch, 10. Juni 2009, 13:59

another issue with beta8:

when i put the new preload=true to the sound plug, it doesnt play unless i do sound off and on again...
what do i do wrong with it?

Quellcode

1
2
3
4
5
<plugin name="soundinterface" 
		url="plugins/soundinterface.swf" 
		preload="true"
		onloaded="action(preloadsounds); action(play);"			
/>
__close to the rainbow__
_D300S|Sunwayfoto|iMaci7|PM|APP|KRP_
www.panographie.net

48

Freitag, 12. Juni 2009, 14:30

krpano beta 8

Hi Nice work,

made up my mind to purchase krpano. i downloaded the beta version and tried to browse through examples so see my pano fits in but when i try to run the example it gives me "license" error. Is there any type of license necessary to run the beta example? if yes then from where i can download it and include so that i can check with my panos.

Thanks

49

Freitag, 12. Juni 2009, 18:12

You should be able to run it locally on your machine, but it will not run on a server without the license.



Jarredja

50

Freitag, 12. Juni 2009, 18:18

You should be able to run it locally on your machine, but it will not run on a server without the license.



Jarredja
I tried to run it locally but it gives me "license" error is it because i have replaced the default pano with my pano and made some changes in the xml ?
Thanks

joekki

Schüler

Beiträge: 78

Wohnort: Turku, Finland

Beruf: Panoramic photographer and web site builder

  • Nachricht senden

51

Freitag, 12. Juni 2009, 23:06

Bug in scenes or I have done something wrong.

I tried to test that "scene" thing and I managed to do the following: (don't click on the "olohuone", that isn't ready yet ;) )

http://panoraamakuvat.fi/kuvat/omat/virtuaali

When you click though the rooms, you see that everything works except the "Bed room no. 3 - upstairs" (Makuuhuone 3 - yläkerta). When clicking that one, the view is going towards the opposite direction without even zooming.

there's the XML I'm using:

http://panoraamakuvat.fi/asiakkaat/Villa…ly_20090612.xml

And the relevant section of the code: (can also been seen from the XML):

Quellcode

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
32
33
34
35
36
37
38
39
40
<scene name="kaytava" onstart="showtext('[b][i]Käytävä[/i][/b]', infostyle);">
	<image type="CUBE">
<left url="VillaWolax_mh1_20090526/kaytava_left.jpg"/>
<front url="VillaWolax_mh1_20090526/kaytava_front.jpg"/>
<right url="VillaWolax_mh1_20090526/kaytava_right.jpg"/>
<back url="VillaWolax_mh1_20090526/kaytava_back.jpg"/>
<up url="VillaWolax_mh1_20090526/kaytava_up.jpg"/>
<down url="VillaWolax_mh1_20090526/kaytava_down.jpg"/>
</image>
	<preview type="sphere" url="prev_VillaWolax_kaytava_20090605.jpg" />
	<view hlookat   	="-30"
      	vlookat   	="0"
      	fov       	="110"
      	fovmin    	="6"
      	fovmax    	="179"
      	fisheye   	="0.35"
      	fisheyefovlink="0.90"
	/>
<!-- hotspots -->		
	<hotspot name="mh3"
	     	keep="false"
	     	visible="true" enabled="true" handcursor="true" capture="true" children="true"
 	     	zorder="0"
	     	fillcolor 	="0xffffff" fillalpha 	="0.00" borderwidth 	="0.0" bordercolor 	="0xffffff" borderalpha 	="0.00"
	     	fillcolorhover="0xffffff" fillalphahover="0.10" borderwidthhover="4.0" bordercolorhover="0xffffff" borderalphahover="0.80"
	     	fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
	     	onover=""
	     	onhover="showtext(Makuuhuone 3 - yläkerta)"
	     	onout=""
	     	ondown=""
	     	onup=""
	     	onclick="looktohotspot(mh3); loadscene(mh3, null, MERGE, BLEND(1));"
	        		     	ath="-42" atv="-12" scale="0.6" zoom="true"
		>
 
				<point ath="162.6494" atv="-22.6172" />
		<point ath="-169.1680" atv="-34.9636" />
		<point ath="-170.6473" atv=" 57.1126" />
		<point ath="162.6576" atv=" 43.0773" />
	</hotspot>

52

Sonntag, 14. Juni 2009, 11:47

Hi,
another issue with beta8:

when i put the new preload=true to the sound plug, it doesnt play unless i do sound off and on again...
what do i do wrong with it?
when "preload" is enabled (="true") it is not possible to use the "onloaded" event of this plugin anymore (sorry, I see that was not documented yet), the reason for this is that the plugin is loaded before the pano and before any action can happen,
but in this case you could use the normal "onstart" or "onxmlcomplete" events,



I tried to run it locally but it gives me "license" error is it because i have replaced the default pano with my pano and made some changes in the xml ?
locally (file or localhost server) there should be no license error, and the license is always independet from the version (a license for all versions), have you renamed the krpano.swf maybe? in this case you need to rename the .license file too.


When you click though the rooms, you see that everything works except the "Bed room no. 3 - upstairs" (Makuuhuone 3 - yläkerta). When clicking that one, the view is going towards the opposite direction without even zooming.
I see, thanks for this note, this is a bug, the problem was that the point coordniates wrap around (162, -169, -170, 162) and this causes a wrong caluclation of the hotspot center, this will be fixed very soon
you could fix it manually for the moment by adding 360 to all negative point "ath" values,

best regards,
Klaus

Beiträge: 55

Wohnort: FRance

Beruf: rock clinbing, scuba diving, motorbike....

  • Nachricht senden

53

Montag, 15. Juni 2009, 11:13

Did something changed on display setting ?
HIGHSHARP doesn't seens to change anything compared to HIGH !

<display fps="60"
details="24"
tessmode="auto"
movequality="HIGH"
stillquality="HIGHSHARP"
stilltime="0.250"
/>
Pro website : www.bziegler.com
Blog : blog.bziegler.com

Zephyr

Profi

Beiträge: 1 003

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

54

Montag, 15. Juni 2009, 12:12

Did something changed on display setting ?
HIGHSHARP doesn't seens to change anything compared to HIGH !

<display fps="60"
details="24"
tessmode="auto"
movequality="HIGH"
stillquality="HIGHSHARP"
stilltime="0.250"
/>


disable flash 10. flash10="off"

Question: I used thickbox to call up some popups that load an external site. This worked with Beta 7. But now with Beta 8, it doens't execute the javascript anymore. I then tested it with a simple alert box in javascript:
onclick="js(alert('test'));"

Works in beta 7, but not in beta 8. Some kind of bug?

I alsoo tried onclick="openurl(javascript:alert('test'));" Didnt work either (tested both Ie and ff3)

55

Montag, 15. Juni 2009, 14:49

Question: I used thickbox to call up some popups that load an external site. This worked with Beta 7. But now with Beta 8, it doens't execute the javascript anymore. I then tested it with a simple alert box in javascript:
onclick="js(alert('test'));"

Works in beta 7, but not in beta 8. Some kind of bug?
Hi,

this was the effect of the new quote (') parsing in beta 8,
there the quotes were used to mark parameters, e.g. for - showtext('abc, xyz');
but in this such situations it works wrong - internals it just get parsed as - js(test);

but I have already found a way to fix that, I will release today a updated version,

best regards,
Klaus


best regards,
Klaus

56

Montag, 15. Juni 2009, 22:53

Hi,

a new update of the 1.0.8 beta 8 is out - build 2009-06-15,
have a look at the first post for details:
http://krpano.com/forum/wbb/index.php?pa…D=4506#post4506

best regards,
Klaus

57

Montag, 15. Juni 2009, 23:08

Thank a lot Klaus for your really great job

the flying hotspot are great now !! *thumbsup* *thumbsup*

Beiträge: 27

Wohnort: the Netherlands

Beruf: Apple Consultant & Engineer

  • Nachricht senden

58

Dienstag, 16. Juni 2009, 20:09

Wow Klaus, you've outdone yourself this time, distorted hotspots ans fly-out hotspots were the features I was waiting (hoping) for.

Excellent, thank you very much!!

flash360

Schüler

Beiträge: 89

Wohnort: All over

Beruf: this

  • Nachricht senden

59

Mittwoch, 17. Juni 2009, 14:33

KLAUS thats great!!!

Is there any examples of xml parsing - "url" attributes

I want to try a CD with the App or exe in a seperate directory to the xml.

At the moment I have to change the url to specific directorys in the xml e.g. ../../images/image.jpg

I would love to ditch this.

Cheers

60

Mittwoch, 17. Juni 2009, 16:23

Hi,

you can use "placeholders" in the "url" attributes:

e.g.

Quellcode

1
.. url="%HTMLPATH%/images/image.jpg"
%HTMLPATH% - the path of the main html file where the krpano.swf is included

Quellcode

1
.. url="%SWFPATH%/images/image.jpg"
%SWFPATH% - the path of the krpano.swf file

Quellcode

1
.. url="%FIRSTXML%/images/image.jpg"
%FIRSTXML% - the path of the first loaded xml file

Quellcode

1
.. url="%CURRENTXML%/images/image.jpg"
%CURRENTXML% - the path of the current loaded xml file

best regards,
Klaus