#1
|
|||
|
|||
Apply a texture to a submesh
Is there a way to apply a texture to a single mesh within a model? I'm using this:
Code:
model = viz.add('Models/DynamicObjects/Vial_Default.IVE') labelMat = viz.addTexture('Textures/VialLabels/Ampicillin & Sulbactam 1.5gm vial - WHITE.png') vial = model.getChild("Vial-GEODE") label = model.getChild("Label-GEODE") cap = model.getChild("Cap-GEODE") label.texture(labelMat) My goal is to import a single model of a vial, and within Vizard, apply a different label as needed. Ex. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to render a texture of the transparent object and then blur it | whj | Vizard | 1 | 09-25-2012 03:15 PM |
Avatar texture swaping | sleiN13 | Vizard | 5 | 06-24-2011 12:48 AM |
How to apply shader and render texture to an object | whj | Vizard | 0 | 04-23-2010 12:23 PM |
Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 12:14 PM |
how I can get my texture to appear exactly as is defined | mspusch | Vizard | 1 | 04-23-2005 12:12 PM |