Camera textures referenced in TEXTURES crashes

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.
Post Reply
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Camera textures referenced in TEXTURES crashes

Post by Kate »

Attempting to reference a camera texture as a patch in another texture causes a crash. Below I've attached the wad with the effect I'm creating. If the camera texture is replaced with a static image, the effect works fine, but it's rather useless.

However, I can also imagine using this for other effects, like having a camera monitor + glow + frame as a single-piece texture.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Camera textures referenced in TEXTURES crashes

Post by Graf Zahl »

This will never work because it would require constant recomposition of the final texture. This is especially true when the camera texture is never read back into main memory, like with a hardware renderer, for example. It still shouldn't crash though.

The main problem here is that at the point when the TEXTURES lump is parsed it isn't known yet if you reference a camera texture so the best thing that could be done is to skip the offending patch.
Post Reply

Return to “Closed Bugs [GZDoom]”