Search the Community
Showing results for tags 'import mesh'.
-
While importing meshes designed in software like Autocad and Blender, I noticed that the color of a previously imported mesh is getting applied to many meshes that are later imported. Then I realized that that this is due to conflicting material IDs. Is there a way to modify material ID of an imported mesh or is there any other solution to this problem?
- 6 replies
-
- babylon.js
- import mesh
-
(and 1 more)
Tagged with:
-
Hello! I'm importing an obj model, and I want to tweak the visibility of it, or just dispose it when I click a button... var loader = new BABYLON.AssetsManager(scene); var leg = loader.addMeshTask("leg", "", "", "leg.obj"); BABYLON.SceneLoader.ImportMesh("", "", "leg.obj", scene, function (newMesh) { BABYLON.SceneLoader.Load("", "leg.obj", engine, function (newScene) { }); }); $('#quadril_bt').click(function () { //........ something to dispose the mesh, or make it invisible }); Can't seem to find a way to do it!
- 4 replies
-
- dispose
- visibility
-
(and 3 more)
Tagged with:
-
Hi all, My name is Xander and i have a problem with not knowing how to import a mesh by searching a .obj file on your pc with babylonjs. my project is running on this url: minegame.nl please take a look. its already possible to search a file. Please help, Thank you, Xander