ramkrishna

Members
  • Content Count

    12
  • Joined

  • Last visited

  1. @kcoley, Yes i can play downloaded .glb file on sandbox now.
  2. Hello @kcoley, Thanks for reply. I will check and get back to you if i have any further questions. Thanks
  3. Hello @kcoley, Thank for reply and apologies for delayed replay. I have tried implementing suggestion provided by you and below are my findings. 1. I could able to download edited scene in ".glb" format. 2. However. when i try to render the downloaded scene in sandbox i get attached error, any mistake i made or route me to right way to download scene. I have question in continuation with your suggestion. 1. How can implement same mechanism in my code (refer Edit.html) so that i can make generic logic. So whenever user wants to save he will get download of file in same way. Thanks
  4. Hello @Deltakosh, Thanks for reply. Is there any other way to clone you mesh as is and to download edited mesh. Any workaround will work. Thanks
  5. Hello All, I am trying to save scene after editing using scene serializer. Below are the things i have achieved till now. 1. I am able to edit meshes under scene 2. I am able to download edited scene successfully. Below are problems i am facing 1. When i clone scene (using double click) i am not getting exactly same replica of required mesh. 2. When i try to play downloaded scene under sandbox new scene showing with no light. Below is the link to example play ground. http://playground.babylonjs.com/#1W8WP0 For dowload refer: https://ramkrishnautpat.github.io/platform/platform/Edit.html Edit.html
  6. ramkrishna

    Drop mesh picked from imported .babylon file

    @MarianG, Thank you! I will try this approach and let you know.
  7. ramkrishna

    Drop mesh picked from imported .babylon file

    Hello @MarianG, Correct!! it worked. Just one thought came into my mind, can we save changes made by us in model while playing around so that when we re-execute HTML+ JS which refer to model will always point to updated one? Your comments please.
  8. ramkrishna

    Drop mesh picked from imported .babylon file

    Hello @MarianG, Sorry for delayed reply. I am able to move meshes around scene. Now, when i export this code for local testing i get "index.html" and when i try to run it i get below error at scene.render. babylon.js:1 Uncaught Error: No camera defined at E.render (babylon.js:1) at Edit.html:139 at M._renderLoop (babylon.js:1) Any suggestions on it? Thanks
  9. ramkrishna

    Drop mesh picked from imported .babylon file

    Hello @MarianG, Thanks for reply. I will go through your comments and update you accordingly.
  10. ramkrishna

    Drop mesh picked from imported .babylon file

    Hello @MarianG, Thanks for reply. Provided solution exactly full fill my requirements. But i have few questions regarding it as below. 1. Is it mandatory to define separate ground even in loaded models? how we can use existing ground of loaded scene? 2. How i can make sure my camera will always render my scene as it is designed. I mean in my case i should always looking at entrance of house and my scene should be look like i am actually look like i am standing in front of room. Actually i am trying build model which will load .babylon models and render it as it is designed. Also, if he want to edit he can do so. Thanks in advance.
  11. ramkrishna

    Drop mesh picked from imported .babylon file

    Hello @Deltakosh and @Wingnut, Please help on above question
  12. Hello All, Thanks for your help you guys are making through this forum, this is my first question to this forum. I am new to game programming and BabylonJS. I want to create a program that can load 3d model, allows to edit that model by moving some of meshes to another location which will remain that position. Below are the things i have achieved till now. 1. I have created program that can load 3d model in ".babylon" format. 2. I am able to select meshes and move them around. But, i am not able drop mesh which i have selected, it is keep attached to mouse pointer. How can i achieve same. Please help. Attached is the sample file generated from playground and here is the link to playground http://www.babylonjs-playground.com/ sample.zip