• Content count

  • Joined

  • Last visited

About Xav

  • Rank
    Advanced Member

Recent Profile Visitors

347 profile views
  1. 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 !
  2. Is possible to rotate and translate the displacement map inside the obj.applyDisplacementMap() ? thanks
  3. 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.
  4. Hello, Like this: http://www.babylonjs-playground.com/index.html#WS3Z9A Thanks.
  5. 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
  6. Ok sorry, An exemple on picture exemple.jpg. It works very well with: var sphere = BABYLON.Mesh.CreateSphere("Sphere", 32, 3, scene, true); sphere.applyDisplacementMap("Assets/test.jpg", 0, .2); When i want to apply this on an obj create in blender it no longer works... Is my question clearer? Thanks
  7. Hi, I am trying to find out if it is possible to adapt this 'sphere.applyDisplacementMap ("/ assets / amiga.jpg", 0, 1.5);' of this example https://www.babylonjs.com/demos/displacementmap/ on an object create in blender with the adapted uvs. To make it simple I would like to be able to change the shape of my object with a heightmap. I do not need to animate it. I do not find a track to create this effect so I ask the question as to whether it is really possible. Thank you
  8. Great thanks a lot I will try to take the time to make a making of or tutorial on the realization of a project of the 3d has the export and the link with elements html ... Thanks again
  9. This is good for you ? Thanks
  10. Hello, Thank you ;). No there is no problem. You want me to provide you the screenshot or you do it?
  11. Hello, You will find a small demo made with Babylon here: http://www.studio-ramble3d.com/suunto/ and a car configurator: http://www.studio-ramble3d.com/WebGl/bmw/ And some other projects at this address: http://www.studio-ramble3d.com/temps_reel.html#works Thanks Babylon.js
  12. Yes indeed it is much more understandable. On the other hand the cloning does not risk to overload the memory if i click of number times the elements? I corrected the problem: Http://www.babylonjs-playground.com/#HAAJ3#1 Thank you again for your explanations
  13. Hello, I think I am not very well understood the function of the rotation properties on a free camera ... Watch this playground: http://www.babylonjs-playground.com/#HAAJ3#0 Why does my variable rot changed? I think I must be so tired to understand the problem If someone has an explanation for this problem thank you. Ps: It works very well with an arcRotatecamera by adjusting Alpha and Beta values. Thanks
  14. Hello RaananW, Thank you for your response. I agree with you the Vrcamera is only useful on mobile or Vive ... For my project I have to switch from an arcRotate camera to a Vrcam depending on the chosen mode. Everything works very well the only problem is to be able to debeug locally (the mode of interaction changes to be adapted to the cardboard ...) I am not aware of a solution to simulate the orientations event of the mobil on local on my computeur. My solution is to work locally with the old version of Babylon and pass the new one when I upload. But I will be able to test with your solution. And I have these error in the console: "hand.js:381 The deviceorientation event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.customAddEventListener @ hand.js:381" Do you think it could come from hands.js? Thank you.
  15. Yes It's strange. Especially that it worked perfectly well on this old version. "babylon.2.4_Alpha.js". Even by disconnecting the Vr-event does not change anything. Finally nothing very serious is just less convenient to debug on a computer. Thanks. babylon.2.4_Alpha.js