animate hotspot in panoramic video

Q&A about the latest versions
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Ok here are some workflow screen shots. I will try to post this to our website today [edited 17Feb09 to use correct embed code string]

Download demo "countdown_clock.swf" sample and create your own embedded object Flash panorama in Pano2VR
countdown_clock.swf
Download demo Countdown_clock.swf sample to use in creating your own embedded object
(3.6 KiB) Downloaded 10856 times
Finished panorama link http://360texas.com/services/swishmax2flash9/index.htm

Feel free to click "save picture as"

I am doing this to demonstratate because if you can not afford Adobe Flash CS4 then there is an alternative software to create FLASH animated files. I can not afford Flash CS4.

In SwishMax 2 create an animated flash object. I chose the sample called Count down clock. This counts down the number of days, minutes and seconds until year 2010.

1. Create 1 animated Flash object

Image

2. Save the animated Flash object using SWF [FLASH 9] see top center

Image

3. No picture Open Pano2VR and start a new project or modify an existing project to include a animated flash .swf

4. Hotspot Create a Point Hotspot by mouse clicking on the picture about where you want the .swf to be located

Image

5. Click the skin editor [edit] button

Image

6. Click the cross hair TARGET icon to place a cross hair target on the grid. Move it to mid screen. Notice it places a cross hair target in the right side TREE

Image

7. Modify the cross hair target box to include ID " clockhs " found bottom left

Image

8. Create a [T] text box .
Add ID clockhs
Position move the red box around to fit
Size should be about the same pixel dimension size as the the SwishMax2 Count down box
Scaling not scaling smaller or larger so values are 1. and 1.
Angle no change
Visible: yes we want the clock to be visible with 1 for Alpha - no tranparency

[edit 17Feb09 ]Text: Since this is a Text box.. you DO NOT need to have text followed by the call to display the countdown_clock.swf and horizontal and vertical spacing values
write ->>>>->>>>

<img src="countdown_clock.swf" hspace="0" vspace="0">

Erik and others observed this condition:

No text in the string = use line wrap [x] And be sure to size width height the block to use same as your .swf object [clock]


Background: I wanted it transparent so I deselected
Border: I needed to see the position in the panorama incase the clock was not being displayed properly
Hotspot Proxy ID I used clockhs because was not sure I needed it for a point hotspot.. besides I am being consistant
[no Actions/Modifiers needed for this demo]

Image

9. Save OK and Create your panorama. It should look something like this. Notice the clock is static and does not float. Boxes to not align properly. Needs alignment fine tuning.
It does show that the count down seconds are counting down properly... meaning some type of embedded flash .swf activity.

Image
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
erik leeman
Posts: 470
Joined: Sat Sep 09, 2006 10:51 am
Contact:

Well done!
A little detail though:
Ye'd better change

clock <img src="countdown_clock.swf"> hspace="0" vspace="0"

to

<img src="countdown_clock.swf" hspace="0" vspace="0">

There is no need for actual text + hspace="0" vspace="0" need to be included inside the <>brackets.

Did it really work without checking Word Wrap? That would be a surprise, I never got it working without checking that box.

Erik
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

I did try removing the word Clock" from the string... and all I got was a no background outline box. Put Clock back in again.. orange clock displayed properly albeit not aligned
erik leeman
Posts: 470
Joined: Sat Sep 09, 2006 10:51 am
Contact:

And what happens if you do check the Word Wrap box and leave the word out?

Erik
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

As you suspected

No text in the string = use line wrap [x]

add text "Clock" in the string = deselect line wrap [_]

It works with the either above conditions apparantly its a toggle !

Good observation Erik.

I edited the workflow to include your observation.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Here is the URL for the count down clock

I learned also that the .swf is apparantly not embedded in the panorama .swf. It sits external to the panorama.swf. Otherwise it needs to be pathed to its folder location in the Text code as Erik showed us with his sample.

So on my server I have in 1 folder
index.htm this calls panorama called tx.swf
p2q_embeded_object.js
countdown_clock.swf the clock
tx.swf the actual panorama.

http://360texas.com/services/swishmax2flash9/index.htm
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

Hello Dave,

As Erik already tried to point out to you you need to change your code from:

<img src="countdown_clock.swf"> hspace="0" vspace="0"
to
<img src="countdown_clock.swf" hspace="0" vspace="0">

