Opened 10 years ago

Closed 7 years ago

#2630 closed defect (fixed)

Carpet textures "flicker" and get hidden by ground texture

Reported by: fabio Owned by: Pureon
Priority: Nice to Have Milestone: Alpha 22
Component: Art & Animation Keywords:
Cc: Patch:

Description (last modified by fabio)

Persian civic center has 4 of carpets on it. When you zoom or rotate the screen, 3 of the carpets on it (the two in front and the one on the back) "flicker" and get partially hidden by the ground texture (the one just behind the first two in the front seems not affected by this problem).

Since llvmpipe (software render) doesn't have this problem, as well other videos and screenshots found on the net, I previously reported this bug against the mesa r300 gallium graphics driver: https://bugs.freedesktop.org/show_bug.cgi?id=44126

However, as it is the case with #2143, this may be a limit of old graphics chips (confused by different textures on the same layer), which could eventually workarounded in 0ad. Maybe the affected carpets should be pushed a bit up (or they anyway could put the same as the not affected carpet).

Status update:

  • two front carpets of Persan CC: fixed in r15700
  • rear carpet Persian CC: bugged
  • hieroglyphics on Ptol CC: bugged

An example screenshot is shown below:

https://bugs.freedesktop.org/attachment.cgi

Attachments (1)

0ad-2630.png (40.0 KB ) - added by fabio 10 years ago.
same issue on ptol CC

Download all attachments as: .zip

Change History (13)

comment:1 by Stan, 10 years ago

I can't reproduce it, can anyone check ?

comment:2 by Pureon, 10 years ago

Owner: set to Pureon
Resolution: fixed
Status: newclosed

In 15700:

Updated Persian Civic structure. Fixes #2630

comment:3 by Pureon, 10 years ago

I moved the carpets up a bit more. Let me know if the bug still happens.

by fabio, 10 years ago

Attachment: 0ad-2630.png added

same issue on ptol CC

comment:4 by fabio, 10 years ago

It works fine now, indeed! I have the same problem with the hieroglyphics on ptol CC however:

http://trac.wildfiregames.com/raw-attachment/ticket/2630/0ad-2630.png

Could you do the same with it?

Last edited 10 years ago by fabio (previous) (diff)

comment:5 by historic_bruno, 10 years ago

Component: Core engineArt & Animation
Resolution: fixed
Status: closedreopened

comment:6 by fabio, 10 years ago

The response of an AMD driver developer on mesa bugzilla was:

Flickering when 2 primitives exactly intersect each other and vertex positions are not equal is a quite common programming mistake in games. Drivers cannot do anything about it.

Maybe this should be reminded in the models how-to available on wfg?

comment:7 by fabio, 9 years ago

Description: modified (diff)

Also the third carpet of the original issue, the one near the back, is still not fixed.

comment:8 by historic_bruno, 9 years ago

I'm not sure anyone on the art team checks Trac, maybe a post in the art development forum is needed.

comment:9 by Stan, 9 years ago

I ´m the only one doing th junction so it would indeed be a good idea.

comment:11 by Enrique, 7 years ago

Cannot reporduce. Geometry is not intersecting, polygons are close but they're not ovelapping -"not occupying the same space"

comment:12 by Enrique, 7 years ago

Milestone: BacklogAlpha 22
Resolution: fixed
Status: reopenedclosed

Closed the ticket after further testing.

Note: See TracTickets for help on using tickets.