Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 9. Dezember 2008, 20:43

a newbie question..

Hi,

sorry i'm ashamed to ask so noob question... ;(

how to launch an action by clicking on main pano ??
pano onclick = action...

Thanks

2

Mittwoch, 10. Dezember 2008, 23:00

Hi,

you mean a click on the whole pano?
there is no action for this at the moment...

but you can do this with a trick:
  • set a interrupt action, this is your clicking action
  • wait a very long time
example:

Quellcode

1
2
3
4
5
6
7
<krpano onstart="oninterrupt( action(my_pano_click) );wait(10000);">

  <action name="my_pano_click">
	lookto(0,0,150);
  </action>
  ...
</krpano>


best regards,
Klaus

3

Donnerstag, 18. Dezember 2008, 01:57

hi,

ah i'm not so noob ;-)

yes i meant a click mouse on whole pano,
your solution doesn't works for me,
so i prefer wait till you implement the function.

See u

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

4

Donnerstag, 18. Dezember 2008, 02:47

cheat with a transparent png or white jpg mask

You could add a "layer" over the pano... either a blank transparent png or a white jpg (mask) set to 100%x100% that would capture a click on the pano.

if you disabled mouse controls and just used keyboard... or added the pano controls plugin on a level "above" the transparent layer then you could still enable control of the view.

In fact... could get some interesting effects with a white jpg mask and with every click switching the blend mode... but I am getting off topic.

Graydon

5

Montag, 22. Dezember 2008, 01:58

Hi,
cheating with transparent layer,
sounds interesting, any xml code example ?

Thanks

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

6

Montag, 22. Dezember 2008, 05:18

I don't have anything myself.

The ver 1.0.7 download came with sample mask effects that you could look at... (look at the jpg's being used for the masks as well to see what I mean by a white jpg).

Or look here... http://www.krpano.com/docu/xml/#plugin

you'll probably have to work with the zorder, capture and children options.

It would be just like adding a logo image to the screen.

7

Montag, 22. Dezember 2008, 11:43

Thanks,
i will try on the upcomings days and report here if i find successfull trick.

btw : Congrats Klaus, since 1.08 support qtvr .mov,
it was the feature i'm waiting for to switch from FPP,
and the best: this is faster and smoother than movdecoder.swf FPP Plugin, on my old powerbook i save CPU Power !
(now i can get rid of parser.php and use .mov file even in local)
if the plugin development follow this line and add some missing features, you can be the winner :D