GZDooM 3d floors under water render bug
Moderator: Graf Zahl
- I.C.H.I. Znot
- Posts: 18
- Joined: Fri Jun 03, 2011 12:20
GZDooM 3d floors under water render bug
If i make complex 3d structures with 3d floors placed one above other (e.g. pipes, or ladder) and make them under water, then only upper 3d floor looks normal, the others rendered with only flats (upper flat opaque and lower translucent). I made map with big amount of 3d floors and i cannot finish my work until this bug be present. I'm use 3d floor linedef 160 for water, not boom style. Also i have strange behavior placing player starts on 3d floors, when game starts i found myself under 3d floor. With monsters and other things this dont happens. Sorry for my bad english, i learn him from video games on ps2. And sorry i cant give you map example because i dont have internet in my home.
- Rachael
- Developer
- Posts: 3646
- Joined: Sat May 13, 2006 10:30
Re: GZDooM 3d floors under water render bug
Без дэманстрацыі там сапраўды не так шмат хто-то будзе рабіць. Прабачце.
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Re: GZDooM 3d floors under water render bug
Player start spots always start on the ground. If you want the player to start on a 3D floor, you have to either move the player to the 3D floor after the game starts or put the player on a sector that forms a small pillar that is the same height as the floor you want the player to start on and then lower the pillar instantly when the level starts. (See attached.)
As for the other problems, it's hard to say without seeing the map.
As for the other problems, it's hard to say without seeing the map.
-
- Posts: 30
- Joined: Sat Dec 26, 2009 3:29
Re: GZDooM 3d floors under water render bug
Eruanna wrote:Без дэманстрацыі там сапраўды не так шмат хто-то будзе рабіць. Прабачце.
Just in case anyone was wondering (including myself), this is belarusian (I think), it more-or-less translates to:
No demonstrations there really is not much anyone will do. Sorry.
- Rachael
- Developer
- Posts: 3646
- Joined: Sat May 13, 2006 10:30
Re: GZDooM 3d floors under water render bug
Yeah it was pretty much asking for a demo map, but since he said he couldn't provide one, I pretty much told him there was nothing that could be done. Enjay was right, of course, but that was not the point I tried to address - in his messy english all I could pick up was that walls were not being rendered from under a complex 3D floor structure such as water.
-
- Global Moderator
- Posts: 308
- Joined: Sun Aug 29, 2010 6:09
Re: GZDooM 3d floors under water render bug
Wouldn't giving a z-height to the player work in this situation?
- Rex Claussen
- Developer
- Posts: 2600
- Joined: Tue Jul 11, 2006 18:36
- Contact:
Re: GZDooM 3d floors under water render bug
If you mean giving a z-height to a player start, it does not work. A player always starts with "feet on the ground", i.e., lowest floor.Blue Shadow wrote:Wouldn't giving a z-height to the player work in this situation?
-
- Global Moderator
- Posts: 308
- Joined: Sun Aug 29, 2010 6:09
Re: GZDooM 3d floors under water render bug
Yes, that is what I meant.
Why? What is so special about the player pawns that you can't use that way?Rex Claussen wrote:A player always starts with "feet on the ground", i.e., lowest floor.
- Enjay
- Developer
- Posts: 4723
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Re: GZDooM 3d floors under water render bug
There is a reason, but I don't recall what it is. Player starts do not even respect skill settings or game types ( deathmatch/single player/coop) If the start spot is there, it will be used even if none of the flags are set.Blue Shadow wrote:Why? What is so special about the player pawns that you can't use that way?
- Rachael
- Developer
- Posts: 3646
- Joined: Sat May 13, 2006 10:30
Re: GZDooM 3d floors under water render bug
To put it simply, player starts don't really spawn players, they are simply markers like map spots. I don't know the whole dynamics of how it all actually works, but if I had to guess, the engine may only be aware of X/Y positions of player starts and not Z (it may map them differently internally than other thing objects, possibly in different structures/arrays).
I may be wrong though - and I haven't actually looked at the code, because if it's anything like I think it is the whole process spans a number of different files and I'm not really in the mood to go digging through it.
To fix the problem though, simply use teleport-Z destinations and move the player to those when they enter/respawn via ACS.
I may be wrong though - and I haven't actually looked at the code, because if it's anything like I think it is the whole process spans a number of different files and I'm not really in the mood to go digging through it.
To fix the problem though, simply use teleport-Z destinations and move the player to those when they enter/respawn via ACS.
- I.C.H.I. Znot
- Posts: 18
- Joined: Fri Jun 03, 2011 12:20
Re: GZDooM 3d floors under water render bug
Thanks for the advice about Z coord.
About 3d floors, in next time i upload demo example. But it not too hard make it in your own. Make empty room with tag 1 and fill this one with water using linedef 160 swimmable, alpha - any value bigger then 0. Then make inside this room sector with tag 2. Also link same linedef to this
new sector. Then make some 3d floors with different heights tagginng them to sector 2, but all of them must be under water surface. And voila! Only upper 3d floor looks normal. This don't happens if water alpha set to 0, but who needs invisible water?
About 3d floors, in next time i upload demo example. But it not too hard make it in your own. Make empty room with tag 1 and fill this one with water using linedef 160 swimmable, alpha - any value bigger then 0. Then make inside this room sector with tag 2. Also link same linedef to this
new sector. Then make some 3d floors with different heights tagginng them to sector 2, but all of them must be under water surface. And voila! Only upper 3d floor looks normal. This don't happens if water alpha set to 0, but who needs invisible water?
- I.C.H.I. Znot
- Posts: 18
- Joined: Fri Jun 03, 2011 12:20
Re: GZDooM 3d floors under water render bug
Here is example. I hope this help fix this bug. My videocard ATI Radeon 2600 Pro 256mb, Catalyst 8.12 (the last good for this model), if you need this. Also GZDooM sometime lockup video driver but this also happens with others OpenGL games (Quake2, DooM3, Quake4 and others).
- Attachments
-
- renderbugs.7z
- In archive - map with this bug and some others which i found. Also some screens how it look on my PC.
- (238.12 KiB) Downloaded 119 times
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: GZDooM 3d floors under water render bug
You can't have any intersecting 3D floors. Doing so will hopelessly confuse the engine.
Aside from the stack of platforms everything else is unsupported stuff.
Aside from the stack of platforms everything else is unsupported stuff.
- I.C.H.I. Znot
- Posts: 18
- Joined: Fri Jun 03, 2011 12:20
Re: GZDooM 3d floors under water render bug
Damn, this mess all my work . But in DooM Legacy such elements looks normal. Is there exist way to fix this issue? I know it is possible make independent 3d swimmable floors between solid floors, but this is not too easy if 3d floors are sloped not only in X or Y direction, but X and Y. Another way: make water invisible and place above translucent sheet, but this slowdown rendering. Maybe if GZDooM be able skip render of side textures on 3d floors?
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: GZDooM 3d floors under water render bug
As I said, the stack of platforms not showing correctly is a bug.
But your intersecting slopes will never work.
But your intersecting slopes will never work.