mr_block reports: Polar Bears have a bit of tran ... #4733
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
source/testserver
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#4733
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
mr_block reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
upstream issue https://github.com/runsy/petz/issues/189
Should be fixed:
For some weird reason, polar bear's leg UV coords were shifted a bit
from the texture, so it was showing translucent part of it with no
color.
I'm not sure if I can import/export these properly, so I just decided to
edit b3b file directly:
Texture coordinates are stored as a pair of consecutive little endian
floats (4 bytes each). I opened the model in blender, and used
side-panel thingy to find exact values of UV coordinates (I also tried
deleting everyting but broken faces and exporting mesh to
.obj
(it's a text file) - just to confirm the coords).
Then, I converted broken coordinates to binary(hex) values, and used a
hex editor to find them. I easilty found the 4 X-coodinates I needed to
change. The Y coordinates are flipped, so I had to subtract them from
1.0 to get the values stored in the file (they are stored x,y one after
another anyway).
Then, in blender, I shifted vertices on the UV map into correct places
and got the correct coords. Converting those to hex, flipping Y and
replacing old ones, I got this edited b3d file :D
Since I didn't re-export anything, only 32 bytes (4 bytes x 2 coords
x 4 vertices) should differ from original ;)
UPD: looking at original screenshots, it looks like on the older petz the texture was shifted even more and flipped, so maybe someone already tried to fix it, but didn't move vertices all the way into place X)
Is the same issue on Slightly's model? Or is that fix independent of hers?
I didn't have Slightly's models when I fixed this.
Slightly model that I have now has no hole, but that leg's UV is flipped upside-down.
QA
Was a hell of a fight, but I saw the bad one and the good one. It's fixed. Thankyou whosit!