r1438 Voxel player model causes crash

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

r1438 Voxel player model causes crash

Post by Enjay »

A voxel player model was posted in the following ZDoom thread (file copied below)

http://forum.zdoom.org/viewtopic.php?f=19&t=33672

If the file is loaded and I switch to chasecam, GZDoom crashes (ZDoom does not).
Attachments
Quakeguy.zip
(213.04 KiB) Downloaded 129 times
CrashReport.zip
(22.36 KiB) Downloaded 108 times
Leonard2
Posts: 1
Joined: Fri Aug 24, 2012 17:12

Re: r1438 Voxel player model causes crash

Post by Leonard2 »

Summon Doomplayer works though..
Btw the model isn't clipped correctly and in zdoom chasecam look like the model isn't in the right angle
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: r1438 Voxel player model causes crash

Post by Graf Zahl »

No crash for me in today's build.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: r1438 Voxel player model causes crash

Post by Enjay »

No crash for me either but it doesn't look pretty:

Image

Messing around with player colour options changes the colour of the pixels that are yellow in this screen shot but the rest remain messed up. In ZDoom, the colours look much as I expect they are intended to.

Image
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: r1438 Voxel player model causes crash

Post by Graf Zahl »

It looked ok for me. Strange.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: r1438 Voxel player model causes crash

Post by Enjay »

I just tried the voxel test WAD with the same build of GZDoom and it looked fine. No idea why this player model looks like this.

[edit]
I just tried messing around with this a bit further. The model looks correct if the preset colour "green" is used. If any of the other presets or custom colours are used, the model colours are messed up (again, GZDoom only)
Image
[/edit]
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: r1438 Voxel player model causes crash

Post by Graf Zahl »

This isn't translated properly because it has a custom palette. This is and has always been undefined behavior, even with the software renderer.
For voxels, to be translated they need to have 'overridepalette' set and contain a 1:1 mapping to the game palette.
That isn't the case here.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: r1438 Voxel player model causes crash

Post by Enjay »

I suspected that might be the case when I saw the colour of the legs when "green" was selected. I could tell that they weren't in the Doom palette and I guessed that the model was probably falling under the same rules as non-Doom paletted sprites. Thanks for confirming.
Locked

Return to “Closed Bugs”