adam

Members
  • Content count

    1,296
  • Joined

  • Last visited

  • Days Won

    17

adam last won the day on January 11

adam had the most liked content!

3 Followers

About adam

  • Rank
    Advanced Member
  • Birthday

Recent Profile Visitors

1,851 profile views
  1. SPS http://doc.babylonjs.com/overviews/solid_particle_system
  2. This does look like a bug. I tried a different approach and I get the same results: http://www.babylonjs-playground.com/#1U5GPV#58
  3. Here is the OPTIMIZE_WITH_UV code: https://github.com/BabylonJS/Babylon.js/blob/ba0e165c15a9520ace97c585d30c0dd692cda058/loaders/src/OBJ/babylon.objFileLoader.ts#L335 and the computeNormals code: https://github.com/BabylonJS/Babylon.js/blob/372050675a052c3aa55a0a3e6b77186f51cf2114/src/Mesh/babylon.mesh.vertexData.ts#L2065 Maybe you can see something there that will give you an idea what is causing the issue.
  4. I don't think you need to set the vertices after recomputing the normals. If you have to, VertexData.applyToMesh seems to work: http://www.babylonjs-playground.com/#1U5GPV#52
  5. For those of you following, this issue continues here:
  6. This looks like the same issue you had in the other thread.
  7. It looks like you might need to change the pivot point of your mesh. Try using mesh.setPivotPoint: https://github.com/BabylonJS/Babylon.js/blob/88931762d8200d6d74a7bbbc4e49673994ed6b82/src/Mesh/babylon.abstractMesh.ts#L1555
  8. I have a fix for this and will be submitting the PR shortly. edit: https://github.com/BabylonJS/Babylon.js/commit/016b634e127d5bedd55c7302943618c753086b0a
  9. Try recalculating your normals in Blender. http://blender.stackexchange.com/questions/18886/how-to-recalculate-normals edit: I think letsbro and johnk have the better answers. This doc could be helpful: http://babylonjsguide.github.io/advanced/Normals
  10. I submitted a PR to fix this.
  11. http://www.babylonjs-playground.com/#1EVNNB#52
  12. That does look like a bug.
  13. This RayHelper class might be helpful: http://www.babylonjs-playground.com/#ZHDBJ#36 http://doc.babylonjs.com/playground?q=rayhelper
  14. Rotate the bone before the scene is rendered. Take a look at this example: http://www.babylonjs-playground.com/#1EVNNB#15