Jump to content

Rendering clone's wireframe generates WebGL error with 2.6 alpha (OK with 2.5)


zhutq
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...