Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

[BUG-4087] Some prims have black moire-like patterns when ALM is enabled #12483

Open
sl-service-account opened this issue Oct 5, 2013 · 3 comments

Comments

@sl-service-account
Copy link

sl-service-account commented Oct 5, 2013

Its easiest to build these prims up in the sky so you can easily cam around and under them.
Strange moire-like patterns happen whether actual shadows and ambient occlusion are enabled when ALM is enabled or not but the effect is strongest when ALM is enabled but ambient occlusion is disabled and shadows are set to none.
Sun can be set at midday, but sun direction doesnt appear to matter.

Repro 1

  1. Rez a torus

  2. Set Size to: X=0.3, Y=10 and Z=10

  3. Set Twist to: B=90 and E=90

  4. Set Hole Size to: X=1.00 and Y=0.5

  5. Change object type to ring.

  6. Look at the underside of the prim.

    Observed Behaviour

  • With ALM disabled you will see
    http://i.imgur.com/h5yQ2DX.png

  • With ALM enabled (Ambient occlusion and shadows disabled) you will see
    http://i.imgur.com/OYosaeZ.png

  • With ALM enabled & ambient occlusion enabled (shadows disabled) you will see the black patterns are lighter grey
    http://i.imgur.com/EWtWwGs.png

  • With ALM enabled, Ambient occlusion enabled & shadows enabled, you will see the same as the image above apart from when cammed very close to the prim, it appears as expected.

  • The black patterns change as you move camera angle.

  • When sun is set to midday and you are looking underneath the prim, the way the sunlight shines through the centre of the prim also doesn't seem to be expected behaviour, which happens when ALM is enabled or disabled - the circle of light is just more concentrated with ALM enabled.

    Expected Behaviour

  • Not to see the black moire patterns when ALM is enabled.

  • Not to see the sunlight shining through the centre of the solid prim when looking underneath.

    Repro 2

  1. Rez a tube

  2. Size to: X=0.035, Y=1.5 and Z=1.5

  3. Set Twist to: B=-360 and E=360

  4. Set Hole Size to: X=1.00 and Y=0.50

  5. Set Path cut to: B=0.0 and E=0.5

    Observed Behaviour

  • When ALM is enabled, you will see black moire patterns on the upper and undersides of the prim.
    http://i.imgur.com/D0wjpmL.png

  • With ALM disabled
    http://i.imgur.com/3Y8krNq.png

Attachments

Original Jira Fields
Field Value
Issue BUG-4087
Summary Some prims have black moire-like patterns when ALM is enabled
Type Bug
Priority Unset
Status Accepted
Resolution Accepted
Reporter Whirly Fizzle (whirly.fizzle)
Created at 2013-10-05T16:04:48Z
Updated at 2022-04-02T00:20:30Z
{
  'Business Unit': ['Platform'],
  'Date of First Response': '2013-10-07T19:10:59.932-0500',
  'Regression?': ['Issue is a Regression'],
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': '.',
  'What were you doing when it happened?': 'Filling in...',
  'What were you expecting to happen instead?': '.',
}
@sl-service-account
Copy link
Author

Marissa Linden commented at 2013-10-08T00:11:00Z

I'll need to verify this in the QA Lab when I go there later this week. Thanks for filing Whirly.

@sl-service-account
Copy link
Author

Marissa Linden commented at 2013-10-11T00:03:49Z, updated at 2013-10-11T00:04:59Z

Verified this issue is not operating system nor driver dependent.

Tested against the 327.23 WHQL driver, as well as the 331.40 Beta in Windows 7 64 and Vista 32. Tested on GeForce 9800 GTX in Win7, and a GeForce 8600 GT in Vista.

I also tested and reproduced the issue in Mac OSX 10.6.8 using a GeForce 8800 GS.

This issue first started to occur in the 3.6.0 builds of Second Life. It does not happen in the last released viewer before the Material Project updates were introduced (SL 3.5.3.276542.)

The camera needs to be rotated to nearly perpendicular with the underside of the prim in order to reproduce the issue.

@sl-service-account
Copy link
Author

Whirly Fizzle commented at 2015-08-23T01:44:31Z

Repro 2

  • Upload attached texture teXM1rfO.png
  • Rez a cube & sphere prim & apply teXM1rfO.png as the normal map.
  • Set diffuse texture to blank.
  • Enable ALM
  • Observe the moire patterns on the prims as you move camera - midday sky works fine for this.

Sphere: http://prntscr.com/87sr8w
Cube: http://prntscr.com/87srj8

Repro 3

  • Bug reproduces on the trunks of various default Linden trees.
  • Rez the Cypress 1 Linden tree & observe the trunk at certain camera angles with ALM enabled
  • Midday sky will show the problem, but its easiest seen at midnight sky with a local light shining on the trunk.

Cypress 1 trunk, ALM enabled: https://gyazo.com/bbf105abc5736e5c8422fa4ad62e103d

Still reproduces on:

Second Life 3.8.3 (304115) Aug  4 2015 20:44:48 (Second Life Release)
Release Notes

You are at 207.6, 131.7, 43.0 in Nuts Island located at sim9037.agni.lindenlab.com (216.82.41.213:13010)
SLURL: http://maps.secondlife.com/secondlife/Nuts%20Island/208/132/43
(global coordinates 256,208.0, 311,428.0, 43.0)
Second Life Server 15.07.28.303910
Retrieving...

CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (3491.94 MHz)
Memory: 16268 MB
OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 750/PCIe/SSE2

Windows Graphics Driver Version: 10.18.0013.5560
OpenGL Version: 4.5.0 NVIDIA 355.60

libcurl Version: libcurl/7.38.0 OpenSSL/1.0.1h zlib/1.2.8
J2C Decoder Version: KDU v7.2
Audio Driver Version: FMOD Ex 4.44.31
Qt Webkit Version: 4.7.1 (version number hard-coded)
Voice Server Version: Vivox 4.6.0017.21209

Built with MSVC version 1800
Packets Lost: 189/7,502 (2.5%)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant