MetaMask / logo

A 3d take on the metamask logo, in browser, as a browserifyable module.
http://metamask.github.io/logo/
ISC License
223 stars 89 forks source link

Rendering errors when modifying fox.obj #21

Open smartcontracts opened 4 years ago

smartcontracts commented 4 years ago

Hi, I'm working on a modified version of this logo as part of this GitCoin issue. I'm having issues getting the fox to render correctly after changing some polygon colors in 3DS Max. 3DS Max and Windows' built-in 3D object viewer seem to both render the fox correctly, though.

Here's the result when using this library: snip

Steps to reproduce:

  1. Open fox.max in 3DS Max.
  2. Change the material of some of the polygons.
  3. Export fox.max to fox.obj and fox.mtl using default settings.
  4. Execute npm run convert and npm run start to view broken image on web.

I briefly took a look at the code and noticed that the polygons are correctly generated here, but are then being hidden either when the determinant is negative or because the z-index is zero. I'll mess with this a little more and see if I can figure out the exact cause of the issue.

danielbayley commented 3 years ago

@smartcontracts Did you figure out a fix for this issue in the end?

smartcontracts commented 3 years ago

I did not :-/ are you running into the same issue?