You are not logged in.

VN2009

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

41

Monday, April 6th 2009, 11:17pm

the question to me is. will krprotet ever be able to encrypt multilple xml's or is this the solution using scenes? if in the future we can encrypt all xmls i myself will not be converting my finished work into scene's. however is that is not going to happen and the scene is the fix because we cannot excrypt multiple xmls then we all better start converting if we want to protect our work.

pacolo

Beginner

Posts: 11

Location: Valencia, Spain

  • Send private message

42

Tuesday, April 7th 2009, 12:12am

HIGHSHARP

Hi Klaus,
very hard work. *rolleyes*

And my question. Is Highsharp changed or lost in this beta 7?.
Also, I was testing beta 6 and it seemed that after change from a initial view with HIGHSHARP to full screen view, mode is changed from HIGHSHARP to HIGH, and when I come back to normal view mode keeps HIGH.
I don't know if I am crazy. *wacko*

Best Regards. *sleeping*

43

Tuesday, April 7th 2009, 1:03am

It' great...

Klauss, you are a crack...
Very great job.
Sergio.

flash360

Trainee

Posts: 89

Location: All over

Occupation: this

  • Send private message

44

Tuesday, April 7th 2009, 6:43am

I have converted to scenes already - the first thing I did.

If you know FPP coding - this was the best (and quickest way)

You can create better templates with one xml.

KLAUS - I don`t think scenes work with krprotect?????

Cheers

John

This post has been edited 1 times, last edit by "flash360" (Apr 7th 2009, 8:11am)


45

Tuesday, April 7th 2009, 8:15am

MouseWhell not work?

Wen i use old swfkrpanomousewheel.js file work. I found this differences Line 5:

Source code

1
2
3
function krpmw_re(){var i=0;var cnt=SWFkrpanoMouseWheel.instances.length;for(i=0;i<cnt;i++){var objid=SWFkrpanoMouseWheel.instances[i].so.getAttribute('id');var obj=document[objid];if(obj){if (!SWFkrpanoMouseWheel.overobj){SWFkrpanoMouseWheel.overobj=objid;}if(SWFkrpanoMouseWheel.isSafari && !SWFkrpanoMouseWheel.isMac){if(obj.enable_mousewheel_js_bugfix){obj.enable_mousewheel_js_bugfix();}}else{obj.onmouseover=krpmw_ove;obj.onmouseout=krpmw_oue;}}}}

function krpmw_re(){var i=0;var cnt=SWFkrpanoMouseWheel.instances.length;for(i=0;i<cnt;i++){var objid=SWFkrpanoMouseWheel.instances[i].so.getAttribute('id');var obj=document[objid];if(obj){if(SWFkrpanoMouseWheel.isSafari && !SWFkrpanoMouseWheel.isMac){if(obj.enable_mousewheel_js_bugfix){obj.enable_mousewheel_js_bugfix();}}else{obj.onmouseover=krpmw_ove;obj.onmouseout=krpmw_oue;}}}}
mein Blog VRpix.ch / VRpix.de

spacerywitualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

46

Tuesday, April 7th 2009, 7:58pm

Hi

Hi.

We test the just new version.
We are delighted the huge quantity of the possibility of the new version.

While starting pluginu mask we came on the problem.

This is the example.

Click on the mask example, and in the hotspot.

link.

While passing to the next panorama the virtual tour crashes. Plugin mask does not work correctly.
We tested on two versions Flash 10, on two computers. Coding in Kpprotect does not help. He does not work swf and exe.

Does someone know what can be the cause?


Regards

Pablo & Pietero
spacerywirtualne.pl team

p.s. We have version 10,0,22,87 and 10,0,12,36 installed
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

DorinDXN

Trainee

Posts: 113

Location: Timisoara, Romania

  • Send private message

47

Tuesday, April 7th 2009, 10:32pm

Hi Klaus, very useful new features, good job!

About krprotect, I noticed that when .jpg tile are embedded into the big protected pano.swf the pano.swf seems to still need for the .jpeg files and give error if they aren't there i.e. if I have 6 cubic faces of 1 mb each the resulting protected pano.swf is over 6 mb large as one expects but still want the jpegs and gives error if they are missing. I used 1.0.8. beta 7 - win.

Dorin

48

Tuesday, April 7th 2009, 10:54pm

Hi.
Would like to know the answer to this question as well. Because it is A LOT of work to convert our current multiple XML virtual tours over to scenes using just one XML file with all the panoramas included.

And would the performance be better and faster to put entire tours in ONE scene ?

So to convert or not to convert, that is the question. *huh*
using scenes is just a new more possibility
there is no performance advantage or disadvantage,

it can be used for tours for example to have all in one place
and make the linking between the panos more clear,

the question to me is. will krprotet ever be able to encrypt multilple xml's or is this the solution using scenes? if in the future we can encrypt all xmls i myself will not be converting my finished work into scene's. however is that is not going to happen and the scene is the fix because we cannot excrypt multiple xmls then we all better start converting if we want to protect our work.
the current beta 7 kprotect tool is already able to embed multilple xml's,
encrypting of external files will come with the next beta,

And my question. Is Highsharp changed or lost in this beta 7?.
Also, I was testing beta 6 and it seemed that after change from a initial view with HIGHSHARP to full screen view, mode is changed from HIGHSHARP to HIGH, and when I come back to normal view mode keeps HIGH.
I don't know if I am crazy. *wacko*
I know that Flash sometimes doesn't apply the sharpen filter for some time, but I don't why yet...
especially in Flash10 and im fullscreen mode, it seems to be a flash issue, but I will try to find something...
KLAUS - I don`t think scenes work with krprotect?????
scenes should work also with tool kprotect, there is no reason why not...

