• Content count

  • Joined

  • Last visited

About Xav

  • Rank
    Advanced Member

Recent Profile Visitors

506 profile views
  1. Ambiani Projet

    Thanks ! It should be done by the end of the year. The link will squeeze the same you can highlight it with great pleasure .
  2. Ambiani Projet

    Hello, After 1 year of work the project is visible. For the full Gallic coins of the Alfred Danicourt Museum in 3d (400 models). You can consult the site on http://www.ambiani.fr/ (an English version to come ...) You will also find an application to hit your own coin online (http://www.ambiani.fr/le-petit-atelier-du-statere-gaulois/) All this possible with the great 3d engine BABYLON.js !!! Thanks to you for your wonderful engine.
  3. Update shape with heightmap

    Hello, I found time to explore this idea a bit more. Sorry but I can not get the script to export a mesh to .obj extension for the playground. This works perfectly on my local machine. https://www.babylonjs-playground.com/#P9UZG#14 My question is how to save everything in a file mesh.obj and mesh.mtl? If possible locally at the moment. If anyone has an idea or a track to do that. Thank you
  4. Convert image to NormalMap

    Hello and thank you for the answer. Yes I agree with you it is better to generate its normal map either. However for the project on which I work it to be interesting to have a sysytem which generates these normal map automatically. So I am a taker of a solution if you want to share it . Thanks again.
  5. Convert image to NormalMap

    Thanks Dad72. I found this link :https://gamedevelopment.tutsplus.com/tutorials/building-shaders-with-babylonjs-and-webgl-theory-and-examples--cms-24146. May be i can try to find a solution like this ....
  6. like this materialSphere1.diffuseTexture.hasAlpha = true; ?
  7. Hello You can do this: https://playground.babylonjs.com/#QTKGJB It work in vr camera...
  8. Hello, You can do the same project with babylon , html and css with some javascript to control your viewer...
  9. Convert image to NormalMap

    Yes NormalMap Online can do it but it works with three.js and the idea it's to integrate the same function directly into Babyon.js as in this example threejs exemple. I'm almost sure it should be possible to do it with Babylon and maybe it already exists? Thank you.
  10. Hello, I am looking to convert a diffuse type image to normal map directly in babylon.js. I found this option in the editor as in the attached image and I wanted to know if anyone know if this option is already integrated into the framework so as not to have to redo what already exists;). Thank you.
  11. Update shape with heightmap

    Hello Thanks Wingnut I had actually started looking at this. I will continue to develop this idea in parallel and obviously if I get something convincing I would share it ;). Thanks Deltakosh actually I saw this especially that there is a post on this subject that runs on the forum: http: //www.html5gamedevs.com/topic/29587-babylon-objects-to-obj-file/ Again thank you for the time you give us to answer. Babylon.js is really a great tool very polyvalent Thank you for everything !
  12. Update shape with heightmap

    Is possible to rotate and translate the displacement map inside the obj.applyDisplacementMap() ? thanks
  13. Update shape with heightmap

    Hello, I found the solution: var obj = scene.getMeshByName("piece001"); var positions = obj.getVerticesData(BABYLON.VertexBuffer.PositionKind); var vb = obj.getVertexBuffer(BABYLON.VertexBuffer.PositionKind); vb._buffer._updatable = true; obj.applyDisplacementMap("test/test.jpg", 0, 10 , function() { obj.updateVerticesData(vb); console.log("OK!"); }); Babylon.js is PERFECT :)!!!! I think is now possible to export this mesh to an .obj file with the updatable shape ? Thanks.
  14. Update shape with heightmap

    Hello, Like this: http://www.babylonjs-playground.com/index.html#WS3Z9A Thanks.
  15. Update shape with heightmap

    I continued my research on this subject. The problem would not it come that my mesh is not Updatable? As specified In the doc: "The mesh must be set as updatable. Its internal geometry is directly modified, no new buffer are allocated." I found this post : Is it possible to make a mesh updatable if it was created in an external softaware, to modify its mesh with a Heigth map? Thanks