Change Materials On Individual Parts Using Variants #2838
-
Hello! I have a basic configurator that I'm working on to display furniture products that my company offers. Right now I am using the "Variants Extension" and it works great! Here is a WIP of what I have so far: Rios Chest However, if I wanted to have a secondary option to change just the "Drawer Face" material, how would I go about doing that? Since right now, the variant extension changes everything as a whole (the specified parts anyways). I really like what R2U showcased using model-viewer, and am trying to replicate something like that where they are able to change the fabric and wood individually. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 19 replies
-
Simply put the model needs to be authored so that the drawer face has its own material, then you can have a variant for that material with all the different selections. The model in the example you cite has at least 2 materials with their own set of variants. |
Beta Was this translation helpful? Give feedback.
-
@timmmeh Hello! So I went ahead and created another product that now has two separate materials. I am able to adjust each one individually as well! However, whenever I go to click on a different "Wood" material, the model will revert the "Lacquer" color to it's default color. And vice versa. It also seems like the color will not change now unless I select it first, then click on the model-viewer "window". Where as previously once I clicked on the material it would automatically apply that material. The model isn't optimized fully as I'm still trying to make a good template for the other products we sell. So loading time take's a little while, sorry! But here is another WIP of what I have so far if you'd like to dig around and see what I may be doing wrong: Cash Credenza Again, thank you for the help you've already offered, it is much appreciated as I'm still relatively new to programming! |
Beta Was this translation helpful? Give feedback.
-
Good morning! Thank you both for the help, and very responsive! I will go ahead and try the testing version out. As I'm the only 3D artist at this company, and programming is a whole new world to me I'm glad to know I was headed at least in the right direction some what haha. Do you have any clues as to when another release of model-viewer will be by chance? |
Beta Was this translation helpful? Give feedback.
Good morning! Thank you both for the help, and very responsive! I will go ahead and try the testing version out. As I'm the only 3D artist at this company, and programming is a whole new world to me I'm glad to know I was headed at least in the right direction some what haha.
Do you have any clues as to when another release of model-viewer will be by chance?