PDA

View Full Version : Day to night transition


360Turismo
08-14-2008, 05:38 PM
Hi all,

Is it possible to do a transition effect using FPP like the one I have done with the SPI-V engine? example (http://www.360turismo.com/vtpages/25_day-night.html)
If so how would it be done?

Thanks in advance,

Paul.

Elliot
08-14-2008, 06:04 PM
PAUL

This is a nice presentation. It makes me want to take a plane a go there....

Where is this..... I couldn't tell from your website. Is it in Europe? At any rate where ever it is the location, that's were I want to go... :p

Regards
Elliot

PD:

How did you do it....?

seeinside360
08-14-2008, 06:07 PM
Hi Paul! It is possible...
try this codes:
<global
onStart="timer=1,10000,,changePano4"
changePano4="loadpano(panoName=path/yourpanoname,fade,100);timer=1,10000,,changePano3"
changePano3="loadpano(panoName=path/yourpanoname,fade,100);timer=1,10000,,changePano4">

you can see a working example on this link
http://www.panoramikistanbul.com/galata-koprusu-galata-bridge.html

Cheers
Yavuz

360Turismo
08-14-2008, 07:36 PM
Elliot, thanks for the kind remarks.
My equipment is Canon 5D, Sigma 8mm fisheye lens, Manfrotto tripod & Agnos rotator head.
The location is Playa Blanca, Lanzarote, Canary Islands, Spain a bit of a trek from the USA but worth it!:)

Yavuz, thanks for the advice I will be giving that a go, nice website.

adriansalisbury
08-15-2008, 08:17 AM
Here's another example of the transition, inside a caravan. I wanted it to return to the start point so the 2 layers sit on top of each other.

http://fleetwood09.uk-virtualtours.co.uk/ - click the 'Heritage640-EST inc nighttime view' - once loaded the button at the bottom left then changes to 'nighttime'. The same happens at the back of the caravan if you follow the arrow on the floor.

Here's the code behind the 'nighttime' button:
<spot id="night" static="1" salign="bc" staticX="-297" staticY="-38" url="navigation/night.png" blockMouse="1" onClick="
change:0,pan,0,500; change:0,tilt,0,500; timer+=1,500,,myDone" myDone="loadPano(?panoName=images/9f&pan=0&tilt=0)"linked="images/10f"/>

To be honest I patched this together from someone elses code but basically in the 'onClick' the change commands are pulling the pan and tilt back to my start point, in this case '0' for both but your's might be different. The 500 is the time it takes to get there. I don't really get the ymDone bit but it works :???: Just put the new pano details in with their pan & tilt being the same as the first one.

Good luck, I find it's all trial and error with this coding.

360Turismo
08-15-2008, 12:55 PM
Thanks Adrian,

I will play around with the code you have given me.

Cheers,

Paul.

360Turismo
01-07-2009, 10:30 AM
Hi all,

I have successfully put together a day/night transition with hotspots and links, http://www.360turismo.com/fpp/fs/marina/marina.html however the transition only occurs when the hotspot is clicked. What I need to happen as well as having the hotspots is that the pano rotates and then automatically blends in to the next scene.

I understand the following code from Yavuz creates this action, where would I add this code to the original code to implement this function?


<global
onStart="timer=1,10000,,changePano4"
changePano4="loadpano(panoName=path/yourpanoname,fade,100);timer=1,10000,,changePano3"
changePano3="loadpano(panoName=path/yourpanoname,fade,100);timer=1,10000,,changePano4">


Original xml code: - http://www.360turismo.com/xml/marina_xml.html

Thanks in advance for any help.

Paul.

seeinside360
01-07-2009, 10:56 AM
Hi all,

I have successfully put together a day/night transition with hotspots and links, http://www.360turismo.com/fpp/fs/marina/marina.html however the transition only occurs when the hotspot is clicked. What I need to happen as well as having the hotspots is that the pano rotates and then automatically blends in to the next scene.

I understand the following code from Yavuz creates this action, where would I add this code to the original code to implement this function?


<global
onStart="timer=1,10000,,changePano4"
changePano4="loadpano(panoName=path/yourpanoname,fade,100);timer=1,10000,,changePano3"
changePano3="loadpano(panoName=path/yourpanoname,fade,100);timer=1,10000,,changePano4">


Original xml code: - http://www.360turismo.com/xml/marina_xml.html

Thanks in advance for any help.

Paul.

Hi Paul;
just remove it in global tags
<global
night="
loadPano(panoName=marina_files/visualFiles/marina_night&leash=lock&panoType=cube0,1000,fade);
"
day="
loadPano(panoName=marina_files/visualFiles/marina_day&leash=lock&panoType=cube0,1000,fade);
"
and add this:
<global
onStart="timer=1,10000,,night"
night="loadpano(panoName=marina_files/visualFiles/marina_night,fade,100);timer=1,10000,,day"
day="loadpano(panoName=marina_files/visualFiles/marina_day,fade,100);timer=1,10000,,night">

it must work!

Valery
10-23-2009, 02:21 PM
aarg ! two days and i don't find where is the problem !:confused:
if any master specialist could help me to sleep during my futur night...

I also try to work on day/night transition, but after the second pano is loaded at 100%, everything stop:
http://www.vjoncheray.fr/panoramique/exemple/day-night/pointe-ouest.html

my question is: i use .mov pictures, is there a problem with that for thhe transition effect ?

That's strange because i have copy/paste the code above
my xml is very simple :

<?xml version = '1.0'?>
<panorama>

<parameters>


panoType = mov
panoName=jour

disableLoading=0


layer_7 = files/movDecoder.swf
layer_8 = files/menuFullscreen.swf
layer_11 = files/autorotator.swf
layer_12 = files/hotspots.swf
layer_13 = files/tooltips.swf

</parameters>

<autorotator>
speed = -0.1
interval = 30
pause = 3000
quality = low
</autorotator>

<hotspots>

<global
onStart="timer=1,2000,,night"
night="loadpano(panoName=nuit,fade,100);timer=1,10000,,da y"
day="loadpano(panoName=jour,fade,100);timer=1,1000,,nig ht">


</global>

</hotspots>


</panorama>





thanks if you know something !

siesfor
10-23-2009, 03:15 PM
hey Valery, problem is you're using the buggy version of movDecoder.

use the 8.12kb version from 10/12/2007 from the "plugins" folder, rather than the 7.97kb version from 10/08/2007 found in the "files" folder.

Valery
10-23-2009, 06:54 PM
Many Thanks Siesfor !!
:)

Valery
10-26-2009, 08:40 AM
Thank you guys, it's working well, just have now to complete de tour:
http://www.vjoncheray.fr/panoramique/exemple/daynightflash/

i'm a new user of flashificator since...10 mn, quite simple to use :cool:

Trausti Hraunfjord
10-26-2009, 04:54 PM
Hi Valery. Nice result for a 10 minutes first timer's work!

I can see you are using version 2.061. You should update to 2.062, that is so much easier to use. That's the first "Phase3" version. Send me a PM in the FFC forums, and I will enable your account to access the updates, as outlined in the update information PDF file you got with the package.