m.ali Posted September 27, 2017 Share Posted September 27, 2017 I want a help with a small problem. The problem is How I can load a 3d model into a babylonjs scene. for example: I use blender to open a 3d air conditioner model and then export to babylonjs. Now I have the model as points. I want to load them into a babylonjs scene. I want to be able to position them according to another object in the scene, (for example, a wall). Is there any guidelines? any references? If it is a complicated problem, please guide me to the path I have to follow to solve this problem. Thanks in advance Quote Link to comment Share on other sites More sharing options...
SinhNQ Posted September 27, 2017 Share Posted September 27, 2017 Tutorial: https://doc.babylonjs.com/tutorials/how_to_use_assetsmanager Example in PG: https://www.babylonjs-playground.com/#ZJYNY#0 RaananW 1 Quote Link to comment Share on other sites More sharing options...
m.ali Posted September 28, 2017 Author Share Posted September 28, 2017 Can I change the color of the model material programmatically? I mean at runtime? Quote Link to comment Share on other sites More sharing options...
RaananW Posted September 28, 2017 Share Posted September 28, 2017 Of course, you can set a new material (or change the current one) in the success callback: https://www.babylonjs-playground.com/#ZJYNY#39 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.