With PyJ3DUltra's current sort function, the water in this custom model renders like this:
It renders correctly in Jekyll:
If I copy Jekyll's sorting function (SortFuncTest) to PyJ3DUltra, it fixes the water:
But moving or rotating the camera from its default position at all makes most of the model start rendering as transparent, which didn't happen with the original sort function:
I'm not sure what's causing this rendering issue, but it happens for both the example test/model_viewer.py in this repo, and for GCFT, but not in Jekyll, so I suspect it's an issue in this repo and not with J3DUltra or GCFT's code.
Test model: model.zip
With PyJ3DUltra's current sort function, the water in this custom model renders like this:
It renders correctly in Jekyll:
If I copy Jekyll's sorting function (
SortFuncTest
) to PyJ3DUltra, it fixes the water: But moving or rotating the camera from its default position at all makes most of the model start rendering as transparent, which didn't happen with the original sort function:I'm not sure what's causing this rendering issue, but it happens for both the example
test/model_viewer.py
in this repo, and for GCFT, but not in Jekyll, so I suspect it's an issue in this repo and not with J3DUltra or GCFT's code.