mchead icon indicating copy to clipboard operation
mchead copied to clipboard

Stray line of pixels at some orientations (Head bleeds into hair)

Open quat1024 opened this issue 9 years ago • 3 comments
trafficstars

Hi! I'm here from /r/minecraft :D Cool project, i might just use this

When I position the default Steve model with a yaw of 41.1803 and any pitch, and both Flat and Include Hair is checked, there's an extra line of pixels to the left of his head:

Just a guess, but because this only happens when Include Hair is checked, there might be something funky going on with how the texture is mapped. After all, the head and the hair are located right next to each other in the skin file.

Chrome 52.0.2743.116.

quat1024 avatar Aug 23 '16 18:08 quat1024

Oh, thank you for the bug report! :)

I'm here from /r/minecraft

Cool, I thought my posts aren't being viewed :D

there might be something funky going on with how the texture is mapped

Yeah, there's a high probability that there's problem with texture mapping. I'm quite new to Three.JS and had a pretty hard time with setting the UV coordinates, probably I done my math wrong over here.

I use primarily Safari, and there's no stray line of pixels. I'll still test it out and will try to fix it (it will help me with the more advanced minecraft related web app that I'm working on).

Thanks again!

mchorse avatar Aug 23 '16 18:08 mchorse

I made a quick test on Chrome (Mac OS X) 52.0.2743.116, and there was no clues of stray line of pixels.

screen shot 2016-08-23 at 19 51 45

Could you please specify which OS do you have? I'll try to fiddle with it, but I think I'll need your help (with testing).

mchorse avatar Aug 23 '16 18:08 mchorse

I use Windows 7.

It might be a chrome bug or something, idk. Rendering's always been a bit funky on windows 7

quat1024 avatar Aug 23 '16 19:08 quat1024