Jump to content

Semi transparent mesh problem


Lakistein
 Share

Recommended Posts

Hi all :),

I have a problem with meshes that are semi-transparent where you can see triangles.

Playground: http://www.babylonjs-playground.com/#DXHFD#3

Here are some images to demonstrate the problem with another model:
2z82sex.jpg2nm69s.jpg

 

One solution is to separate mesh into multiple meshes like in image below, however that is not always possible, therefore i need something that works with single mesh

 

avj7v8.jpg

 

Any help is appreciated :)

Thanks 

Link to comment
Share on other sites

Hello

Did you try your model with some demos from the basic tutorial page ?
http://doc.babylonjs.com/overviews/Physically_Based_Rendering_Master

I not so in ReflectionTextures
@Sebavan

I added a single line to your playground and it starts look o.k
http://www.babylonjs-playground.com/#DXHFD#4


Make also sure your models are unwrap correctly, if this would be a normal texture, the most, what leads to this kind of problem is a wrong UV Map
 

Best

Link to comment
Share on other sites

Ok, so I have discovered the problem. The mesh we were using was actually created in maya and had been unwrapped correctly. However, the model had not been triangulated before being exported to Blender and then ultimately to babylon.js.

So somewhere along the way when it was being triangulated (either by the exporter or at render time, the triangulation was apparently not correct. So by triangulating it in Maya prior to export the problem seemed to resolve itself.

Thank you for help guys :D

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...