Materials only or also images? If you were working in just one scene, you could match the faces of one object to another in VL. So Quad 1.face=Quad 2.face. You could also use datalinq and filepaths for images.
For materials, you have to use a script. This is one I use on one of my projects. Please forgive the length. But this shows you an option based on the user input controls from a color picker. So Picker 1 selects AMat1 and BMat1, while selecting 1 AND Inverted, switches the colors around.
OnSetText
dim Amat1, Amat2, Amat3 as xpMaterial
dim Bmat1, Bmat2, Bmat3 as xpMaterial
dim top, btm as xpBaseObject
dim mode as xpBaseObject
dim dots as xpBaseObject
Engine.GetMaterialByname("A1", Amat1)
Engine.GetMaterialByname("A2", Amat2)
Engine.GetMaterialByname("A3", Amat3)
Engine.GetMaterialByname("B1", Bmat1)
Engine.GetMaterialByname("B2", Bmat2)
Engine.GetMaterialByname("B3", Bmat3)
scene.GetObjectByName("BTM COLOR-PRIM", top)
scene.GetObjectByName("BTM COLOR-SEC", btm)
scene.GetObjectByName("COLOR INVERT", mode)
scene.GetObjectByName("DOTQUAD", dots)
if text = "1" and mode.text = "NORM" then
top.SetMaterial(0, Amat1)
btm.SetMaterial(0, Bmat1)
dots.SetMaterial(0, Bmat1)
end if
if text = "1" and mode.text = "INVERT" then
top.SetMaterial(0, Bmat1)
btm.SetMaterial(0, Amat1)
dots.SetMaterial(0, Amat1)
end if
if text = "2" and mode.text = "NORM" then
top.SetMaterial(0, Amat2)
btm.SetMaterial(0, Bmat2)
dots.SetMaterial(0, Bmat2)
end if
if text = "2" and mode.text = "INVERT" then
top.SetMaterial(0, Bmat2)
btm.SetMaterial(0, Amat2)
dots.SetMaterial(0, Amat2)
end if
if text = "3" and mode.text = "NORM" then
top.SetMaterial(0, Amat3)
btm.SetMaterial(0, Bmat3)
dots.SetMaterial(0, Bmat3)
end if
if text = "3" and mode.text = "INVERT" then
top.SetMaterial(0, Bmat3)
btm.SetMaterial(0, Amat3)
dots.SetMaterial(0, Amat3)
end if
#XPression