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.

VN2009

Professional

Posts: 1,334

Location: Duluth MN

  • Send private message

61

Friday, June 19th 2009, 8:38pm

has anyone made any new panos with beta 8 ? i think i have an issue but want to see if others expirience the same. i made some new panos and the rotate very choppy. used same code from one i created with 1.0.7 and it is way smoother. they are both using the same 1.0.8 beta 8 krpano.swf, only difference is the tools used to chop up the image, new vs. old ..... the code used in train.xml was cut and pasted from suplobby.xml .... see if you can notice the difference in how smooth the panos rotate, it happens for me locally and over the internet.

EDIT: after more investigating i think the issue was the fact that i was processing anywhere from 10-15 panos at a time. I would grab 3 tiffs at a time and drop them and then do that 3-4 times. so i would have 3-5 windows crunching 3 panos each. all images processed under "crunch time" were choppy. I could reprocess each one individually and loose the choppyness. I did notice that it would take a really long time to make some of the tiles. it would speed up and slow down as the 3 ran in each window. must cuase some kind of issues somehow. I have a really fast PC. 2.2ghz quad core @ 1333 fsb, 8 gb of pc1066 corsair XMS ram, and 2 10,000 rpm WD Raptors HDD's running in RAID 0 and a radeon HD4850 with 1gb of onboard memory. Wouldnt think processing panos would stress it so much. all 4 cores are pegged at 100%.

lesson = do not run too many at a time.

This post has been edited 1 times, last edit by "VN2009" (Jun 19th 2009, 9:05pm)


62

Friday, June 19th 2009, 10:27pm

has anyone made any new panos with beta 8 ? i think i have an issue but want to see if others expirience the same. i made some new panos and the rotate very choppy. used same code from one i created with 1.0.7 and it is way smoother. they are both using the same 1.0.8 beta 8 krpano.swf, only difference is the tools used to chop up the image, new vs. old ..... the code used in train.xml was cut and pasted from suplobby.xml .... see if you can notice the difference in how smooth the panos rotate, it happens for me locally and over the internet.
Hi,

the version 1.0.7 uses only Flash9 rendering functions for showing the pano,
1.0.8 uses new Flash10 rendering functions by default, which were better but also slower,

disable the Flash10 usage in the xml to get the same like 1.0.7,
e.g. in the xml:

Source code

1
<display flash10="off" />


but for cubical panos, without fisheye effect using Flash10 can be faster than Flash9 (with better quality),

best regards,
Klaus

63

Friday, June 19th 2009, 10:59pm

Klaus,
In this case if I switch off flash 10 & users has installed flash 10 on his computer then will it be able to display the pano made for flash 9 in flash 10?

I have visited few links here on the forum & I cant see their pano bcoz it gives me Error "flash 9 not installed"
Here is one sample I cant see bcoz it needs flash 9 & I have flash 10 installed.
http://www.maya360.com/ADV/code/test2.html

This post has been edited 1 times, last edit by "rinks" (Jun 19th 2009, 11:13pm)


64

Friday, June 19th 2009, 11:14pm

Hi,

this has nothing do with the installed flash version
krpano always needs at minimum flashplayer version 9.0.28,

but when flashplayer 10 is present, then krpano is able to use the new function of it,
and the using of the new flash10 functions can be enabled and disabled (via the "display.flash10" parameter)

in the 1.0.8 beta versions it is also possible to switch between flash9 and flash10 rendering
by pressing the '9' or '0' keys,

Quoted

I have visited few links here on the forum & I cant see their pano bcoz it gives me Error "flash 9 not installed"
Here is one sample I cant see bcoz it needs flash 9 & I have flash 10 installed.
http://www.maya360.com/ADV/code/test2.html
in this case the "swfobject.js" file was missing, this gives also the same message,
in the 1.0.8 beta html examples I have also added a detection if the swfobject.js was found,
and if not it shows now a correct message,

best regards,
klaus

65

Friday, June 19th 2009, 11:33pm

Quoted

