shapesmith.deprecated icon indicating copy to clipboard operation
shapesmith.deprecated copied to clipboard

Preview geometry faces not shown inside transparent geometry

Open bjnortier opened this issue 13 years ago • 4 comments

Screenshot

bjnortier avatar Feb 15 '12 10:02 bjnortier

this will be the same thing as "multiple transparent objects viewed through each other doesn't work" also effects lines, screen shot

splace avatar Feb 15 '12 19:02 splace

as far as i know this is unfixable,

(is possible in opengl but dont think the replacement of the fixed pipeline is possible in webgl)

splace avatar Feb 15 '12 19:02 splace

update:

this appears fixed by default in DX11 generation cards, (so will just work in webgl i think) the fix is referred to as a new feature called: "Order-independent transparency" because before, to work, transparent faces had to be presented already sorted in z somehow.

update update (sorry)

doing some more research, DX11 and OpenGL4.2 just do this, but need special implementations (although the card manufacturers propaganda makes it seem easy.) and then i think it has to be standardised/streamlined into OpenGL ES (and embedded system manufacturers might resent the extra complexity if nobody is crying out for it.), and then it might make it into WebGL, so now i think there's a long way to go before this 'just works' ;<

splace avatar Apr 27 '12 19:04 splace

this might be a way to get around this problem;

http://castle-engine.sourceforge.net/vrml_engine_doc/output/xsl/html-nochunks/vrml_engine.html#section.material_transparency_by_stipple

splace avatar May 19 '12 13:05 splace