Brijesh

Members
  • Content count

    20
  • Joined

  • Last visited

About Brijesh

  • Rank
    Member
  • Birthday 10/26/1989

Profile Information

  • Gender
    Male
  • Location
    Ahmedabad, India
  • Interests
    JQuery, JavaScript, AngularJs, D3.js, AJAX.
  1. Thanks @Wingnut and @Nockawa both of you for helping me....I resolved my problem. Thanks a lot...
  2. 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
  3. 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...!!!!!!!!!!!!!!!!!
  4. 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 ??
  5. 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.
  6. 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....!!!!!!!!!!!
  7. Sorry but i am still confuse, not any above solution work properly.. If any one have a idea than please help me...!!!!
  8. I am update the tube mesh as data come from server, when i get new vector array from server i update the mesh. So if some point is out of some range than display some different color for connecting such a point. If vector value for x around 2 and in some time if i got x value around 5 for some points than i want to draw RED color tube mesh for such a connecting point.
  9. I create a tube mesh using many vector array. Now i want to apply different color or texture to tube such as Example : If there are 10point that make a tube than from point 1 to point 3 red color, point 3 to point 7 green color and from 7 to 10 blue color so at last i got a tube with three color. plzz help me..!!
  10. Thanks @Dad72 , Its working....!!!!
  11. Hi Everyone, I have one mesh, i apply highlight Layer. var hl1 = new BABYLON.HighlightLayer("hl1", scene); hl1.addMesh(tube, new BABYLON.Color3(0.1, 0, 0)); Its work properly. Now i try to change highlightLayer color on some condition, i apply new highlighLayer color but issue is cant able to remove old highlightLayer color from mesh, and two highlighLayer color apply to mesh. I want to first remove old highlightLayer color and than apply new color, How can i do this ???
  12. Thanks again @Wingnut , Its work like a charm for me. I got what i actually want. Thank you so much...!!!
  13. Thanks @Wingnut , Its working fine. But i have one problem, I have 2 mashes, I want to show this 2meshes in one main view as normal scene and want to show only 1 mesh out of this 2meshes in second viewport. and first view port is as its with 2 mashes. but when i set 2nd mesh in second viewport, its disappear from 1st viewport. please help me ...!!!
  14. I created 2 viewport from scene and set camera position of both viewport different so i can get two different view in one canvas. Now i try to remove some meshes from one viewport, display all meshesh in viewport1 but need to remove some mashes that is display in viewport1 and display rest meshes in viewport2. Is it possible ?? Can anyone help me ...!!! Can i set different background colour to different viewport ??
  15. I successfully created the require mesh from http://www.babylonjs-playground.com/#GUZJR#3, Now i want to apply some texture and width to this line. Can anyone help me...!!!