here some notes about thhe current kprotect tool (beta7):

NOTE 1 - the kprotect tool parses the embedded xml files and tries to find all
references to external files and embeddeds them also, but it's not always possible
to find all files, then the missing files must be added manually with the "Add File(s)" Button,

NOTE 2 - tiled and multiresolution images are not automatically embedded,
but it's also possible to add the tiles manually,

49

Tuesday, April 7th 2009, 10:57pm

While starting pluginu mask we came on the problem.

This is the example.

Click on the mask example, and in the hotspot.

link.

While passing to the next panorama the virtual tour crashes. Plugin mask does not work correctly.
thanks for this bug note
I have fixed it now, I will upload tomorrow a updated package,

50

Tuesday, April 7th 2009, 11:01pm

About krprotect, I noticed that when .jpg tile are embedded into the big protected pano.swf the pano.swf seems to still need for the .jpeg files and give error if they aren't there i.e. if I have 6 cubic faces of 1 mb each the resulting protected pano.swf is over 6 mb large as one expects but still want the jpegs and gives error if they are missing. I used 1.0.8. beta 7 - win.
Hi, this can be a path problem, the embedded files are referenced by the same path like
in the original xml,
if the original xml file works, then the embedded should work too,

can you post the original xml file?
were the pano images added automatically in the kprotect tool after adding the xml?

best regards,
Klaus

spacerywitualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

51

Tuesday, April 7th 2009, 11:55pm

GREAT!!!!

Klaus - You are amazing. *thumbsup*

In few days we are starting with project Virtual City (You watched the version of the project).

I can not in the night sleep by You, I only sit before the computer and continually panoramas and Krpano, panoramas and Krpano. ;-)
My wife already give up ;-) . Krpano be able to very strongly get involved. I will not advise anything on this.

He, he.

Amazing. I also sit in the night today...

Good luck.
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

This post has been edited 1 times, last edit by "spacerywitualne" (Apr 8th 2009, 7:19am)


bulp

Intermediate

Posts: 390

Location: Malaysia

  • Send private message

52

Wednesday, April 8th 2009, 6:17am

Awesome update Mr Klaus....

anyway.. can this been implement in onclick, onover or onhover script... put sound into it.. so when click any icon, we can hear the sound 'click'...
it would be a great feature in the next update...


btw the 3d sound are MARVELLIOUSCIOUS!!!! haha

DorinDXN

Trainee

Posts: 113

Location: Timisoara, Romania

  • Send private message

53

Wednesday, April 8th 2009, 10:14am



About krprotect, I noticed that when .jpg tile are embedded into the big protected pano.swf the pano.swf seems to still need for the .jpeg files and give error if they aren't there i.e. if I have 6 cubic faces of 1 mb each the resulting protected pano.swf is over 6 mb large as one expects but still want the jpegs and gives error if they are missing. I used 1.0.8. beta 7 - win.
Hi, this can be a path problem, the embedded files are referenced by the same path like
in the original xml,
if the original xml file works, then the embedded should work too,

can you post the original xml file?
were the pano images added automatically in the kprotect tool after adding the xml?

best regards,
Klaus


The .xml is a very basic one, but if a big swf is produced, the jpegs are in it, I guess it should read the jpegs from swf, path shouldn't be an issue after it managed to put the files into the big swf, the path for putting the jpegs were read from that very xml.

