Brijesh

Members
  • Content Count

    39
  • Joined

  • Last visited

Everything posted by Brijesh

  1. Thank you so much @Deltakosh , Its working..!!! But I have one another issue, I used babylon.canvas2d.js with older version of babylon.js, its working fine. Now i start use new version of babylonJS (latest stable version V3.2 stable) but babylon.canvas2d.js is not compatible with babylonJs latest version, i also upgrade the babylon.canvas2d.js (3.0.1-beta) version but still this version also not compatible with babylon V3.2. Can anyone help me to come out from such an issue or any other alternate way to use canvas2D with latest version V3.2 of babylonJS ?
  2. Hello, I start to use latest stable update of babylonJS (V3.2 stable) and include all Components but still face an error "your scene is trying to load a legacy version of the PBRMaterial, please, include it from the materials library", With previous version its work fine. Can anyone help me to come out such an issue.
  3. Hello, I use the BABYLON.FilesInput.loadFiles, In loadFiles method need to pass any event and from that event its take a file that is shown in scene. I want to pass other files on which event is not occur, I cant able to change event's file object so how can i pass other file instance rather than actual file on which event occur ? Is there any way to overwrite loadFile method or create event with file instance ?
  4. Thanks @Deltakosh But i need to convert any formatted file to .babylon file without using any such tool, like using command line argument. For example if user upload any file with extension .fbx than convert that file to .babylon format and create scene for that.
  5. Hello, How can we import any 3D model with all meshes and animation created using 3D modeling software like Maya , Blender, Autodesk 3ds Max, Modo to babylon ? It would be great help to me if any one give replay asap.
  6. Hi @Dad72 and @adam , I face the same problem as @Dad72 had, Above information is very useful for me. But i face one issue , how can i set the position of layer to sets the layer or roundmask image around my some predefined round shape area ? can i change the position of layer ??
  7. Hello, I draw one circle using BABYLON.Ellipse2D , now i want to do some task when click on created circle area. When anyone click in the area cover by BABYLON.Ellipse2D i want to change camera position or material something like this.
  8. Thanks @Deltakosh and @Wingnut. I will working on try both solution given by both of you. Thanks for helping me every time
  9. Hi.. I created custom mesh using some points, and apply two different color to vertex, Now i want to apply some signing effect to that mesh. I use highlight layer functionality, i can able to apply one color to highlight layer of custom mesh. But I want to apply highlight layer in such a way that, if the vertex color is red than highlight layer color also set red and after some vertex if color change to green than highlight layer color also set green. In short highlight layer color apply as per color of vertex of custom mesh.Is it possible ??
  10. Hi everyone, I create one custom mesh using numbers of points and apply colors to every vertex point, now i update the custom mesh by removing some points from front side and add some points at other ends and apply new colors to every vertex. But i face issue while updating mesh with colors. When i update custom mesh, old color of every vertex is not remove and new color apply. I want to remove color of every old vertex when update the custom mesh and apply new color to every vertex.
  11. Hi everyone, I created one shader in unity, now i want to use this shader in babylon, Is it possible to convert shader of unity to babylon ?? If possible than please give me some suggestion or idea how can i do this?
  12. Thanks @jerome and @Wingnut Finally i create a custom mesh using the vertex point and apply different color to vertex data point and i can able to solve my issue.
  13. Hi everyone, I create a tube mesh, and i update this tube mesh after some interval, i apply some diffuse texture and color to tube. Now i have some boundary, when i update a tube and some portion of tube is out of that boundary than i want to differentiate that portion of tube by applying some different texture or change color of only that portion of a tube. Is it possible when i use only one tube ?? Can i apply some color or texture to some part of tube different than other part?? I attach here one image for visually clear my issue. As shown in image i create one tube, and circle is show boundary when some portion of tube is out of boundary i want to change its color or apply some different texture to that portion of tube. Please, help me to come out from this one.
  14. I create one scene, add some meshes to that scene. Now when i change screen or window width size, all mashes according to width change automatically, But when i change height canvas resize not happen, all mashes are same size and canvas view hide when minimize the height. Please help me to out from such a condition.
  15. Hi , I create a scene using tube mesh, tube mesh is created using live web socket data. Its working fine at initial stage,BUT after some time (15 to 20 min) FPS going down,Initially get around 50 to 55 fps and after 15 to 20min its down 25 to 30 fps. Can anyone help me to get out from such a issue.
  16. I have on transparent Image "abc.png" and i want to use this image as a materialSphere1.diffuseTexture = new BABYLON.Texture("abc.png", scene); But not apply transparent image properly. Is it possible to use transparent image as a texture ???
  17. Thanks @adam and @Wingnut for helping me to come out from my problem.....
  18. I created one tube using path array of different point. Now i want to display all the point that is used to create a tube with some black dots. how can i do this???
  19. Thank you so much @Deltakosh and @Wingnut for helping me...!!!!!!!!!
  20. Thanks @Wingnut and @Nockawa both of you for helping me....I resolved my problem. Thanks a lot...
  21. Hi @Deltakosh My Playground scene is like : https://www.babylonjs-playground.com/#1MSEBT#188 Now in this scene i fill Ellipse background with fill: BABYLON.Canvas2D.GetGradientColorBrush(new BABYLON.Color4(0.7, 0.5, 0.9, 0), new BABYLON.Color4(0.5, .5, .5, .3)); Is it possible to fill background with some image ?? I want to set some image as a background image for sphere and within 2D Ellipse. 2DEllipse.zip
  22. Using ScreenSpaceCanvas2D i draw one Ellipse2D around my mesh. Now i want to set its property such a way that when windows size is changes Ellipse position respect to mesh remain same.some thing like responsive. Please help me...!!!!!!!!!!!!!!!!!
  23. Thanks @Deltakosh for reply. I draw Ellipse2D using ScreenSpaceCanvas2D so 50% of my problem solved. Now i fill that Ellipse with some color :- fill: BABYLON.Canvas2D.GetSolidColorBrushFromHex("#0000FF80"); Its working fine. But now i want to fill that Ellipse with some image not with a color !! I want to set some image as a background of Ellipse. Is it possible ??
  24. I draw some shapes using different mashes. Now i want to draw a circle around this shapes and apply some image to that circle so my shapes display upon that image. Simply say set some portion as a background of my shapes and apply some image to that background with circle shape. Suppose rectangle is my canvas, "t" is my 3Dshape that i draw using meshes now i want to draw circle around shape and apply some transparent image to that circle so image show like a background image.
  25. I have 20 meshes, By connecting each other i make one object and apply rotation to some mashes. Its working fine. Now i want to change position of all meshes dynamically (As per i got a data from server Ex. x = 2 and y = 3 than move all meshes in x and y direction from current position). I set one parent mesh for all 20 meshes and set position of parent mesh but when i set position of parent mesh its set position of only rotated meshes. static meshes's positons are not change. var parentMesh = BABYLON.Mesh.CreateBox('pmesh',50, scene); parentMesh.isVisible = false; for (i = 0; i < a1.length; i++) { a1.parent = parentMesh; } First add all meshes in array a1. parentMesh.position.x = a; parentMesh.position.y = b; But issue is not apply position change effect to all meshes, few meshes position is as it is not change. Please help me out of this issue....!!!!!!!!!!!