Jump to content

Merge mesh with simplified polygons?


jasonmcleod
 Share

Recommended Posts

Before I set off to try to build this.. is there anything built in, or 3rd party that can combine these cubes like MergeMeshs would, but actually remove duplicate vertices?

I'm sure I'm using all the wrong terminology.. so here is a playground, and a photoshop mock up of what I'm after :)

http://www.babylonjs-playground.com/#1WKAC2

 

Thanks!

merge.png

Link to comment
Share on other sites

Need to read over what exactly is going on in this function when I have a few minutes (we are moving, during a hurricane at the moment)

I did drop it into my code base, but didnt see any noticable performance gain :(

In my implementation, I'm planning to generate 200-300 rows. As the player falls between the blocks it lags really badly as it tries to figure out collisions I guess.

I may try a heightMap approach next and see if thats any more performant. 

Thanks for the reply @JohnK

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