the .xml follows

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
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
70
<krpano version="1.0.7"> 
<display details="30" movequality="LOW" stillquality="HIGH" /> 
<image type="CUBE"> 
<left url="cube_3.jpg" /> 
<front url="cube_0.jpg" /> 
<right url="cube_1.jpg" /> 
<back url="cube_2.jpg" /> 
<up url="cube_4.jpg" /> 
<down url="cube_5.jpg" /> 
</image> 
<view hlookat="329" 
vlookat="0" 
camroll="0.0" 
fov="80.0" 
fovmin="45.0" 
fovmax="100" 
fisheye="0" 
limitfov="true" /> 
<textstyle name="DEFAULT" 
font="Arial" fontsize="10" 
border="false" background="false" 
textcolor="0xFFFFFF" 
effect="glow(0x000000,0.7,4,2);dropshadow(2,45,0x000000,3,1);" 
/> 

<textstyle name="hotspotstyle" 
font="Arial" fontsize="14" 
border="false" background="false" 
textcolor="0xFFFF00" 
effect="glow(0x000000,0.7,4,2);dropshadow(4,45,0x000000,4,1);" 
/> 

<!-- direction/zoom buttons --> 
<plugin name="in" url="btn_plus.jpg" align="bottom" edge="center" y="40" x="-160" blendmode="screen" ondown="set(movevectorz,-1);" onup="set(movevectorz,0);" onover="set(blendmode,add);" onout="set(blendmode,screen);" /> 
<plugin name="out" url="btn_minus.jpg" align="bottom" edge="center" y="40" x="-120" blendmode="screen" ondown="set(movevectorz,+1);" onup="set(movevectorz,0);" onover="set(blendmode,add);" onout="set(blendmode,screen);" /> 
<plugin name="left" url="btn_left.jpg" align="bottom" edge="center" y="40" x="-80" blendmode="screen" ondown="set(movevectorx,-1);" onup="set(movevectorx,0);" onover="set(blendmode,add);" onout="set(blendmode,screen);" /> 
<plugin name="right" url="btn_right.jpg" align="bottom" edge="center" y="40" x="-40" blendmode="screen" ondown="set(movevectorx,+1);" onup="set(movevectorx,0);" onover="set(blendmode,add);" onout="set(blendmode,screen);" /> 
<plugin name="up" url="btn_up.jpg" align="bottom" edge="center" y="40" x="-0" blendmode="screen" ondown="set(movevectory,-1);" onup="set(movevectory,0);" onover="set(blendmode,add);" onout="set(blendmode,screen);" /> 
<plugin name="down" url="btn_down.jpg" align="bottom" edge="center" y="40" x="+40" blendmode="screen" ondown="set(movevectory,+1);" onup="set(movevectory,0);" onover="set(blendmode,add);" onout="set(blendmode,screen);" /> 

<!-- hotspot/home/info/fullscreen buttons --> 
<plugin name="hotsp" url="btn_star.jpg" align="bottom" edge="center" y="40" x="+80" blendmode="screen" onhover="showtext(Hotspots ON/OFF);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="switch(hotspot.visible);" /> 
<plugin name="home" url="btn_home.jpg" align="bottom" edge="center" y="40" x="+120" blendmode="screen" onhover="showtext(Move to Home);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="lookto(329,0,80);" /> 
<plugin name="openfs" url="btn_openfs.jpg" visible="true" align="bottom" edge="center" y="40" x="+160" blendmode="screen" onhover="showtext(Enter Fullscreen);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="set(fullscreen,true);" /> 
<plugin name="closefs" url="btn_closefs.jpg" visible="false" align="bottom" edge="center" y="40" x="+160" blendmode="screen" onhover="showtext(Exit Fullscreen);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="set(fullscreen,false);" /> 

<events onenterfullscreen="set(plugin[openfs].visible,false); 
set(plugin[in].visible,false); 
set(plugin[out].visible,false); 
set(plugin[left].visible,false); 
set(plugin[right].visible,false); 
set(plugin[up].visible,false); 
set(plugin[down].visible,false); 
set(plugin[up].visible,false); 
set(plugin[hotsp].visible,false); 
set(plugin[home].visible,false); 
set(plugin[closefs].visible,false);" 
onexitfullscreen="set(plugin[openfs].visible,true); 
set(plugin[in].visible,true); 
set(plugin[out].visible,true); 
set(plugin[left].visible,true); 
set(plugin[right].visible,true); 
set(plugin[up].visible,true); 
set(plugin[down].visible,true); 
set(plugin[up].visible,true); 
set(plugin[hotsp].visible,true); 
set(plugin[home].visible,true); 
set(plugin[closefs].visible,false);" 
/> 
</krpano>



cheers,

Dorin

DorinDXN

Trainee

Posts: 113

Location: Timisoara, Romania

  • Send private message

54

Wednesday, April 8th 2009, 11:12am

Hi Klaus, mistery is solved, while I launched the krprotect from beta7 folder, it keept and uses krpano.swf from beta6 folder , sorry!, my fault, I should check the setup tab first.

Dorin

Amedee

Beginner

Posts: 33

