Jump to content

Search the Community

Showing results for tags 'Simplification'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi gang, After dad72 sent me a few meshes he has been trying to simplify, I noticed there was some kind of a problem with the simplification process. The meshes I have tested always worked, but external meshes were not simplified correctly - holes appeared where they shouldn't have had appear. Investigating that took a little while, and the result was that the meshes' indices are not optimized. meaning - Some vertices were duplicated during the export process, and were used as a reference of an index. this leads to no problem viewing the mesh, but presents a problem to the simplification process, since it relies heavily on the number of triangles using each vertex. Tl;dr Some of the exporters don't try to avoid redundant vertex data which is fine for viewing but not for simplification. If you encounter such a problem using the simplification function, you first need to optimize the indices. you do that by (surprisingly) using the optimizeIndices function now implemented in BABYLON.Mesh. It takes some time to optimize the indices (especially if it is a large mesh) so use it only when you really need it. Other than that I have accelerated the decimation process (removed a few unneeded lines of code and corrected some others). An example can be found here - http://www.babylonjs-playground.com/#2JBSNA#2 (be a bit patient, you will eventually see an alert dialog when it finishes). The skull simplifies quite nicely I will document everything in the next day or two. Any questions - please let me know.
×
×
  • Create New...