Sie sind nicht angemeldet.

21

Montag, 30. August 2010, 21:48

It seems that the plugin Autolevels.swf sets default values when no parameters are preset in the xml ... isn't it?...
This has been confusing me a long time *wacko* ... Unless if the preload is set to true for plugin Autolevels.swf, some times they apply, some no *whistling* ...
I am not sure I am using the registerattribute() call in registerPlugin(event:DataEvent) correctly. That takes a default setting, but that defaultsetting does not seem to "take" so I set it again. Look at the registerPlugin() function for default values.
pow(val,0.33333333333333333333333333333333)
I'm not dead-set on pow(val,3)... pow(val,4) and pow(val,.25) may be more convenient.
Either way, the ui works more than well enough. Thanks for your work.

22

Mittwoch, 1. September 2010, 19:00

This plugin is f*****g amazing !!!!!!!!!!!
Love it !
Just something that annoys me, when I look to the sky, the plugin effect is ugly ... Is there a way to avoid this effect??
Thanks a lot !!
Flow

23

Mittwoch, 1. September 2010, 20:14

Hi Aldo,
I am not sure I am using the registerattribute() call in registerPlugin(event:DataEvent) correctly. That takes a default setting, but that defaultsetting does not seem to "take" so I set it again. Look at the registerPlugin() function for default values.

I have little knowledge of AS3 so I can not be of much help here *sad* ... Perhaps Zephyr could *rolleyes* , or KLAUS himself ;-) ...

About the UI you are using on your web page, it has an issue.... After that the pano has finished to load, try clicking over the threshold slider... The pano turns black because the value for the threshold attribute becomes "NaN"... So the code works wrong... The last UI above should work properly...



Hi Tiflo,

Zitat von »Tiflo«

The The This plugin is f*****g amazing !!!!!!!!!!!
Love it !
Just something that annoys me, when I look to the sky, the plugin effect is ugly ... Is there a way to avoid this effect?

Yes, this plugin is f*****g amazing !!!!!!!!!!! *g* ... But it can be difficult to obtain the proper configuration for a given pano:
The effect can be tuned to affect just the luminosity of the view, or the luminosity as well as the color of the view. Please note that the effect is applied to the (jpeg compressed) 8 bit panorama, so if the effect is too pronounced you will start to see artifacts such as banding and color mismatches. There is a number of parameters that will let you tone down the effect to suite your images.

You can include the autolevel_ui.xml to help finding the correct values for each attributes... You can download it here ....

SAlut.

24

Freitag, 3. September 2010, 11:24

Hi,

Zitat

am not sure I am using the registerattribute() call in registerPlugin(event:DataEvent) correctly. That takes a default setting, but that defaultsetting does not seem to "take" so I set it again. Look at the registerPlugin() function for default values.
normally the registerattribute() should work...
do you have an example where not?
was any attribute really 'null' in any case?

it checks if there is already an attribute and if not it creates it with the given default value,
but note - there is no automatic type conversion for numbers, a given number can be also a string,
but with casting (what you already doing) that should be not a problem...

but there are some attributes that are already used by krpano - "enabled" and "effect",
maybe this can cause problems, I'm not sure yet...

best regards,
Klaus

25

Samstag, 4. September 2010, 21:49

Hi,

First, I have no idea about AS3, that could explain if I say something with no sense ;-) ...
About the default values in AS3 (that could return NaN as value)... I have read somewhere that the default value for a variable typed as Number is NaN ... The default value for a variable typed as int is 0 ... So, perhaps it could be good to retype the variables from Number to int ...???

I would like to try the above editing the file autolevels.as with flash CS4 but, as I am very new on this, I just do not know how to save the resulting code as an SWF file *sad* *thumbdown* *g* .... Please, someone could explain or point to a tutorial *smile* ?

SAlut.

Graydon

Profi

Beiträge: 614

Wohnort: Texas

Beruf: Industrial gas turbine services.

  • Nachricht senden

26

Dienstag, 7. September 2010, 05:03

Aldo - great work and the new site is looking good.

27

Mittwoch, 8. September 2010, 12:01

Hi,
I would like to try the above editing the file autolevels.as with flash CS4 but, as I am very new on this, I just do not know how to save the resulting code as an SWF file *sad* *thumbdown* *g* .... Please, someone could explain or point to a tutorial *smile* ?
this file must be compiled with mxmlc (not Flash CS*),