Location: Brussels - Belgium

  • Send private message

55

Wednesday, April 8th 2009, 11:29am

Issues with 'if' and 'dec'...

Klaus,

I have 2 issues to report:

The DEC function seems to be broken:

Source code

1
2
3
4
5
6
<action name="testcase">
		set(tst, 200);
		trace(tst before: , tst);
		dec(tst, 180);
		trace(tst after: , tst);
	</action>

the variable tst will be set to -10000000000
Note that doing a 'inc -180' or a 'sub' will work as expected...

The other issue is that the comparison operators '==' and 'EQ' always evaluate to 'false':

Source code

1
2
3
4
5
<action name="testcase">
		set(tst, 200);
		trace(tst : , tst);
		if(tst EQ 200, trace(Test true), trace(Test false));
	</action>

Will always trace False...

Tnx for looking at this.
Phil.

56

Wednesday, April 8th 2009, 1:03pm

RE: MouseWhell not work?

Wen i use old swfkrpanomousewheel.js file work. I found this differences Line 5:

Source code

1
2
3
function krpmw_re(){var i=0;var cnt=SWFkrpanoMouseWheel.instances.length;for(i=0;i<cnt;i++){var objid=SWFkrpanoMouseWheel.instances[i].so.getAttribute('id');var obj=document[objid];if(obj){if (!SWFkrpanoMouseWheel.overobj){SWFkrpanoMouseWheel.overobj=objid;}if(SWFkrpanoMouseWheel.isSafari && !SWFkrpanoMouseWheel.isMac){if(obj.enable_mousewheel_js_bugfix){obj.enable_mousewheel_js_bugfix();}}else{obj.onmouseover=krpmw_ove;obj.onmouseout=krpmw_oue;}}}}

function krpmw_re(){var i=0;var cnt=SWFkrpanoMouseWheel.instances.length;for(i=0;i<cnt;i++){var objid=SWFkrpanoMouseWheel.instances[i].so.getAttribute('id');var obj=document[objid];if(obj){if(SWFkrpanoMouseWheel.isSafari && !SWFkrpanoMouseWheel.isMac){if(obj.enable_mousewheel_js_bugfix){obj.enable_mousewheel_js_bugfix();}}else{obj.onmouseover=krpmw_ove;obj.onmouseout=krpmw_oue;}}}}
Hi,

the upper one was the newer one,
was this the one that doesn't work?

57

Wednesday, April 8th 2009, 1:06pm

Hi Klaus, mistery is solved, while I launched the krprotect from beta7 folder, it keept and uses krpano.swf from beta6 folder , sorry!, my fault, I should check the setup tab first.
yes, this would explain the behavior, the beta6 wasn't able to load embedded data

58

Wednesday, April 8th 2009, 1:22pm

The DEC function seems to be broken:

Source code

1
2
3
4
5
6
<action name="testcase">
 set(tst, 200);
 trace(tst before: , tst);
 dec(tst, 180);
 trace(tst after: , tst);
</action>



the variable tst will be set to -10000000000
Note that doing a 'inc -180' or a 'sub' will work as expected...
Hi,
thanks! you're right!
the default min/max limits were swapped for dec()

this would be the documentation for inc() and dec():

Source code

1
2
inc(var, byvalue*, maxvalue*, minvalue*);
dec(var, byvalue*, minvalue*, maxvalue*);


the "var" will be increased by "byvalue",
and if the "maxvalue" will be reached then it will be automatically
set to "minvalue", or if the "minvalue" will be reached then it will be set
to "maxvalue",
(the can be used to loop the value through in a defined range)

the default values are:
byvalue = 1
minvalue = -10000000000
maxvalue = +10000000000

and this min/max values were swapped
I will upload today a fixed version,

The other issue is that the comparison operators '==' and 'EQ' always evaluate to 'false':

Source code

1
2
3
4
5
<action name="testcase">
 set(tst, 200);
 trace(tst : , tst);
 if(tst EQ 200, trace(Test true), trace(Test false));
</action>


Will always trace False...
there is no "EQ" operator (I will add one )
but this should work:

Source code

1
if(tst == 200, trace(Test true), trace(Test false));


best regards,
Klaus

Amedee

Beginner

Posts: 33

Location: Brussels - Belgium

  • Send private message

59

Wednesday, April 8th 2009, 2:22pm

there is no "EQ" operator (I will add one )
Stupid me *unsure*

I though I tested '==' as well, but apparently not as this one works indeed...

Tnx
Phil.

60

Wednesday, April 8th 2009, 9:38pm

Hi,

I have uploaded a new bugfixed version:

Update - 2009-04-08:
- bugfix unloading mask
- bugfix dec()
- added the "EQ" if() operator (is the same like "==" )

best regards,
Klaus