vujadin / BabylonHx

Port of Babylon.js 3D engine to Haxe.
http:/paradoxplay.com/babylonhx
Apache License 2.0
189 stars 43 forks source link

Imported mesh triangle alpha inconsistency #101

Open tcaf opened 8 years ago

tcaf commented 8 years ago

With all latest codebase targeting mac cpp (lime integration),

I get weird results with meshes with alpha. To illustrate the problem I used a simple torus to compare with generated vs imported.

Here is the babylon generated torus with some alpha side look:

generated

And here is blender exported torus using plugin v4.4.4:

imported

I have both experimented with older exporter/babylonhx versions, blender side triangulation and letting plugin do the triangle work. Switched depth buffer flag in project.xml on/off as well. I always end up with same mixup.

vujadin commented 8 years ago

this is definitely bhx bug, I've just checked in bjs and it renders fine. thanks for reporting