Posts by Run

    Sacha,

    Thanks for the response, I finally found out what was wrong and why it didn't work for me. I had an older version of the tools and needed to update them as the onremovepano and the other events were not in the version I was using. I downloaded the latest and updated using the update tool and everything worked fine.

    Thanks again.

    Rick

    Klaus or Anyone,

    I'm sorry but Im missing something here. I tried placing

    Code
    <events name="sceneevents" onremovepano="stopsound(snd);" />


    Inside the scene that has the sound code and cant make it work. I also tried

    Code
    <events onremovepano="stopallsounds()" />

    and I can't get that to work for me either. I know I am missing something and I realize it is in my understanding of how the xml works here but I just cant figure it out. When using the named events "sceneevents" where is it that "sceneevents" is declared? Is it in KRpano.js? is "onremovepano" also in krpano.js, is it automatically triggered all the time? If possible could I get a demo showing the flow of how the call for events works here. I have gone over the docs repeatedly and searched the forums but I'm just not getting it. I apologize for my thick headedness but I'm lost on this one.

    Second, When I call a plugin like the

    Code
    <plugin name="soundinterface" url="soundinterface.swf" rootpath="%CURRENTXML%" preload="true" />

    I understand that if this is done outside of a scene then it is loaded globally and available to all scenes in the tour, correct? But if I call it from inside of a scene is it still available to the entire tour globally, or just for use within that single scene?

    Thanks guys, sorry and I apologize for being so dense *confused* . *sad*

    I have the following sound code for a hotspot inside a scene for my tour, although I have the keep=false set the sound continues to play even when a new scene has been loaded. The audio is specific to only one scene.

    if this is not the correct way to stop a sound when leaving a scene please let me know what to do.

    Thank you in advance.

    Rick

    Hi, Thanks for responding.

    I actually was making them in sceen one of my own code and copied the example code into that post by mistake. Sorry for that. And my code loads scene 1 first not scene 2:)

    Here is my code for my scene one which I should have posted before:


    This is the first scene in a 11 panorama tour, no matter what changes I make to line 12 above as seen here

    Code
    view hlookat="-2" vlookat="60" fov="10" maxpixelzoom="1.0" />
    	<display details="22" />

    Nothing changes in the tour when it is run no matter what values I use. I don't even understand where the scene is actually getting its initial values for hlookat, vlookat and fov at all because it ignores this line completely. I am very baffled here and this is the last thing I need to do to finish this tour, any help very much appreciated because I am totally lost here. *confused*

    Thanks

    Rick

    I am having a really tough time with a scene based tour I am building using the example code from "scenes-with-imagemap.html". I have 11 panoramas/scenes and want each one to have its own startup values. I included them where I thought they went but they have no effect on the scene when it loads at all. Actually I cant find a way to change any of the view settings for an individual scene without it being global. The same thing happens when I went back to the provided example, this example code is as follows

    Code
    <view hlookat="-15" vlookat="-10" fov="90" />

    and no changes on the view line do anything;

    When I try to change the values set using the

    Code
    <view hlookat="-15" vlookat="-10" fov="90" />

    nothing happens, it has no effect at all. I tried doing it in the example as well as in my code and nothing seems to work to change the fov, vlook, hlook, zoom max and zoom min either.

    I really need some help here I have been banging my head against this for two days now.

    Thank you in advance

    Rick

    Hey Guys,

    Hope this is in the right area, if not please move it.

    I am looking for some help in understanding the workings on how to build tours that use protected panoramas. I want to layout what i think I need to do and then have people tell me if its the way to do it or if I should do it some other way. I am trying to get a hnadle on Krpano from a tour perspective.

    So, lets say i have 10 360x180 panoramas that need to be on a web site with a map that people can click each one and it displays totally self contained with custom Google position maps and a little planet flyin etc.. Now each panorama is a single protected .swf file with everything needed embedded inside the .swf. It is placed in it's own directory with krpano.swf, the .js and the html page it is embedded in.

    So I have 10 directories one for each protected panorama and its support files, the .js, the krpano.swf and the html file. Now from looking at the documentation I gather that I can use an action to laod any of the .swf's into a playing panorama. Such as below in this example code.

    What I dont understand is does the new panorama embedded xml control everything the new panorama does or is there residual effects from the calling panorama? I take it this is where the keep command comes in?
    Also, can I use the blend feature when loading one .swf from another?

    I guess one thing I really am trying to understand how to do, is I want the panoramas to function one way when called individually and another when they are called from the tour and I dont know if this can be done from one protected .swf calling another and so on.

    is this feasable or am I going to have to keep everything unproteced and use load xml commands.

    Really hope this makes sense to you all, trying very hard to learn all this as fast as I can.


    Thanks very much in advance for any help.

    Rick

    I just saw the Panoguide posts a few minutes ago and came to update my post here, you beat me to it *smile* . I still think there is nothing there that KrPano can't do already. It really does have a KrPano feel to it as you suggest although I am not sure what you are referring to is illegal though.

    I do not see anything there that krpano cant do, I may be wrong and if I am please correct me. The pseudo 3D navigation looks to be a 2d flash movie done using layers, it could also be 3d Studio max or any decent 3D application as well though. Nice site and really well done navigation, very impressive. Over 30 hot spots lead to panoramas through the navigation system and more panoramas are accessible through before/after buttons, a tremendous amount of work and really well shot too. After going through the entire tour a couple times now I think this actually was done with krpano.

    Can't be positive but I'd be willing to bet a couple beers and lunch at a sandwich joint that it is. *g*

    Thanks for the link to a great tour.

    Rick

    Hi,

    You can set the size "size =" of the sweep in the example xml I use as below;

    The transparency of the opaque parts of the radar sweep graphic are controlled through the alpha="" , fillalpha="" and linealpha="" above. Just add those into your radar xml and set them as you would like them.

    If you activate the krpano editor setting in your XML

    Code
    <plugin name="editor" url="%SWFPATH%/plugins/editor.swf" keep="true" /></plugin>

    You can use the editor at the bottom of the screen in real time almost, view the XML make any changes to it then select load this xml. It will then use the parameters you just set. Keep playing till you see what you want, then copy the xml portion that works how you like and paste it into the file used to compile your panorama.

    By the way, if you want transparency in an image in Photoshop an easy way is to add a layer below the layer of whatever graphic you have. Dont paint on this layer. Then erase on your graphic layer using the eraser or even the selections tool any area where you want it to be transparent.

    Radar layer -----========---------
    New layer -----------------------------------

    The = signs represent the radar sweep graphic, the hyphens represent the transparency. Save this off in a png format which preserves transparency info and when you load it using your xml code then everywhere that the hyphens are will be transparent. This tutorial should help you a bit more in case I wasn't very good at explaining it *unsure*

    Good Luck

    Rick

    Ok I am a little confused here, if someone could tell me if my understanding of the paths in kprotect are correct I would appreciate it. I have no basedir declared in my xml and yet it seems that kprotect sets the base dir to wherever the startup xml is loaded from, is this correct?
    My folders are set up as;

    Plugins
    googlemaps.swf

    Skin
    defaultskin.xml etc...

    Columns.tiles
    images...

    In the defaultskin.xml I call the googlemaps.swf plugin with the path url="../plugins/googlemaps.swf" which should if the root is set to skin by kprotect tell it to go up a directory and then down into the plugins folder to retrieve the googlemaps.swf file. yet what I get is the error log telling me that it cant find the googlemaps.swf in the skin folder.

    Am I missing something about how kprotect manages the paths of embedded files? Right now to get it to work I gave up and just copied the googlemaps.swf file into the skin folder. But I really want to understand how its working so I can call things properly.

    Thanks

    Rick

    I think this was done using the googlemaps flash source package available here googlemaps plugin. They purchased that package and then built a custom gui in flash. If you wanted that exact look you would have to contact them and ask to purchase their swf or their fla file. Great looking implementation I must say, although it is incredibly slow on my system, may be they have a slow server.

    Good Luck