All my cameras gone!

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

All my cameras gone!

Post by Logan MTM »

Why?
Please, Something has changed?
Sem título.png
User avatar
Caligari87
Admin
Posts: 6229
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: All my cameras gone!

Post by Caligari87 »

We can't debug a screenshot. You need to post minimal example wad showing the problem.

8-)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: All my cameras gone!

Post by Graf Zahl »

Camera textures still work - I just checked KDiZD where they all show what they should. Seconding Caligari here - we cannot debug a screenshot - post something that can be tested, please.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: All my cameras gone!

Post by Logan MTM »

Display Options > Texture options > High Quality Resize Multiplier. This option must be off before run gzdoom in order to camera work. If you Run with the same option set x2+, no cam.
CAM.pk3
(6.27 KiB) Downloaded 47 times
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: All my cameras gone!

Post by Logan MTM »

So, how to proceed?
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3178
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: All my cameras gone!

Post by drfrag »

However if you turn HQ resize off they are fixed on the fly.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: All my cameras gone!

Post by Logan MTM »

Should I put a message blinking on the screen asking the player to do that? I mean, it's doesn't happen on 4.4 or lower.

- Retro compatibility -
User avatar
SanyaWaffles
Posts: 842
Joined: Thu Apr 25, 2013 12:21 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
Graphics Processor: nVidia with Vulkan support
Location: The Corn Fields
Contact:

Re: All my cameras gone!

Post by SanyaWaffles »

I wouldn't do that. It's a bug that needs to be fixed, obviously.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3178
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: All my cameras gone!

Post by drfrag »

This camera never worked in software modes, on 4.1.3 it crashed and on 4.2.1 you only see the top part of the camera area and below a different texture.
User avatar
SanyaWaffles
Posts: 842
Joined: Thu Apr 25, 2013 12:21 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
Graphics Processor: nVidia with Vulkan support
Location: The Corn Fields
Contact:

Re: All my cameras gone!

Post by SanyaWaffles »

No, I'm pretty sure cameras have been a feature of the ZDoom family of engines for a while now.

Unless you mean this specific camera.

Still, it is something that should be fixed and not "worked around". Players hate being told to do that stuff.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3178
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: All my cameras gone!

Post by drfrag »

I thought there was something special about it, it still worked in software on 3.6.0.
User avatar
SanyaWaffles
Posts: 842
Joined: Thu Apr 25, 2013 12:21 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
Graphics Processor: nVidia with Vulkan support
Location: The Corn Fields
Contact:

Re: All my cameras gone!

Post by SanyaWaffles »

Updating this so not to clutter the marked duplicate thread.



So I was able to get this to reliably mess up.

You have to enable a hqNx MMX setting with 4x the memory. Then restart the engine. After that, all camera textures will be black.

download/file.php?id=40342 Minimal example is here, courtesy of Enjay.

I dunno what drfrag was saying about it not working in software render mode, this is in the hardware renderer.
Guest

Re: All my cameras gone!

Post by Guest »

What Sanya said above, but for me there are three variables that have an effect.

From the Full options menu: Options - Display options - Texture options:
- High Quality Resize mode: Off (default), ScaleNx, hqNx, hqNx MMX, xBRZ, Old xBRZ, NormalNx
- High Quality Resize multiplayer: Off (default) 2x, 3x, ...
- Resize textures: On (default), Off

From the console:
gl_texture_hqresizemode
0 = Off (default), 1 = ScaleNx, 2 = hqNx, 3 = hqNx MMX, 4 = xBRZ, 5 = Old xBRZ, 6 = NormalNx

gl_texture_hqresizemult
1 = Off (default), 2 = 2x, 3 = 3x, 4 = 4x, 5 = 5x, 6 = 6x

gl_texture_hqresize_targets
15 = On (default), 14 = Off

The gl_texture_hqresize_targets (= Resize textures from the menu) is a bit odd. If it's changed from the menu ON gives it the value 15, OFF gives it the value 14. But any non-even number (-1, 1, 3, 5, ..., 15) turns the texture resizing on. Any even number (-2, 0, 2, 4, ..., 14, 16, ...) turns the texture resizing off.

Now, for me if just one of those three is OFF when GZDoom is run the camera texture works fine.
When GZDoom is running they all can be turned ON (= other value than Off) and the camera texture still works fine.
*** But if GZDoom is now closed (when NONE of those three is OFF) and run again the camera texture is BLACK. ***

The black camera tex starts to work again
- From the menu: If any of those three is switched to an other value and back.
- From the console: If I re-feed any current value. If I bind a key to turn the texture resizing ON it'll remove the black camera texture every time:

bind F12 "gl_texture_hqresize_targets 15"
Guest

Re: All my cameras gone!

Post by Guest »

Oh, delete my previous postage (just minute ago). This is FIXED. Thank you!
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: All my cameras gone!

Post by Logan MTM »

I think Hi resolution cams should works without ask players to turn something ON, IMO. Especially when we are unable to define these kind of settins as default in any mod.
Post Reply

Return to “Closed Bugs [GZDoom]”