Closed bernardkwok closed 3 years ago
Add in look / lookgroup management utilities
<?xml version="1.0"?> <materialx version="1.38"> <lookgroup name="lookgroup1" looks="look1,look2,look3,look4,look5" active="look1" /> <look name="look1"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look2"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look3"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look4"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look5"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <!-- Copy test --> <lookgroup name="lookgroup1_copy" looks="look1,look2,look3,look4,look5" active="look1" /> </materialx>
<?xml version="1.0"?> <materialx version="1.38"> <lookgroup name="lookgroup1" looks="look6" active="look6" /> <look name="look1"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look2"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look3"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look4"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look5"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <lookgroup name="lookgroup1_copy" looks="look1,look2,look3,look4,look5" active="look1" /> <look name="look6"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> <materialassign name="look2_matA" material="materialA" /> <materialassign name="look2_matB" material="materialB" /> <materialassign name="look2_matC" material="materialC" /> <materialassign name="look3_matA" material="materialA" /> <materialassign name="look3_matB" material="materialB" /> <materialassign name="look3_matC" material="materialC" /> <materialassign name="look4_matA" material="materialA" /> <materialassign name="look4_matB" material="materialB" /> <materialassign name="look4_matC" material="materialC" /> <materialassign name="look5_matA" material="materialA" /> <materialassign name="look5_matB" material="materialB" /> <materialassign name="look5_matC" material="materialC" /> </look> </materialx>
<?xml version="1.0"?> <materialx version="1.38"> <look name="look1"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look2"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look3"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look4"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look5"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <lookgroup name="lookgroup1_copy" looks="look1,look2,look3,look4,look5" active="look1" /> <lookgroup name="lookgroup2" looks="lookA,look1,lookC,look3,lookE" active="lookA,look3,lookE" /> <look name="lookA"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="lookC"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="lookE"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <lookgroup name="lookgroup1_copy_merged" looks="look1, look2, look3, look4, look5, lookA, lookC, lookE" active="look1, lookA, look3, lookE" /> </materialx>
<?xml version="1.0"?> <materialx version="1.38"> <look name="look1"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look2"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look3"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look4"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="look5"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <lookgroup name="lookgroup1_copy" looks="look1,look2,look3,look4,look5" active="look1" /> <lookgroup name="lookgroup2" looks="lookA,look1,lookC,look3,lookE" active="lookA,look3,lookE" /> <look name="lookA"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="lookC"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <look name="lookE"> <materialassign name="matA" material="materialA" /> <materialassign name="matB" material="materialB" /> <materialassign name="matC" material="materialC" /> </look> <lookgroup name="lookgroup1_copy_merged" looks="look1, look2, look3, look4, look5, lookA, lookC, lookE" active="look1, lookA, look3, lookE" /> <lookgroup name="lookgroup1_copy_merged2" looks="look1, look2, lookA, lookC, lookE, look3, look4, look5" active="look1, lookA, look3, lookE" /> <lookgroup name="lookgroup1_copy_merged3" looks="look1, look2, look3, look4, look5, lookA, lookC, lookE" active="look1, lookA, look3, lookE" /> </materialx>
Updates
Add in look / lookgroup management utilities
Testing