[x3d-public] Problem with inverted polygons/normals

Patrick Dähne pdaehne at gmail.com
Wed Nov 8 07:27:28 PST 2017


> Am 07.11.2017 um 16:17 schrieb Don Brutzman <brutzman at nps.edu>:
> 
> Initial draft version of an interesting new model is available at
> 
> 	Shay D Pixel Version 2
> 	http://x3dgraphics.com/examples/X3dForAdvancedModeling/ShayDPixel/ShayDPixelVersion2Index.html
> 
> This version was exported from an .fbx version using Okino Nugraf.  Original at
> 
> 	http://x3dgraphics.com/examples/X3dForAdvancedModeling/ShayDPixel/pixel_v2.fbx
> 
> It looks OK in several players (such as Instant Reality and X3DOM) but polygon ordering appears reversed in X_ITE.  Adjusting the solid field hasn't helped.  Perhaps a normal issue?
> 
> Wondering if anyone else can figure out what is going on here, screenshot attached for clarity.  TIA for all help.


The texture of the model contains an alpha channel. Remove the alpha channel from the texture, and everything looks right.

As soon as the texture file contains an alpha channel, X3D browsers classify shapes with that texture as transparent shapes. Rendering transparent shapes is difficult. Browsers handle transparent shapes differently. Instant Player and X3DOM write transparent objects to the depth buffer. Most other browser don’t. In this special case, the result of Instant Player and X3DOM looks better than result of other browsers, but that is pure coincidence. None of the browsers is wrong or right.

Bye,

Patrick




More information about the x3d-public mailing list