[fixed] sprite clipping issue with 3-d water

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

[fixed] sprite clipping issue with 3-d water

Post by Nash »

EDIT: Link removed. Instead, I've attached the file a few posts below.

Observe the Baron while you're outside the water. Lighting appears to be correct. Top half is bright, bottom half is dark (because the model sector's lighting is dark).

However, look closely. It appears that the bottom half of the Baron (the half that is under the water) is drawn in FRONT of the 3-d water. It just looks weird.

Now go underwater and look up to the Baron. Lighting is still correct... BUT the bright portion of the Baron is drawn in FRONT of the 3-d water. Shouldn't it be behind instead?
Last edited by Nash on Tue Jul 25, 2006 16:06, edited 1 time in total.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Your link doesn't work.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Sorry, I forgot to upload the file.

Okay, uploaded. Link should work now.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No. Same error as before:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@powweb-inc.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Something appears to be wrong with the server I'm hosted on.

I'll contact the guy who owns it and once it's working, I'll be sure to post here again.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

The server is totally screwed. Here, let me upload the file as an attachment instead.
Attachments
3dwatertest1.zip
(932 Bytes) Downloaded 72 times
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Post by NeoHippo »

I looked and looked, and looked again, and I have come to the conclusion that GZDoom
renders the scene correctly. I pluncked an Imp in there as well, just to make certain.
In both cases, looking from above the waterline

Image

and from below the waterline (here, one really has to look hard for it),

Image

the translucent texture is in front of the monsters.
TAtL, tU, aE
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

This is how it looks like for me.

In the top screenshot, it's very obvious that the Baron is drawn fullbright and without any blue tint/overlay at all because it's being drawn in front of the water.

If you look real close at the bottom shot, you'll see that the bright parts of the water are occluded by the Baron.
Attachments
DOOM0001.jpg
DOOM0001.jpg (29.82 KiB) Viewed 1152 times
DOOM0002.jpg
DOOM0002.jpg (41.41 KiB) Viewed 1152 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

The bug only happens when 'smooth sprite edges' is on. Which is not the case in NeoHippo's picture.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Let me guess, it's another one of those Z sorting problem thingies (sorry I know nothing when it comes to 3-d graphics programming :))?

A lot of games and applications have all kinds of sorting problems when it comes to alpha transparency.

So this isn't fixable?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Sure it is fixable. But first I need to find the time to investigate.
Locked

Return to “Closed Bugs”