Sie sind nicht angemeldet.

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

1

Mittwoch, 11. März 2020, 06:30

Lensflare Free



Hello everybody! My free lensflare plugin.
  • Include lensflare.xml and also add lensflare_settings in your project as shown in the example:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
<krpano>
  <scene name=""···>
  ···
    <include url="%SWFPATH%/skin/lensflare.xml"/>
    <lensflare_settings editor="false" 
                        ath="0.0" atv="0.0"
                        sun="0.1"
                        glare="0.1"
                        r_ring="0.15"
                        exposure="true"
                        exposure_bias="-1.0"/>
  <scene/>
<krpano/>

  • Set editor="true" to enable Lensflare Editor.
  • Make all the necessary settings and click the button "Get code".

Plugin Attributes

  • editor
    Lensflare Editor - helper for tuning parameters and positioning of the Lensflare. Set "true" to enable Lensflare Editor.

  • ath, atv
    The spherical coordinates of the Lensflare in degrees.

  • sun
    Transparency (brightness) of the sun.

  • glare
    The effect of bright sunlight.

  • r_ring
    The transparency (brightness) of the rainbow ring.

  • exposure
    The option allows you to adjust the exposure when looking at the sun. Must have a plugin Light Postprocessing Plugin (pp_light.js) in plugins folder.
    Note - If you do not use this plugin, set exposure="false".
    Note - exposure is disabled for mobile devices, as on most of them, this will lead to reduced performance!


  • exposure_bias
    The value of exposure bias.


Note - plugin is disabled when view.distortion > 0. More details>>>.

Updated. Compatible with krpano 1.20.8
»Sergey74« hat folgende Datei angehängt:
  • lensflare.zip (500,18 kB - 2 171 mal heruntergeladen - zuletzt: Heute, 05:02)
translation difficulties *huh*

Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von »Sergey74« (22. September 2020, 09:36)


Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

2

Mittwoch, 11. März 2020, 10:22

Hi Sergey,

Thank you for sharing!

Tuur *thumbsup*

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

3

Mittwoch, 11. März 2020, 12:09

Nice, thx sergey !

4

Mittwoch, 11. März 2020, 18:04

Looks nice ! *thumbsup*

vo001

Anfänger

Beiträge: 2

Wohnort: Russia, Ivanovo

  • Nachricht senden

5

Montag, 16. März 2020, 17:02

ЕЕЕ!!! Круто!! Наконец то, ждал много лет пока появится нормальный плагин Lens Flare для HTML5 ... Много моих старых туров которые изначально делались под флэш, красиво с бликами от солнца и позиционируемыми звуками с постепенным отмиранием флэша и повсеместным переходом на HTML5 эти туры потеряли свои фишки в HTML5.. А сейчас как раз решил разгрести старые туры, обновить движок и привести в порядок и так удачно обнаружил этот плагин. Спасибо Сергей, буду пробывать плагин в работе.

6

Freitag, 3. April 2020, 20:45

Many thanks for sharing Sergey!

7

Freitag, 19. Juni 2020, 21:41

Super! Thank, Sergey!

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

8

Dienstag, 22. September 2020, 09:37

Updated. Compatible with krpano 1.20.8
translation difficulties *huh*

vo001

Anfänger

Beiträge: 2

Wohnort: Russia, Ivanovo

  • Nachricht senden

9

Dienstag, 22. September 2020, 13:27

Спасибо, всё работает.

10

Freitag, 7. Mai 2021, 09:55

Hi, excellent plugin!

Is there any way to have more than one in a scene?

<lensflare_settings ath="-44.902" atv="-75.750" sun="0.5" glare="0.2" r_ring="0.25" exposure="true" exposure_bias="-0.5" />
<lensflare_settings ath="46.901" atv="-74.894" sun="0.5" glare="0.2" r_ring="0.25" exposure="true" exposure_bias="-0.5"/>

Only one of them seems to be showing up.

Thanks for any help!

Sergey74

Fortgeschrittener

  • »Sergey74« ist der Autor dieses Themas

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

11

Samstag, 8. Mai 2021, 05:33

Hey! Not yet. Perhaps someday, but I just don't have time for this.
translation difficulties *huh*

cuongdevjs

Anfänger

Beiträge: 13

Wohnort: Viet Nam

Beruf: JavaScript Engineer

  • Nachricht senden

12

Freitag, 11. Februar 2022, 10:44

How can i change path load file pp_light.js?

I using Krpano with ReactJS. but this plugin using path relative: "./plugins/pp_light.js" so it's wrong path.
And how can i update ath, atv of lensflare_settings by method "call" of krpano?

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »cuongdevjs« (11. Februar 2022, 12:15)


Fernando

Fortgeschrittener

Beiträge: 330

Wohnort: Habana, Cuba

Beruf: Architect, Photographer.

  • Nachricht senden

13

Freitag, 8. April 2022, 19:38

thanks!

Thanks very much for sharing!

14

Sonntag, 20. November 2022, 14:35

Hi
Lensflare works with 3d model?

Best *thumbsup*

15

Sonntag, 20. November 2022, 21:13

Hi
Lensflare works with 3d model?

Best *thumbsup*

Don't know about this plugin but zflare was developed with 3D tours in mind
it is written in js (important for speed / frame rate)
and supports (multiple) distant and positioned lights
(eg sun or ceiling spot light)
*squint*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »indexofrefraction« (20. November 2022, 21:24)


16

Sonntag, 20. November 2022, 21:24

Thanks *thumbsup*

17

Mittwoch, 30. November 2022, 09:23

@ Suso Barral
i have updated the 3d example of zflare...
https://krpano.com/plugins/userplugins/zflare/#examples
there you can see it in action, see the behaviour of a positioned and a distant lensflare