For me it worked on RTX 2060 but not on GTX 980 (both are D3D 11.1 capable)
Build with Visual Studio, put 'fgbl.exe' in your path and try:
> cd ~/data/base
> fgbl view mesh Mouth.tri Mouth.tga
You will see a mouth with teeth that make use of transparency.
Use the mouse and click-drag to rotate. If the model disappears, you have replicated the problem.
The rendering code is in ~/source/LibFgWin/FgDirect3D.cpp D3d::renderBackBuffer(...)
The part failing is marked 'OIT Pass 1' and 'OIT Pass 2' and is only applied to models with transparency (ie. color map alpha values not all 255).
For me it worked on RTX 2060 but not on GTX 980 (both are D3D 11.1 capable) Build with Visual Studio, put 'fgbl.exe' in your path and try: > cd ~/data/base > fgbl view mesh Mouth.tri Mouth.tga You will see a mouth with teeth that make use of transparency. Use the mouse and click-drag to rotate. If the model disappears, you have replicated the problem. The rendering code is in ~/source/LibFgWin/FgDirect3D.cpp D3d::renderBackBuffer(...) The part failing is marked 'OIT Pass 1' and 'OIT Pass 2' and is only applied to models with transparency (ie. color map alpha values not all 255).