VittorioSL Posted January 29, 2018 Share Posted January 29, 2018 Hello to all, I illustrate my scenario. I need to add dynamically to the scene objects in obj format selected by dropdowns and to be able to change the texture from time to time. Any suggestions? Thanks for now, Vittorio Quote Link to comment Share on other sites More sharing options...
brianzinn Posted January 29, 2018 Share Posted January 29, 2018 Here is a PG that loads an OBJ and changes the material every second. You'll probably want to use the mesh names and have different materials/textures: https://www.babylonjs-playground.com/#C02KIC#2 For the dropdown - probably just use a html DOM select - there is not an official GUI dropdown. If you need a GUI one, check out this PG (i think it's from Pryme8): https://www.babylonjs-playground.com/#ZIPFMJ#51 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.