secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
211 stars 53 forks source link

Some curved surfaces of some hollowed prims are not smooth-shaded #3013

Open canny[bot] opened 13 hours ago

canny[bot] commented 13 hours ago

The attached images demonstrate some rendering artifacts I have just encountered. One was taken with viewer version 7.1.10.10800445603 and one with ExtraFPS RC (7.1.11.11565212741). Both exhibit the same faults.

The bells in the images are made of prims. The hollowed-out and profile-cut torus that forms the side wall is now divided into four circular bands with shading discontinuous between them. Viewing in wireframe confirms that these divisions correspond to the actual division into bands of triangles. I experimented with a few more types of prims (the white ones in the images), and several show the same thing. Notice that the surface forming the inside of the torus hole is smooth shaded, only the outside (the "hollow" face) has discontinuous shading. Cylinders also have this, but spheres do not.

No earlier version of the viewer is available to compare, but I have never seen this before. I note that an older version of the Firestorm viewer (7.1.9.74745) is still able to login and does not have these faults, but the current one does (7.1.11.76496), suggesting that this is a recently introduced problem originating with the official viewer.

There is also a shading anomaly that is common to all the viewers mentioned, and is shown by the Tube prim at the top left of the images. Here too there is a perceptible division into circular bands of the inner face of the outer cylindrical skin of the tube. Yet these bands meet with zero exterior angle. None of the other faces of the tube show this anomaly. As this is present in the older version of Firestorm, this looks like a different problem of older origin.

No graphics settings or tweaks to texturing properties (shininess, normal map, switching to PBR, etc.) affected any of these observations.

The images are screen shots. Viewer snapshots are the same.

https://secondlife.canny.io/admin/board/bug-reports/p/some-curved-surfaces-of-some-hollowed-prims-are-not-smooth-shaded

canny[bot] commented 13 hours ago

This issue has been linked to a Canny post: Some curved surfaces of some hollowed prims are not smooth-shaded :tada:

AtlasLinden commented 13 hours ago

See images in the Canny report. This issue does not reproduce in pre-Atlasaurus viewers Image