zhutq Posted January 17, 2017 Share Posted January 17, 2017 Hi, It seems that with current preview release (Babylon.js/dist/preview release/babylon.js, version d0fc12f), rendering a mesh's clone using wireframe material generates WebGL error INVALID_OPERATION. With Babylon.js/dist/babylon.2.5.js everything is OK. The html and js files are attached. Playground: http://www.babylonjs-playground.com/#1JLDEI In playground 2.6 alpha, at the first run, no wireframe is rendered. But if I uncomment the "sphere1.material = wireframeMaterial;" line, run, and comment it again and run, the wireframe is rendered. Can you reproduce it? Am I getting anything wrong? Thank you! wireframe_webgl_error.zip Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 17, 2017 Share Posted January 17, 2017 Hello, can you try to use the very latest version and refresh your cache? I have fixed this issue recently Quote Link to comment Share on other sites More sharing options...
zhutq Posted January 18, 2017 Author Share Posted January 18, 2017 7 hours ago, Deltakosh said: Hello, can you try to use the very latest version and refresh your cache? I have fixed this issue recently I'm now at git revision 7c3257d (pulled today). I tried dist/preview release/babylon.js; also tried the one built myself with "gulp typescript", but no luck. Have used Chrome's "Clear browsing data". Playground also acts as I described in the prev post. Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted January 18, 2017 Share Posted January 18, 2017 @zhutq Your sphere mesh + the clone of it is on top of each other, which makes it look rather weird, but i do agree that something is wrong. When only setting the clone's material to wireframe; http://www.babylonjs-playground.com/#1JLDEI#2 the clone can't be seen. When setting both sphere1 and clone to wireframe they both show up; http://www.babylonjs-playground.com/#1JLDEI#3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.