• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-4391
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Normal Normal
Assignee: Unassigned
Reporter: Falados Kapuskas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

Secondlife Viewer does not correctly draw semi-transparent prims infront of background objects.

Created: 26/Jan/08 10:46 AM   Updated: 26/Jan/08 11:09 AM
Return to search
Component/s: Graphics
Affects Version/s: 1.18.5.3
Fix Version/s: None

File Attachments: None
Image Attachments:

1. Depth Buffer.jpg
(48 kB)

2. Draw Infront.jpg
(318 kB)

3. Object Mattes.jpg
(44 kB)
Environment:
Second Life 1.18.6 (77495) Jan 22 2008 15:30:40 (Second Life WindLight)

You are at 257597.9, 259460.2, 34.6 in Columbia located at sim1226.agni.lindenlab.com (8.4.130.122:13004)
Second Life Server 1.18.6.77554

CPU: Intel Core 2 Series Processor (2197 MHz)
Memory: 2038 MB
OS Version: Microsoft Windows XP Service Pack 2 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 8800 GT/PCI/SSE2
OpenGL Version: 2.1.2
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Packets Lost: 11/34592 (0.0%)
Viewer Digest: 58f7490d-4744-f65f-8845-3f6b997152e6
Issue Links:
Duplicate
 
Relates
 


 Description  « Hide
1. Make an object with either an alpha-value less than 1.0 or textured with an alpha texture.
2. Directly behind that object, place an opaque prim (Alpha 1.0, Some opaque texture)
3. Pan the camera so that the alpha prim is in-front of the opaque prim
4. Notice that, at certain times, the opaque box will draw in-front of the semi-transparent box, regardless of their logical distance in the frame.
(Good angles are something like 30-40 degrees, but I've seen it happen when looking dead on)

Why this seems to happen? Look at the screen-shot.

It appears that semi-transparent prims do not get loaded into the depth buffer at all, leaving other prims to draw in front regardless of whether they belong there or not. The result is that the prim in the background draws in-front of the prim in the foreground, when logically it should be reversed.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Falados Kapuskas added a comment - 26/Jan/08 10:47 AM
The railroad dracks should not draw in-front of this wall

Falados Kapuskas added a comment - 26/Jan/08 10:48 AM
The semi-transparent wall is not in the depth buffer at all.

Falados Kapuskas added a comment - 26/Jan/08 10:49 AM
For consistency, I included the object mattes. You can see here that the mattes seem to have the right order placement.