Visionaire RC0 Update

  • #110, z stroncisThursday, 11. May 2017, 22:40 hodinky 8 years ago
    I found the problem. It's something to do with solid color. If i add a brushstroke of another color, it fixes the problem. If i fill it back to solid color - it starts to behave as multiply blending.

    Update: i wanted to "cheat" this solid color problem. Color of solid filled rectangle background is "2b2227". So i changed one pixel color to a very similar color "2b2226", but it still doesn't behave correctly. So apparently it's not just solid fill, but something with overall color uniformity in image. No easy solution, if you want to use solid color (or almost solid) images with alpha.

    Bažant

    42 Posts


  • #111, z sebastianFriday, 12. May 2017, 12:27 hodinky 8 years ago
    yeah...there is definitely something crazy going on ^^

    PS: Tried to do it via object visibility. Sadly this doesn't work on interface buttons because they don't have a visibility field

    Kapitán

    2346 Posts

  • #112, z MachtnixFriday, 12. May 2017, 14:07 hodinky 8 years ago
    I don't understand the solution in English. What i have to do if I want to use transparent png-files?

    Kapitán

    1097 Posts

  • #113, z ke4Friday, 12. May 2017, 14:20 hodinky 8 years ago
    I don't understand the solution in English. What i have to do if I want to use transparent png-files?

    There's no solution yet.

    Zabiják klíčů

    810 Posts

  • #114, z sebastianFriday, 12. May 2017, 14:28 hodinky 8 years ago
    I don't understand the solution in English. What i have to do if I want to use transparent png-files?
    Es gibt ein Problem mit halbtransparenten, einfarbigen png (ggf. auf webp) Dateien, die auf gleichfarbigen Hintergründen platziert werden. Normalerweise sollte das halbtransparente Bild mit dem gleichen Farbwert ja "nicht sichtbar" sein bzw. falls etwas zwichen Hintergrund und Objekt liegt dieses blasser durchschimmern lassen. Die Engine scheint die Farbwerte zu multiplizieren und nicht normal zu behandeln und daher erscheint das halbtransperente Bild dunkler als es ist...
    Sobald aber ein Pixel dieses transparenten Bildes. mit einer anderen (0% Alpha) Farbe eingedeckt wird, scheint der Effekt beseitigt (bei Windows). Bei Mac sehe ich hier noch einen leichten Unterschied in den Farbwerten. 


    Kapitán

    2346 Posts

  • #115, z joemidFriday, 12. May 2017, 16:21 hodinky 8 years ago
    Solid blocks of color with opacity- the visionaire player draws these to diplay some infos- I seem to remember having some issues with blocks of solid color and the shaderzoom.  Prolly not related, but- :o

    Bažant

    87 Posts

  • #116, z stroncisFriday, 12. May 2017, 17:14 hodinky 8 years ago
    Solid blocks of color with opacity- the visionaire player draws these to diplay some infos- I seem to remember having some issues with blocks of solid color and the shaderzoom.  Prolly not related, but- :o
    An interesting statistics you have here!

    Bažant

    42 Posts

  • #117, z afrlmeFriday, 12. May 2017, 17:36 hodinky 8 years ago
    Solid blocks of color with opacity- the visionaire player draws these to diplay some infos- I seem to remember having some issues with blocks of solid color and the shaderzoom.  Prolly not related, but- :o
    An interesting statistics you have here!
    home / pos1 key toggles the stats overlay when running game via the VS editor. Quite useful if you want to check out how much system resources are being used & by what more or less in real time.

    I highly recommend checking out an application called SnakeTail - if you are working on a windows pc - as you can link the messages & viseditor log files to it & view log messages as they get added - works best if you have a multiple monitor setup or test in window mode if you don't.

    Imperátor

    7285 Posts

  • #118, z stroncisFriday, 12. May 2017, 17:56 hodinky 8 years ago
    home / pos1 key toggles the stats overlay when running game via the VS editor. Quite useful if you want to check out how much system resources are being used & by what more or less in real time.

    I highly recommend checking out an application called SnakeTail - if you are working on a windows pc - as you can link the messages & viseditor log files to it & view log messages as they get added - works best if you have a multiple monitor setup or test in window mode if you don't.
    That leads again to my porous manual reading, how i missed this, very useful feat. And thank you for SnakeTail recommendation, it will help definitely.

    Bažant

    42 Posts

  • #119, z MachtnixFriday, 12. May 2017, 19:25 hodinky 8 years ago
    I don't understand the solution in English. What i have to do if I want to use transparent png-files?
    Es gibt ein Problem mit halbtransparenten, einfarbigen png (ggf. auf webp) Dateien, die auf gleichfarbigen Hintergründen platziert werden. Normalerweise sollte das halbtransparente Bild mit dem gleichen Farbwert ja "nicht sichtbar" sein bzw. falls etwas zwichen Hintergrund und Objekt liegt dieses blasser durchschimmern lassen. Die Engine scheint die Farbwerte zu multiplizieren und nicht normal zu behandeln und daher erscheint das halbtransperente Bild dunkler als es ist...
    Sobald aber ein Pixel dieses transparenten Bildes. mit einer anderen (0% Alpha) Farbe eingedeckt wird, scheint der Effekt beseitigt (bei Windows). Bei Mac sehe ich hier noch einen leichten Unterschied in den Farbwerten. 
    Danke.
    Wenn ich mir das Bild als eingefärbte, halbtransparente Glasscheibe vorstelle, kommt mir das aber logisch vor...

    Kapitán

    1097 Posts

  • #120, z sebastianSaturday, 13. May 2017, 12:36 hodinky 8 years ago
    I found another thing which is really funny with the Editor.
    When opening a project via its project file directly, i get strange blue outlines in the editor for each element:

    Example:

    https://cl.ly/kQmP/Image%202017-05-13%20at%2012.35.56%20PM.png  ;


    (macOS)

    Kapitán

    2346 Posts