Jump to content

optimize merged mesh


Recommended Posts

Now it's getting complicated, at least for me :)

I have programmatically created a maze out of cubes and putted seamless textures on it. To improve performance of my game, I mergeD all single cube meshes to one.

This mesh has 18k vertices and I want to reduce them drastically.

My attempt was to export my mesh to an OBJ File and import it with Meshlab.

I tried with "remove duplicate vertices" which decreases the numer of vertices to 3k. The Problem is, if I export it and then import it to my babylon scene, the textures looking like this:


I think the problem is, that at the position where the cubes touch, the vertices are duplicate, and after "optimizing" them, they  are gone and I have a stretched cube. The texture is now stretched to the "long" cube.

How can I reduce the vertices / faces without getting this effect? And is there an easier way to do it?


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.

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.


  • Recently Browsing   0 members

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