to compile it: (under Windows)
  1. get the free "Flex SDK", e.g. here
  2. extract the Flex SDK zip anywhere
  3. the mxmlc compiler is s located in the "bin" folder,
    add that folder to PATH environment variable,
    or make a shortcut of it for drag and drop usage,
  4. finally you need to call "mxmlc -use-network=false autolevels.as" to build the .swf
    (the -use-network=false settings is necessary to let the swf also work offline)

here is also a great tutorial for the mxmlc compiler:
http://www.senocular.com/flash/tutorials/as3withmxmlc/

best regards,
Klaus

28

Dienstag, 5. Oktober 2010, 09:22

Great plugin - thanx for sharing this!

minor bug found - on exit of the plugin it does not reset the applied layer color- and brightness adjustments:

Using it in a tour (not in a single pano) i put no "keep = true" to the defining plugin. Because i want it to be alive only in those panos of the tour i decide it to be useful. Now when you leave one pano with activated autolevels into another one without this feature the last autoleveladjusment stays and controls this new pano. It means that the new pano with no autolevels activated is much to dark or light, depending on the exit-situation of the pano before.

best regards!
best regards from www.PanAustria.com

29

Dienstag, 5. Oktober 2010, 17:45

I have uploaded a new version of the plugin that should fix this issue (though I have not tested the fix)
http://fieldofview.com/sites/default/fil…/autolevels.swf

'do

30

Dienstag, 5. Oktober 2010, 20:14

Thank you very much - i tested the update and the bug is fixed with this new version!
best regards from www.PanAustria.com

Hellkeeper

Fortgeschrittener

Beiträge: 164

Wohnort: St. Johann in Tirol

  • Nachricht senden

31

Mittwoch, 13. Oktober 2010, 19:05

Great plugin - already using it on http://www.gpix.at --> one thing I noticed - if you click on any of our hotspots - the color won't adjust until the final destination is reached - sometimes there are massive misscorrections if you zoom from a dark spot to a lighter one - or vice versa.

following procedure to move to hotspots:
- zoom out half
- pause 0.33
- zoom in to hotspot

is there at least a possibility to get autolevels to readjust the color while we do the pause?

Thank you, bye
Andreas
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at

32

Samstag, 16. Oktober 2010, 13:48

Interesting... The autolevels plugin relies on krpano sending events.onviewchange events. Apparently these are not being fired during a moveto call. Unless Klaus agrees this is a bug in krpano and fixes it it a next release, I may have to find a workaround.

edit: I just thought of a workaround; setting any of the autlevels plugin attributes should result in recalculating the histogram. You can set a variable to its current value again, or even set a "dummy" variable (set(plugin[autolevels].dummyvar,0)). If you do this before going into the pause, you should at least get some adjustments going on during the sweep.

Hellkeeper

Fortgeschrittener

Beiträge: 164

Wohnort: St. Johann in Tirol

  • Nachricht senden

33

Montag, 18. Oktober 2010, 12:25

Hi,

thank you for this workaround - not perfect - but better than before! ;-)
Maybe Klaus can send the onviewchange events while moveto - or maybe new Events like "moveToStart" and "moveToStop" or something like that? (I'm no AS pro ;-))

bye
Andreas
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at

34

Mittwoch, 22. Dezember 2010, 16:26

does this plugin still work with the newer version? i tried to add it but it does nothing. the effect is not applied.

35

Montag, 27. Dezember 2010, 18:15

Yeah, it works for me, the same way it did for 1.0.8.11. Are you using the UI to tune the effect? Do you have a link we can check out?

36

Donnerstag, 30. Dezember 2010, 15:58

Yeah, it works for me, the same way it did for 1.0.8.11. Are you using the UI to tune the effect? Do you have a link we can check out?


I did get this to work. I had to play with the threshold some but it is working. Great Plugin! Thank you!

fotojehle

Anfänger

Beiträge: 29

Wohnort: Pleigne

Beruf: Fotograf

  • Nachricht senden

37

Donnerstag, 7. April 2011, 22:33

Great plugin

Aldo many thanks for sharing!!!!

Felix

Hellkeeper

Fortgeschrittener

Beiträge: 164

Wohnort: St. Johann in Tirol

  • Nachricht senden

38

Donnerstag, 30. August 2012, 11:48

Hi,

I got some Problems with the Autolevels Plugin - I described them here: Mouse Problem
Any chance to fix them? As I really don't want to loose this great plugin! :-/

thx
Andreas
Andreas Schnederle-Wagner
Rundblick GmbH / Gigapixel aus Österreich
https://www.rundblick.at/
https://www.gpix.at

39

Sonntag, 19. Mai 2013, 19:55

Html5

There will be a version for html5?

40

Montag, 27. Mai 2013, 10:37

The short answer is "probably not any time soon"