in this case the "swfobject.js" file was missing,
So in this case the author can only fix this by including the "swfobject.js" file,
I cant do anything at my end, Right??

66

Friday, June 19th 2009, 11:45pm

So in this case the author can only fix this by including the "swfobject.js" file,
I cant do anything at my end, Right??
yes, the author should fix it, but when you know the path of the swf file, you could try to call it direct

67

Saturday, June 20th 2009, 12:45am

and what if I set the flash10 options in "display" to ON, then a user with flash 9 can´t see my pano? So it´s better to always use flash10 off?

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

68

Saturday, June 20th 2009, 2:54am

and what if I set the flash10 options in "display" to ON, then a user with flash 9 can´t see my pano? So it´s better to always use flash10 off?
No... if the user does not have flash 10... the pano will still display fine... it just falls back to the flash9 mode. Some things may look odd if you've tweaked it to display in flash 10 (like straight lines being wavy).

VN2009

Professional

Posts: 1,334

Location: Duluth MN

  • Send private message

69

Saturday, June 20th 2009, 4:43am

i cant really figure out what is going on un the new panos i have made. check this one out. even single processing it is choppy. when you get to nadir and zenith it gets really really bad. i am not doing anything different from what i normallt do but these ones are not smooth enough for me to use commercially. someone take a look and let me know if the nadir and zenith are choppy. i know the patching is terrible but this is just a test. i rotate past the nadir and zenith and it almost locks up.

[url]http://www.virtualnorthland.com/panos/__canalpark/8th%20lakewalk%20w%20train.html[/url]

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

70

Saturday, June 20th 2009, 5:44am

vn2009 - they look fine to me.

when first loading and moving around I experience a bit of start / stop jitter action in the movement... but that is just as a new tile is loaded.

As far as visual chop / issues... looks fine for a test.

Interesting "mystical train" just disappearing like that : )

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

71

Saturday, June 20th 2009, 6:57am

in this case the "swfobject.js" file was missing, this gives also the same message,
in the 1.0.8 beta html examples I have also added a detection if the swfobject.js was found,
and if not it shows now a correct message,


Klaus - this is confusing to me *blink*

If the "swfobject.js" file is missing... then shouldn't the default contents of the div be shown?

i.e.

Source code

1
2
<div id="krpano">
<noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br><br>Javascript not activated<br><br></center></td></tr></table></noscript>


Then... when the swfobject swf is available... it goes through the if / else ... and when the IF fails... it shows the else... which is what rinks and I are seeing.

I was going to attach a screenshot... but can't do it on this thread.

Graydon

72

Monday, June 22nd 2009, 10:15am

i cant really figure out what is going on un the new panos i have made. check this one out. even single processing it is choppy. when you get to nadir and zenith it gets really really bad. i am not doing anything different from what i normallt do but these ones are not smooth enough for me to use commercially. someone take a look and let me know if the nadir and zenith are choppy. i know the patching is terrible but this is just a test. i rotate past the nadir and zenith and it almost locks up.

http://www.virtualnorthland.com/panos/__…0w%20train.html
try disabling flash10:
<display ... flash10="off" />
(and maybe lower the details)

or convert the pano to a cubical one and disable the fisheye effect,
this should give a better performance with flash10,

73

Monday, June 22nd 2009, 10:22am


Klaus - this is confusing to me *blink*

If the "swfobject.js" file is missing... then shouldn't the default contents of the div be shown?

No

see the old "embedding" skript:

Source code

1
2
3
4
5
6
7
8
if (typeof(deconcept) !== 'undefined' && deconcept.SWFObjectUtil.getPlayerVersion().major >= 6)
{
  ... embed flash ...
}
else
{
  ... show error message - flashplayer9 needed ...
}


in both cases - when the "deconcept" object was not defined (which will be only defined when the swfobject.js was found) and when the flash version was too low - the same error message was shown,


the current (1.0.8) html examples split up this checking:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if (typeof(deconcept) !== 'undefined')
{
  if (deconcept.SWFObjectUtil.getPlayerVersion().major >= 9)
  {
    ... embed flash ...   
  }
  else
  {
    ... show error message - flashplayer9 or higher needed ...
  }
}
else
{
  ... show error message - swfobject.js not found ...
}


