|
|
Quellcode |
1 |
loadpano(pano2.xml,view.hlookat=180&view.vlookat=-1&view.fov=98,KEEPBASE,BLEND(1)); |
|
|
Quellcode |
1 |
loadpano(pano2.xml,null,KEEPBASE,BLEND(1),lookat(180,-1,80);wait(load);); |
|
|
Quellcode |
1 |
loadpano(pano2.xml,null,KEEPBASE,BLEND(1));lookat(180,-1,80);wait(load); |
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »zsolt« (2. Februar 2011, 18:05)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comHey, thanks for your fast replies! I will look into your solution, Tuur, thanks for giving me this hint - but I still think it's a bit of a workaround
to the real problem involved here. I like to keep my code as short as possible without any unnecessary functions, and I like the thing with the &
because everything is in one line with no additional functions, which keeps the code very clean to me. I used it like this here:
http://blende12.ch/360/
You can see that it works perfectly on a computer in flash, and the hotspots always leave the viewer facing the same direction after the transition to the new scene.
This is just an example, and I know the image are overexposed and stuff, but I think it's a good simple example of what I want to achieve. It works on computers
but on iOS just gives that error message and doesn't run at all. There are other things I have to sort out on iOS as well, like the fullscreen button not working for some
reason (works perfectly on computers as well) but this might have to do with the iframe involved there, and is not part of the discussion of this thread here.
HansNyb, thanks for showing your example. I enjoyed it, especially because it even had sound in it! But I think that the transition between the views is a bit
confusing because you don't enter a new scene at the same angle as you leave the old one, and that's what I wanted to accomplish with my "problematic" code here.