Visionaire RC0 Update

  • #100, z sebastianThursday, 11. May 2017, 17:16 hodinky 8 years ago
    did you notice the bug i mentioned where a 60% transparent png image (the object is 100% visible. The image itself has alpha transparence) gets wrong rendered abve a similar looking sprite (no alpha) below? 
    While this is not game breaking, its really annoying since vs5rc0 razz
    I used transparent images, with alpha masks or full size semitransparent alphas, no problems. Example with 60 percent alpha.
    thats weird. I'll try to readd the image or recreate the object... maybe there went something wrong while upgrading from 4.x to 5


    EDIT: Nope... for me it gets even weirder. when i make a 100% pixel border around the images behaves NEARLY as it should. But the alpha transparent space is a little bit brighter than normal. 

    How to Replicate: When using a one color alpha transparent image on a background with the same color but no alpha the problem is most significant.

    Kapitán

    2346 Posts


  • #101, z stroncisThursday, 11. May 2017, 17:29 hodinky 8 years ago
    Small issue, but i had some headscratching trying figure, what's wrong. If you create new empty game, you need to have active character, otherwise any attempt to run game will end with a crash (but you can run game without active scene!).

    Would be great to see actual error window like "No active character selected. Please select active character and then run game.", or even more user friendly - create and assign dummy character. At this moment, a new program user will get these cryptic errors.

    I have created maybe ten projects, but none of them have actual characters, just dummy ones, to avoid crashing.

    Bažant

    42 Posts

  • #102, z stroncisThursday, 11. May 2017, 17:50 hodinky 8 years ago
    How to Replicate: When using a one color alpha transparent image on a background with the same color but no alpha the problem is most significant.
    I think, it's related to OS differences, because they render bit differently (Win, Mac), or it's something with brightness or other settings in game project?

    Bažant

    42 Posts

  • #103, z sebastianThursday, 11. May 2017, 17:56 hodinky 8 years ago
    How to Replicate: When using a one color alpha transparent image on a background with the same color but no alpha the problem is most significant.
    I think, it's related to OS differences, because they render bit differently (Win, Mac), or it's something with brightness or other settings in game project?

    I don't think so... as mentioned (did i?) this works without issues in 4.2.5
    When they did change something significantly in V5 for the rendering then i agree razz

    Also i use it inside an interface. Both image holding "objects" are action area buttons:


    files:







    Kapitán

    2346 Posts

  • #104, z stroncisThursday, 11. May 2017, 18:03 hodinky 8 years ago

    Also i use it inside an interface. Both image holding "objects" are action area buttons:
    Works as supposed, if just tossing them to the scene. Make a screenshot with wrong and correct behavior and post here.

    Bažant

    42 Posts

  • #105, z sebastianThursday, 11. May 2017, 21:04 hodinky 8 years ago
    Yours is also buggy! grin

    See the "Sprache" slider...

    wrong rendering in VS5
    https://d2ppvlu71ri8gs.cloudfront.net/items/100r422D1K2a47193A0J/Image%202017-05-11%20at%208.58.18%20PM.png

    correct rendering in VS4.2.5

    It should work like e.g. in photoshop where Two layers of the same color with " normal " blending mode, but the above with e.g. 30% opacity looks like there is no difference...

    Kapitán

    2346 Posts

  • #106, z stroncisThursday, 11. May 2017, 22:18 hodinky 8 years ago
    Now i get it, yes, it looks like Multiply blending mode. But, if you see my example with mountains - it's working like supposed to work. But with your case it's bugged, also, i made new file with same colors and opacity (in scene it named "new cut") - same problem. And all in the same scene, that's very odd.

    I even added one more object with opaque mountains and offsetted it a bit, to see better transparency of 60% mountains - and any problems, not in highlights, not in shadows.

    Bažant

    42 Posts

  • #107, z ke4Thursday, 11. May 2017, 22:27 hodinky 8 years ago
    You could try converting the image to .webp. Or to .webp and back to .png. I had once strange issue with rendering and this helped me. ( another export from graphics software didn't)

    What do you need the transparency for?
    Another thought, you could set the object visibility via Visionaire?

    Zabiják klíčů

    810 Posts

  • #108, z stroncisThursday, 11. May 2017, 22:33 hodinky 8 years ago
    In last example, i made new, fresh file, filled with colorpicker, it have no connection to original at all. But still same problem. Though mountains blending without problem. this problem is not in particular file.

    Bažant

    42 Posts

  • #109, z sebastianThursday, 11. May 2017, 22:34 hodinky 8 years ago
    What do you need the transparency for?
    Another thought, you could set the object visibility via Visionaire?
    It overlays "disabled" elements in my settings menu. When e.g game runs fullscreen you are not able to set the window resolution. In my example screens you are not able to change the speech audio when speech is disabled.
    The object visibility is the next thing i will try if it doesn't get fixed ^_^

    Kapitán

    2346 Posts

  • #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