best regards,
Klaus

74

Friday, June 26th 2009, 6:57pm

4 points to XYZ rotation

PS. possible double post, I posted earlier anon and its not been show yet


is there a way of calculating from 4 points (as in the above example) the correct XYZ rotation degrees for a distorted image / video to overlay into the pano. I wish I had payed more attention to math at school (but back then we where using inches) I like the editor functions but already have developed a program to create tours very quickly.

Any one know how to do this?

ps. some of our work using your fine pano viewer
bikersisland.360pla.net
innenraum-test.360pla.net
schollenkrug.360pla.net

75

Saturday, June 27th 2009, 8:13am

Hi,

yes, that's possible, but not easy, I'm also working on that

from 4 point you don't get only the rotations, also the width and height can (must) be calculated from these points,

when I have the final calculation I will let you know

best regards,
Klaus

76

Sunday, June 28th 2009, 2:42pm

OK I have a way...

EDIT: Forget this post... Doesnt work that way, I just had one example where it looked like it was working...


Getting XYZ from 4 2d points...

Ok klaus I have found a way to do it.. but its not soooo optimal...

firstly you find the middle point by joining the corners and finding the crossing point, then you turn the 4 2d points into 3d points (leaving Z=0) and then you rotate X & Y until the sides have roughly the same length and are parallel then you just rotate so Z is straight.. and hey presto you have the correct size and the XYZ angles...

The code is in java and pretty dirty, I will clean it up and send you a copy tommorrow...




cu Gary

This post has been edited 2 times, last edit by "GaryD" (Jun 28th 2009, 7:59pm)


77

Monday, June 29th 2009, 2:53pm

Distorted Hotspots

Hi Klaus (Guten Tag)
Convert 2D spots to XYZ rotation,
I cant seem to get this to work so I have passed it on to some mathematical genies.. if I get feedback I will inform you..

What I need to know now to solve the solution differently is what is the Unit of the height and Width by the distorted pixels? if its pixels what is the viewers real pixel width? and secondly when you rotate the distorted hotspots what focal length do you use.

Hope you can help

78

Monday, June 29th 2009, 10:33pm

Hi,

I'm not sure if it would be possible to solve it from external at the moment,
some informations can be only accessed internally (projection matrix for example)

Quoted

What I need to know now to solve the solution differently is what is the Unit of the height and Width by the distorted pixels? if its pixels what is the viewers real pixel width? and secondly when you rotate the distorted hotspots what focal length do you use.
yes, the original pixel width and height is used,
but they are mapped to a internal 1000x1000x1000 pixel sized cube,
e.g. 1000 pixel width = 90° of view

the focal length is calculated from the fov and the screen height (when no fisheye projection is used), but that would be not much helpfully here, the screentosphere() function could be more useful for external calculations...

it is not that difficult, it will just need some time
it should be ready in the next release,

best regards,
Klaus

nelk

Intermediate

Posts: 358

Location: Paris

  • Send private message

79

Tuesday, July 7th 2009, 1:00am

RE: krpano 1.0.8 beta 8


[*]new "preload" parameter for plugins
  • force loading before pano,
  • can be used for the soundinterface plugin for example to make sure that the soundinterface is already loaded before making calls to it
  • example usage:

    Source code

    1
    2
    3
    
    <krpano onstart="playsound(...);">
    <plugin url="soundinterface.swf" preload="true" />
    ...



Hi,

Can it be used to load a intro which is in another swf ?

in other terms, can it be an alternative to "embed krpano in another swf" (which is not possible actually) ?

Thanks !
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

80

Tuesday, July 7th 2009, 12:32pm

Can it be used to load a intro which is in another swf ?

in other terms, can it be an alternative to "embed krpano in another swf" (which is not possible actually) ?
Hi, sorry, I'm not sure what you mean exactly...

but "preload" forces the plugin to be loaded before the pano and before any "actions" are happen,

best regards,
Klaus

Rate this thread