You are not logged in.

1

Thursday, February 17th 2011, 9:27am

Global Events onover!?

Hi, Guys. I have any problems.
Sorry for my english ((

I want to do my vrtour by there http://tour.snej.com

How I can deal rotating sphere by mouse events onover.

This my bad code

<plugin
url="pixel_l.jpg"
x="0"
y="0"
width="20%"
height="100%"
onover="rotateLeft();"
/>

<action name="rotateLeft">
set(a,get(view.hlookat));
dec(a, 0.1);
lookto(get(a),get(view.vlookat),get(view.fov));
</action>

Zephyr

Professional

Posts: 1,003

Location: Netherlands

Occupation: Web developer

  • Send private message

2

Thursday, February 17th 2011, 11:31am

This would do the trick

Source code

1
2
3
4
5
6
7
8
9
10
<plugin
url="pixel_l.jpg"
name="left" 
x="0"
y="0"
width="20%"
height="100%" 
onover="set(movevectorx,-0.2);" 
onout="set(movevectorx,0);" 
/>  


Source code

1
2
3
4
5
6
7
8
9
<plugin 
url="pixel_R.jpg"
name="right"
x="0"
y="0"
width="20%"
height="100%" 
onover="set(movevectorx,+0.2);"
onout="set(movevectorx,0);" />   


regards
Zephyr

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

3

Thursday, February 17th 2011, 11:31am

Nice !!

like the transitions..

is that video ?
Tuur *thumbsup*

4

Thursday, February 17th 2011, 7:17pm

Thanks, this is answer with Russian forum
http://www.panolab.com/index.php?topic=1066.new#new

This post has been edited 1 times, last edit by "mxelgin" (Feb 17th 2011, 7:46pm)


5

Friday, February 25th 2011, 2:55pm

transition between 2 panoramas

Hi mxelgin,

thank you for your example: the transitions are very exciting! *thumbup*
How is it going (what is happenning between 2 panoramas)?
Do you have a simple example - and xml?

I'm very curious about your answer
Axel

6

Monday, February 28th 2011, 8:08am

Panorer, you must include global transitions xml

7

Monday, February 28th 2011, 8:39am

Panorer, you must include global transitions xml
Could you please explain this a bit more in detail? It's a really cool thing.
0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

Tuur

Sage

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

9

Friday, March 4th 2011, 4:55pm

i think this is the wrong xml.. for the transitions..

i would like to see the xml where you put the video in between the loading of the next pano.

Cheers
Tuur *thumbsup*

10

Friday, March 4th 2011, 11:01pm

i think this is the wrong xml.. for the transitions..

i would like to see the xml where you put the video in between the loading of the next pano.

Cheers
Tuur *thumbsup*
ok, why wrong?

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

11

Friday, March 4th 2011, 11:47pm

i think this is the wrong xml.. for the transitions..


tuur the second link has the video transitions.

12

Saturday, March 5th 2011, 8:07am

you may do tween effect .. for the transitions...
so why wrong ?))