This will remove the hspace="0" vspace="0" from showing in your panorama.
As I already pointed out the clock (in this case the countdown clock) is floating not static. Meaning it is not pinned to a 3D Map.

For me the only way this clock would make any sense is for it to be static on the skin not a floating hotspot.

Well done on getting as far as you have.

Regards, Smooth 8)
Image
erik leeman
Posts: 470
Joined: Sat Sep 09, 2006 10:51 am
Contact:

As I already pointed out the clock (in this case the countdown clock) is floating not static. Meaning it is not pinned to a 3D Map.
For me the only way this clock would make any sense is for it to be static on the skin not a floating hotspot.
And that brings us back to the nadir logo thread of some time ago : )
This matter really needs to be sorted out, to be able to really stick an element on the pano so that it distorts with it while panning would be an important addition to the possibilities of inserting external content.
This is one for Thomas only I think.....

Cheers!

Erik
User avatar
hum@no.id
Posts: 945
Joined: Sat Sep 09, 2006 10:35 pm
Location: Dark side of the Moon
Contact:

And that brings us back to the nadir logo thread of some time ago : )
This matter really needs to be sorted out, to be able to really stick an element on the pano so that it distorts with it while panning would be an important addition to the possibilities of inserting external content.
I missed this triks by Hopki nadir placed...

Where is? (link please)
Gumir J | VR Panoramic Photographer | mobile: +77055717171 | skype: gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
erik leeman
Posts: 470
Joined: Sat Sep 09, 2006 10:51 am
Contact:

Hopki's logo was stuck to the nadir alright, but I don't think it distorted with the pano.
This effect is much more visible away from the poles (zenith and nadir).

Erik
User avatar
hum@no.id
Posts: 945
Joined: Sat Sep 09, 2006 10:35 pm
Location: Dark side of the Moon
Contact:

this interesting for any visual FX increases (like as TV screen / same interior clock and more)

BTW. via other projects (pano players) this work fine (eg. FPP)
Gumir J | VR Panoramic Photographer | mobile: +77055717171 | skype: gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
erik leeman
Posts: 470
Joined: Sat Sep 09, 2006 10:51 am
Contact:

BTW. via other projects (pano players) this work fine (eg. FPP)
Exactly!
So there is some urgency I'd say.

Erik
smooth
Posts: 1493
Joined: Sat Sep 09, 2006 7:30 pm

There must be a wire frame 3D map that items can be placed on to hold firm.
I'm sure Thomas knows this and will know how to implement it. Though highly unlikely while he is moving house.
While the flash is fun for some it is still only a gimmick in the scheme of things and I personally feel there are far more important issues to be looked at and sorted first, like directional sound.

Regards, Smooth 8)
Image
erik leeman
Posts: 470
Joined: Sat Sep 09, 2006 10:51 am
Contact:

While the flash is fun for some it is still only a gimmick in the scheme of things and I personally feel there are far more important issues to be looked at and sorted first, like directional sound.
On those two points we most firmly disagree.
Adding images or Flash content seamlessly into the scene is a basic functionality of every other Flash converter.
For Pano2VR to stand a chance against the competition this simply has to work.

Directional sound = four quality (stereo?) sound files to be transported with the pano file.
People are having enough problems getting reasonable quality panos to visitors in a reasonable timespan as it is now, without sound.
Adding directional sound will only be practical for DVD/HardDisk presentations for at least two years from now.
Then there is also the processor load that is still too high with Flash 10, GPU hardware acceleration for fullscreen VR will have to be improved first so the CPU can find some time to process the sound as well.

So in my view it is directional sound that is the gimmick without practical value, for now!
In due time it will be a very welcome addition for sure!

Regards,

Erik Leeman
User avatar
hum@no.id
Posts: 945
Joined: Sat Sep 09, 2006 10:35 pm
Location: Dark side of the Moon
Contact:

I agree.... multiple flash visual effects into VRpano - this is a hidden 'Joker' in sleeve. This must work as native sets from Flash.

Peoples will be subconscious be suborned via stunning Flash visual FX vs. refined surround ambience sound...

More Interactive visual effects - de-facto for global flash technology.
Gumir J | VR Panoramic Photographer | mobile: +77055717171 | skype: gumirj
website: gumirj.com | google.com/+gumirj | facebook.com/gumirj | twitter.com/gumirj
Post Reply