|
|
Black screen when I try to display my pano :(So here is my problem. I use latest version of krpano. I putted in same directory the krpano.swf file, the xml file and the license key with picture but it's loading and then I get a black screen <krpano version="1.0" onstart="">
<memory maxmem="350" /> <plugin name="options" url="./plugins/options.swf" visible="true" zorder="" alpha="1.00" blendmode="normal" autopos="false" autoscale="false" onhover="" onout="" onclick="" ondown="" onup="" /> <image type="SPHERE"> </krpano> Any ideas what's wrong ? Thanks Vincen __________________
|
New forum topicsRecent commentsWho's onlineThere are currently 0 users and 4 guests online.
|
Re: Black Screen
Hi Vincen:
I've reposted this for you; apologies for the trouble.
Cheers,
Patrick Cheatham
Forum Administrator
subjet here
I've reposted this for you; apologies for the trouble.
Thanks but you have not been able to transfer also answers at thread ?
Thanks
Vincèn
P-S: Why does it ask me for a subject to answer at that thread ?
http://www.skivr.com
re: Black Screen (issues with comments)
Hi Vincèn:
The comments still exist, but no-one can access them because the whole thread is corrupted somehow. I can get in as Admin and edit them, but in order to move them to the "new" post I have to be able to load the thread. I am trying to workaround it, but it may not happen.
Subjects are good things.
Patrick Cheatham
Forum Administrator
Hey Vincen:
Hey Vincèn:
Hmm, yes -- the code isn't showing. I'll figure it out!
In the meantime, I went through and changed all the < and > to encoded characters:
& lt; and & gt; (without spaces in them).
Argh!
Cheers,
Patrick Cheatham
FlashPanos.com creator, Panoramic Photographer
Got PanoSalado?
Thanks Patrick for correction :)
Hey Vincèn:
Hmm, yes -- the code isn't showing. I'll figure it out!
In the meantime, I went through and changed all the < and > to encoded characters:
& lt; and & gt; (without spaces in them).
Thanks Patrick for correction
For info, email received of notification doesn't contain link back to forum, well in fact it contains but without url
Here is what is stated at end of email:
Link: http:///content/black-screen-when-i-try-display-my-pano
| Direct unsubscribe link (content type):
| [edited out by patrick]
Thanks
Vincèn
http://www.skivr.com
File too large?
So here is my problem. I use latest version of krpano. I putted in same directory the krpano.swf file, the xml file and the license key with picture but it's loading and then I get a black screen
here you can check by yourself: http://www.skivr.com/test/krpano.swf
(snip)
Any ideas what's wrong ?
Thanks
Vincèn
Hi again Vincèn:
I am loading the SWF file now, in Safari. I notice that it's over 20MB in size (you could have warned me
)! Is it possible that the image(s) you are using are too large (pixel dimensions)? Or that it is taking too long to load, and krpano is "timing out"?
Cheers,
Patrick
Patrick Cheatham
FlashPanos.com creator, Panoramic Photographer
Got PanoSalado?
I think Patrick is on the right track
I think Patrick is on the right track and you hit a memory obstacle based on the pixel dimensions of your image. A modest reduction to 8000px by 4000px will fix it (possibly even a lesser one), but IMHO even that is superflously large if for no other reason, in terms of the download wait it introduces. You can of course cut that down by some 70% percent even at its current resolution, if you compress your JPEG image at quality 8 (pShop unit) - but that will not help with the memory issue.
This maybe a scenario that would already benefit from using krpano's tiling ability. Two levels should cover this resolution, i think.
-andras
http://www.panoramablog.com
wow, thats a really large image - 22mb! ;-)
Hi,
wow, thats a really large image - 22mb!
that's a internal flashplayer problem - images larger then ~8000 pixels wouldn't load/displayed correctly. And there is also no error message form the flashplayer when this happens! The flashplayer just delivers a black image.
But as Andras said - it would be possible to display the panorama at fullsize when you tile it, or make a multiresolution panorama of it. Then it would also load much faster!
You can make the tiles and/or resize it with the kmaketiles tools here:
http://krpano.com/tools/kmaketiles/
At moment this Tool is only for Windows commandline.
A GUI Tool for Windows and Mac is in work.
If you want this tools for mac terminal please mail me.
Best regards,
Klaus
re: krpano command line tool for Mac
Klaus,
I would be very interested to test the Mac version of the tool, whatever it's commandline is not a big deal
Thanks
Vincèn
http://www.skivr.com
krpano maketiles tool for intel mac
Hi Vincèn,
you can download the intel-mac version of the "kmaketiles" and "kmakepreview" tool here:
http://krpano.com/download/files/krpanotools_intelmac.zip
here is the documenation and a tutorial for it:
http://krpano.com/tools/kmaketiles/
(but there is one bug in the documenation at the moment: %H is wrong, %u is right)
best regards,
Klaus
krpano performance and kmaketiles
Hi Klaus,
Sorry not to have answered earlier but I was so busy last weeks with my new camera and other jobs
So I did few tests but I have following problem: my pano displayed in krpano is all with wave effects
Have a look here (http://www.skivr.com/test/krpano.swf), I made it following examples of use given on your website for kmaketiles. The original TIF file is avalaible here (http://www.skivr.com/test/pano-8.tif beware it's 200M file 
Do you plan to develop a GUI on Mac for kmaketitles ? If not I would be happy to try to develop one first in AppleScript to get something quickly, and then in Cocoa (native language for Mac OSX Program).
Thanks for all
Vincèn
http://www.skivr.com
better to develop w/ trolltech Qt4 for multiple platforms
It would be better to invest time developing any gui w/ trolltech's multiple platform development suite. You can support Windows, Mac, and Linux from the same source tree. There is an open source option which I chose to use since I don't have time to support a commercial product. If you are able to integrate krpano with other actionscript well, then I would invest time developing graphical interfaces for it.
I am just confused as to which method I should use to integrate the plugin with krpano. Does Krpano use flash CS3 or the open source mlmx compiler w/ the flex framework? I have seen msgs on this board that indicate that it is not flex, but I saw documentation that mentioned flex. What does he generate his .swf with?
krpano plugins
It would be better to invest time developing any gui w/ trolltech's multiple platform development suite. You can support Windows, Mac, and Linux from the same source tree. There is an open source option which I chose to use since I don't have time to support a commercial product. If you are able to integrate krpano with other actionscript well, then I would invest time developing graphical interfaces for it.
I am just confused as to which method I should use to integrate the plugin with krpano. Does Krpano use flash CS3 or the open source mlmx compiler w/ the flex framework? I have seen msgs on this board that indicate that it is not flex, but I saw documentation that mentioned flex. What does he generate his .swf with?
Hi, I used the mxmlc compiler to generate the swf file, but not the flex framework, it's too heavy and not necessary for the viewer itself.
Plugins can be made with mxmlc (like in my as3interface example) or with flash CS3, both is possible (FlexBuilder should be possible too). I will prepare a simple example fla file next time.
Or here a little try to describe how to create krpano plugins with flash cs3:
first copy the krpano_as3_interface.as into the same folder as your fla file.
then write in the "Actions" these lines:
var krpano:krpano_as3_interface = krpano_as3_interface.getInstance();
this will generate a interface object to krpano.
there are the same 3 interface functions like in javascript:
krpano.get(varible) ... returns the value of a variable
krpano.call(action) ... calls a action
all variables and actions are listed here:
http://krpano.com/docu/api
http://krpano.com/docu/actions
okay, if you have a flashbutton and want to use it to "zoom in" with it:
function click_zoom_in(e:MouseEvent):void
{
stage.addEventListener(MouseEvent.MOUSE_UP, click_stop_zoom);
krpano.set("movevectorz","-1");
}
function click_stop_zoom(e:MouseEvent):void
{
stage.removeEventListener(MouseEvent.MOUSE_UP, click_stop_zoom);
krpano.set("movevectorz","0");
}
or if you want to read the pan/tilt and fov values:
var tilt:Number = Number( krpano.get("view.vlookat") );
var fov:Number = Number( krpano.get("view.fov") );
or to load a pano image:
there are many possibilites.
when your plugin is done generate the swf file and include it in the xml file:
<plugin name="anyUniqueName" url="yourplugin.swf" />
</krpano>
if your plugin has a stage RESIZE event and it set it own position on the stage alone, this is enough, but if not you can set the viewer to control the position of the plugin and use the "autopos" paramter, e.g:
<plugin name="anyUniqueName" url="yourplugin.swf" autopos="leftbottom,10,10" />
</krpano>
so thats all for the moment, I hope it was possible to understand it
))
Klaus
Thankyou for the response, that helps
Klaus,
Thank you for the response. That information helps. I will try and code something in a trolltech open source project or an actionscript program. I downloaded your player and tools and have been looking at them. I have been busy lately, but soon I will have time.
QT ?
Thank you for the response. That information helps. I will try and code something in a trolltech open source project or an actionscript program. I downloaded your player and tools and have been looking at them. I have been busy lately, but soon I will have time.
Did you get time to develop something in QT ? I would be very happy to beta-test it and translate also in french if needed
Thanks
Vincèn
http://www.skivr.com