Varsha Kamble

Members
  • Content count

    21
  • Joined

  • Last visited

About Varsha Kamble

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Varsha Kamble

    Sample code for features in babylonEditor

    Hi @trevordev, Thanks, this is what i wanted πŸ™‚. Its looking better now. I tried your playground and updated it to check attachToMesh. Its working perfectly. But, when i tried same with my code its throwing me following error. Currently i am using following npm version of babylon. Following is my code block for the same : Function createAxisOp is getting called on click of mesh, and currentMesh is the clicked mesh. I want to restrict some of the meshes to have gizmo on click. So i am passing only required meshes here. Please help with this. Thanks. Regards, Varsha Kamble
  2. Varsha Kamble

    Sample code for features in babylonEditor

    Hi @trevordev, If i get something like this , it would be great for me. This will for rotation and scaling as well, right? Thanks. Regards, Varsha
  3. Varsha Kamble

    Sample code for features in babylonEditor

    Hi @trevordev Thanks for the updates πŸ™‚. Given playground has colored shapes(blocks) for gizmo actions. Can we have the controls same as current Gizmo with options for color or size change(as they are in babylonjs editor)? Thanks. Regards, Varsha
  4. Varsha Kamble

    Sample code for features in babylonEditor

    Hi @trevordev, Can you please help me with this?
  5. Varsha Kamble

    Adding gizmo creating problem in GLTF serializer

    Hi @kcoley, My bad. Its working properly now. I was facing issue that day πŸ˜”. Thanks for your help and time..πŸ™‚ Regards, Varsha
  6. Varsha Kamble

    Adding gizmo creating problem in GLTF serializer

    Hi @kcoley, Yes i tried loading both on sandbox.babylonjs.com, and i faced the issue(attached screenshot).
  7. Hi @Deltakosh, I am adding Gizmo control for adding manipulators. Its working fine on .babylon file. When i am trying to open gltf model created by babylon serializer on babylon sandbox, its throwing some error. Please find attach screen-shot of error from sandbox. Attaching .babylon and gltf bundles fro reference. cube.zip cube_gltf.scnassets.zip Babylon and serializer version used are as follows: Please suggest for the same. Thanks. Regards, Varsha
  8. Varsha Kamble

    Sample code for features in babylonEditor

    Thanks @Dad72, It helped very well 😊. Is there any way to modify the arrows or width of axis drawn using this Gizmo control? Its bit large in width. Also the arrows and boxes for transition and scaling are not that crisp as they are in babylonJs Editor. Thanks. Regards, Varsha
  9. Varsha Kamble

    Sample code for features in babylonEditor

    Hi @Deltakosh, Any updates on the same? I checked for adding this dependency , but didn't find any. Can you please provide some link or so for doing the same. Thanks. Regards, Varsha
  10. Varsha Kamble

    Dynamic axis length

    Hi @JohnK, Yes. with boundingBox we can do it. But here i want height of whole model not only of mesh. So if i calculate it by iterating over meshes in model, it will give me wrong answer as i don't know which mesh is placed where. Thanks. Regards, Varsha
  11. Varsha Kamble

    Dynamic axis length

    Hi @Deltakosh, I am adding axis to root node of model with which i can move whole model. Currently i am adding fixed length axis. But i want it to be dynamic depending on height - width of model. With fixed length i am facing following issue. For some models , height (or width ) is greater that the length of axis, due to which arrow of that axis is not visible (as it is inside the model). So i am not able to drag model in axis direction. For above model, root node is at bottom of model, so Y axis is inside the model, due to which i am not able to drag model in Y direction. For this model, fixed length works fine as all axis arrows are dragable. Can you please help me to get height-width of model, so that i can create axis with dynamic length. Thanks. Regards, Varsha
  12. Varsha Kamble

    Unable to get mesh on click event

    Hi @Wingnut Thanks for the explanation and support 😊 Finally, I am able to make it workπŸ˜‰ . Here is the link https://playground.babylonjs.com/#6HDGLC#1. Thanks. Regards, Varsha
  13. Varsha Kamble

    Unable to get mesh on click event

    Hi @Arte, Here is the updated playground https://playground.babylonjs.com/#742AA0#6. I have kept size of axis constant. but on click of any mesh, size of axis varies. Please check. I have kept other simple model commented, for testing you can use that. Thanks, Varsha
  14. Varsha Kamble

    Unable to get mesh on click event

    Hi @Wingnut, I have updated your playground to work on drag drop of meshes. https://playground.babylonjs.com/#6HDGLC It is not smooth as it is in example playground https://www.babylonjs-playground.com/#11AOBV%2317 Can you please help me on this? Thanks Varsha
  15. Varsha Kamble

    Unable to get mesh on click event

    Hi @Wingnut & @Arte, Thanks for your help. It helped me a lot😊😊. Now i am facing new issue πŸ˜‰. For adding an arrow in front of Axis, I am using following code. It works perfectly with Cube model . If i use same height and diameterBottom for the other model, axis are visible, but arrows are not. I increased height and diameterBottom property as following to check if it works: Now, its very big on cube model and visible(not as expected but at least its visible) on other model. I think, there is some scaling difference between both of these models (correct me if i am wrong). I want to add standard size for these arrows which will work for all the models. Please help for the same. Thanks. Regards, Varsha