Sign in to follow this  
Jaskar

MergeMeshes Optimisation

Recommended Posts

Hello dear Babylon lovers!  :D

 

I'll try to be clear : For the Babylon monthly challenge, I create a random maze, with many meshes. Then, I merge all the meshes for performance reason.

It looks something like this http://www.babylonjs-playground.com/#QDDWX (better than this  :P)

 

My question is : It merges the meshes, it's ok, but what about the inside faces ? Is it possible to remove it (the faces you can see inside the boxes) ?

Share this post


Link to post
Share on other sites

@adam : Perfect! Thanks  :lol:

 

@jerome : Nop, it's not my goal. Thanks for the hint anyway  ;)

 

My algorithm produce something that look like this : https://en.wikipedia.org/wiki/Maze_generation_algorithm#Depth-first_search

So, I create a lot of cubes, that I merge after. Then, I don't care about inside faces.

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.