zFilter WebGL postprocessing plugin
-
-
Hi,
Great .. masterpiece!!
Very useful!
Love it!Tuur
-
Good work !!
-
Sorry, there was a glitch in my mycommerce setup yesterday,
so that for non-english languages the input fields for the krpano reg values and newsletter subscription were not displayed.
this should be fixed now! -
Not very clear to me, are these effects that are performed on the panorama itself? If yes, what about the performance when viewing the 360, because I don't see any examples of this.
Otherwise a great plugin ! -
Not very clear to me, are these effects that are performed on the panorama itself? If yes, what about the performance when viewing the 360, because I don't see any examples of this.
Otherwise a great plugin !
Hi Birdseye,yes, the effects are performed on the panorama (and on hotspots if their renderer is set to webgl)
the performance is generally good and no problem on normal desktops or modern phones. all examples (including the older ones) were done on a macbook pro 2016 13", and moving the pano while displaying or tweening values works nicely on my iphone6, for example.
movement/zooming etc itself doesn't really cost performance as the effects are applied to each frame anyway. the most demanding effect is blur with high values, as this needs multiple shaders. performance issues get visible on computers or devices with weak graphics processing power when you use very large browser windows.
btw, you're right, i should add an example to show the pano in movement!
for now you can check out the videos in the pre announcement...
https://krpano.com/forum/wbb/inde…ad&postID=74408best, index!
-
zFilter 1.1.2 Update
i updated zFilter with an editor now!
the editor is meant as a development tool to be able to experiment with the attribute settings (without need of coding)it is a separate xml that you can simply implement like this
Code<include url="zfilter_editor.xml" /> <set var="zfilter_editor_visible" val="true" /><!-- initial visibility --> <set var="zfilter_editor_toggle" val="90" /><!-- keycode E to toggle the editor --> <set var="zfilter_editor_align" val="65" /><!-- keycode A to align the editor -->
the three variables allow you to set the initial visibilty and the keycodes for toggling visiblity and alignment (top/bottom/left/right)
best, index
-
Hi Index,
ohh i like this plugin!
one question.
i'm unsure about this line which makes the blur effect more smooth:
if(device.pixelratio GT 1.0, div(display.framebufferscale, 1, device.pixelratio));for the blur smoothness it works good, but the hotspots get pixelated by this.
I like to reset this line after my zfilter magic.Should i mul device.pixelratio and display.framebufferscale again?
or is there a better way?Cheers!
Tuur -
hey tuur,
this line, included somewhere in your start actions. ensures that krpano doesn't use a @2x resolution on retina displays
and speeds up the plugins (and also general) performance on older retina devices quite a lot.if you want to restore the initial value, a backup is the best solution, i guess.
you could extend the framebuffer line toCodeif(device.pixelratio GT 1.0, copy(framebufferscale_backup, display.framebufferscale); div(display.framebufferscale, 1, device.pixelratio));
and later to restore withbut... i never restore the framebufferscale and i don't have problems with hotspot display... are you scaling your hotspots?
in this case you could try to down/up scale your hotspot images closer to the target size in photoshop, and do less scaling in krpano
i always try to keep my scale > 0.5 and < 2.0best, index
-
Hi,
yes i also thought 'backup' the value is the best.
Yes the hotspots are scaled quite some indeed. Old and new stuff mixed... haha.
Yes i already planned to bring that closer to target. Would be good when that makes a difference and we don't need to reset the display.framebufferscale.Thanks!
Tuur -
stay tuned....
-
Ohh wow..
really like that!
So, when i understand right we can with the update also tween the amount of pixelated effect?
Nice!
Can't wait to have a go..Tuur
-
Any clue on when to release V2 ?
Santa?Tuur
-
i hope sooner! ;)
-
Hi Index,
I was wondering.. just a thought..
Will or could it be possible to add the effect to hotspots or layers?
Even more on a specific hotspot or layer??Tuur
-
Hi Tuur,
as much as I like both ideas.. sadly both wont come true.
these are limitations by krpano, or lets say web technology in general.krpano postprocessing can only affect the panorama and hotspot rendered by webgl https://krpano.com/docu/xml/#hotspot.renderer
layers are html elements with css displayed on top and sadly can not be affected by krpano postprocessing.with zfilter 2 it is possible to use the krpano 1.20 postprocessing order and phase attributes https://krpano.com/plugins/postprocessing/#order
this separates the postprocessing in two phases:
phase=2 the panorama together with all (webgl) hotspots and phase=1 only the panorama
influencing specific hotspots is not supported by krpano,
this is mainly because it would need a significant amount of memory and performance.by the way, the new order and phase attributes have great new possibilites:
with phase=1 you can blur the panorama while hotspots are unaffected, this is great for popups, for example
zfilter order allows you to not only to order zfilter before or after other postprocessing plugins,
it also allows you to rearrange all internal filters.
for example swirl=0.5, pixelate=0.5 looks completely different
if you switch the order. (ie swirl|pixelate vs pixelate|swirl)best, index
-
regarding the post above...
all true, but i found another way to apply filters to layers ... keep u posted
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!