but0n / Ashes

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

WebGL context is lost when trying to display models with many vertices #5

Closed cx20 closed 5 years ago

cx20 commented 5 years ago

I tried to display some samples with Ashes v0.0.18. However, it seems to fail when trying to display the model of the number of vertices.

WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
Model name result
Cylinder Engine :white_check_mark:
Reciprocating Saw :x:
Gearbox Assy :x:
Buggy :x:
cx20 commented 5 years ago

I tried the following environment. ThinkPad X260 + Intel(R) HD Graphics 520 + Windows 10 + Chrome 71

but0n commented 5 years ago

Thanks for your feedback!

cx20 commented 5 years ago

@but0n Thank you for fixing. I confirmed that it will be displayed for the three models above. However, it seems that another model is no longer displayed.

Ashes v0.0.22 + CesiumMilkTruck.gltf result: image

Maybe the usage of the library has changed?

but0n commented 5 years ago

Thanks! That was a mistake of texture handler. image

cx20 commented 5 years ago

I confirmed that the above problem was solved with the latest version of the library.

Ashes v0.0.23 + Buggy.gltf result: image

Ashes v0.0.23 + CesiumMilkTruck.gltf result: image