Opened 12 years ago

Last modified 8 years ago

#1380 closed defect

Graphical Artifact Ingame on Mac — at Version 14

Reported by: vls Owned by:
Priority: Should Have Milestone: Alpha 17
Component: Core engine Keywords: patch
Cc: Patch:

Description (last modified by historic_bruno)

Black border of rect move with camera. Disappear after off water reflection.

HW: Macbook pro 13" 2011 year. Latest Mac OS

Change History (16)

by vls, 12 years ago

Attachment: black rect.jpg added

comment:1 by Kieran P, 12 years ago

Milestone: BacklogAlpha 10
Priority: Should HaveRelease Blocker

Hey vladislav. I had the exact same thing and let Philip know. I didn't bother making a ticket for it at the time because I thought it might have just been my computer. Sad to hear it isn't just me :-(

I'll update this to a release blocker in Alpha 10, but no guarantees it'll actually be fixed before release.

comment:2 by Kieran P, 12 years ago

Summary: Artifact on mapGraphical Artifact Ingame on Mac

comment:3 by historic_bruno, 12 years ago

Priority: Release BlockerShould Have

Hi, I'd like to request your system_info.txt from the Mac :) You can find it in ~/Library/Application\ Support/0ad/logs/system_info.txt. Unfortunately it's hard to troubleshoot this without more information and most of our devs don't have access to a Mac.

Are you using one of our app bundles, which one?

comment:4 by wraitii, 12 years ago

I get this one too, on a MacBook Air 13" (last generation iirc)... But not permanently, it appears/disappears when moving/zoominh, on every version since Alpha 8.

I did not find it a huge nuisance, but it is there, moving with the camera (though, again, it depends on the zoom …) To be more precise on the problem: it moves much like if it was an object "behind" the map, so it moves on the screen (imagine a starfield moving behind, for example). It also gets bigger when you move from the left side corner to the far right corner of the map. Perfect rectangle, which leads me to think it's some sort of zBuffer problem. It's especially prominent when zoomed out. Revealing the map changes strictly nothing. it still happens when rotating, and it moves in a consistent way, albeit fairly unpredictable. It happens in wireframe mode too.

It appears on any map that has water, including maps that are only water, but I failed to have it on exclusively land maps (such as the demo wall test RM). It may come from a problem with the water rendering.

in reply to:  4 comment:5 by historic_bruno, 12 years ago

Replying to wraitii:

I get this one too, on a MacBook Air 13" (last generation iirc)... But not permanently, it appears/disappears when moving/zoominh, on every version since Alpha 8.

Can you attach your system_info.txt file per the above instructions? Which version of the game are you using? Do you get any OpenGL errors during the game (or in the logs, ~/Library/Application\ Support/0ad/logs/interestinglog.html)?

Last edited 12 years ago by historic_bruno (previous) (diff)

comment:6 by wraitii, 12 years ago

System info: http://pastebin.com/nArAAMmy. It happened on every version of the game I used since Alpha 8, and I'm currently up-to-date with SVN. No error of any kind, as far as openGL is concerned. I'm going to try changing some of the settings to see if I can pinpoint the problem.

comment:7 by wraitii, 12 years ago

Allright, further progress: it only happens for me when "fancywater=true", ie the games uses the fancy water shaders. it also happens using "renderpath=fixed", using preferglsl=true, and the other settings don't seem to change anything either.

So I think it's linked with the presence of advanced water.

by Kieran P, 12 years ago

Attachment: system_info.txt added

k776's System Info

comment:8 by historic_bruno, 12 years ago

Milestone: Alpha 10Alpha 11

Weren't there water rendering problems with Intel HD graphics on other OSes too? I don't know if they still exist or have been fixed.

(We could disable fancy water with that card on Macs if nothing else.)

Last edited 12 years ago by historic_bruno (previous) (diff)

comment:9 by wraitii, 12 years ago

That's possible... I have an iMac at home, I'll report this WE.

comment:10 by wraitii, 12 years ago

Confirmed: this does not happen on my iMac, so it might be a problem with the Intel HD 3100 of the MacBook Air. I'd advise against disabling fancy water, but not enabling it by default (and warning of compatibility issues) is an idea if it can't be fixed. However, as non-fancy water is so ugly, I really find it hard to play with it disabled.

comment:11 by historic_bruno, 12 years ago

In fact there's an unresolved ticket for it: #966

comment:12 by Kieran P, 12 years ago

Milestone: Alpha 11Alpha 12

comment:13 by myconid, 12 years ago

I'm not entirely sure what's being described, but if it's a black thing that appears in the reflection in the water, it could be the reflection camera cutting off the skybox because it's too far away.

Maybe try setting the view.far value in the config to something larger.

comment:14 by historic_bruno, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.