but0n / Ashes

WebGL2.0 3D Engine - Global Illumination - RayTracing
https://codepen.io/but0n/pen/jddYoX
MIT License
328 stars 16 forks source link

The orientation of the displayed BrainStem is incorrect #14

Closed cx20 closed 5 years ago

cx20 commented 5 years ago

I tried to display BrainStem of glTF-Sample-Models with Ashes. However, it seems that the displayed orientation is incorrect.

Ashes + BrainStem result: image

Expected result: image

but0n commented 5 years ago

Thanks for your feedback! Already fixed in 0.0.37

but0n commented 5 years ago

Hang on, seems like the orientation of CesiumMan displayed incorrect after this patch

image

but0n commented 5 years ago

I think this issue is fixed in version 0.0.44.

image

but0n commented 5 years ago

Hi, I've modifed OrbitControl component, now you need manually attach this component to entity.

Ashes.EntityMgr.addComponent(camera, new Ashes.OrbitControl(screen, camera));
cx20 commented 5 years ago

I confirmed that it has been fixed with the latest version of the library.

Ashes v0.0.44 + BrainStem result: image