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.
-
AuthorPosts
-
December 14, 2016 at 4:07 am #5788
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:
July 3, 2017 at 7:09 am #9099Hi,
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.
July 19, 2017 at 1:52 am #9413Hi,
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.
July 19, 2017 at 2:50 am #9417Does 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?
July 19, 2017 at 3:19 am #9418Sure..
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:
Monkey12345_light.Scale=New Vec2f( .5,.5 )'to_light.Scale=New Vec2f( 3.5,3.5 )Maybe it’s an issue with mipmapping? Is it off by default in v1.1.0.5c?
Attachments:
July 19, 2017 at 4:39 am #9423Ok, potential fix pushed to the develop branch at github – you just need the latest version of modules/mojo/graphics/image.monkey2
July 19, 2017 at 6:06 am #9424I 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).
Attachments:
-
AuthorPosts
You must be logged in to reply to this topic.






