Mojo lighting issue when spanning monitors.

About Monkey 2 Forums Monkey 2 Development Mojo lighting issue when spanning monitors.

This topic contains 6 replies, has 2 voices, and was last updated by  Richard Betson 1 year, 9 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5788

    Richard Betson
    Participant

    Hi,

    I have included an image of an issue I get when spanning multiple monitors in a Monkey window.  It seems when I  have two monitors and resize the window to encompass both lighting on the second monitor falls apart. It appears if lights have an issue on the second monitor. Non-lighted images seem to draw OK.

    This image is of a monkey window spanning two monitors. The side with the background image is my main monitor and the side without a background is my second monitor. Both monitors are using my GTX 950 on Linux Mint 17.2. I am currently using Monkey 2 v.1.1.01.

    Attachments:
    #9099

    Richard Betson
    Participant

    Hi,

    As of version 1.104 this is still an issue. Lighting looks to lock-in at a default of the screen (monitor) it launches on. For example if you have multiple 1080p monitors mojo2 seems to lock lighting in at 1920×1080. Resize (or a static width) the window to say a larger width and any lighting beyond 1920 (width) will break.

    With mojo3d in the works support for lighting in windows spanning multiple screens or monitors should be a concern. Would like to see this fixed for mojo2.

    Picking up my third 27″ monitor today so hot to see mojo2 supporting above. 😉

    Rock on.

    #9413

    Richard Betson
    Participant

    Hi,

    Just did a lighting test with 1.1.0.5c.

    The good news is lighting appears to work spanning across multiple monitors. The bad news is the lights are artifact-ed or blocky looking. It will do this in a single window (where the window matches the monitors resolution) or spanning monitors. There is also a shimmering effect when moving images. I’ve posted an image as an example. If needed I can record a video of the shimmering effect.

    System: Linux Mint 17.2 Nvidia GTX 950.

    Is it OK to report issues about the development branch on Github?

    Edit: Hopefully you can see what I mean in the images.

    Edit 2: The red and blue lights are scaled up to better show the stepping/blocky light issue.

    #9417

    Mark Sibly
    Keymaster

    Does this happen with ‘simplelight’ or other bananas?

    Can you describe the issue better, I can’t really see anything from the screenshots.

    Can you try on a PC or other hardware?

    #9418

    Richard Betson
    Participant

    Sure..

    It looks like an issue with scaling the light image. I have included two images of simplelight running on v1.1.0.5c and v1.1.0.4 which shows the different results when scaling a light image. I changed the following line in simplelight:

     

    Maybe it’s an issue with mipmapping? Is it off by default in v1.1.0.5c?

    #9423

    Mark Sibly
    Keymaster

    Ok, potential fix pushed to the develop branch at github – you just need the latest version of modules/mojo/graphics/image.monkey2

    #9424

    Richard Betson
    Participant

    I think that got it. Looks like it is working as before (v1.1.0.4). 🙂 Thanks for making this all a priority. You-da-man. Going to be plugging in mojo3d into my Alien Phoenix project here soon which should be fun. So far testing mojo3d on my multiple monitor setup seems to work OK.

    Screen shot (highly compressed).

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.