import cameraSolverTemplate as CST import basicCaraTestClass as BCTC #Setup a cameraSolver and readnodes all connected from the template class CS = CST.cameraSolverTemplate(__file__) #Return the node created - In this case C_CameraSolver node = CS.returnNode() ''' Variables ''' BCTC.CS_chooseRigPreset(node, 'PRO14 - H3') #Write out the result and then compare that with the reference images CS.compare()
import cameraSolverTemplate as CST import basicCaraTestClass as BCTC #Setup a cameraSolver and readnodes all connected from the template class CS = CST.cameraSolverTemplate(__file__) #Return the node created - In this case C_CameraSolver node = CS.returnNode() ''' Variables ''' BCTC.CS_chooseRigPreset(node, 'F360B - H3') #Write out the result and then compare that with the reference images CS.compare()
BCTC.loadImages(node) #Create a write node write = BCTC.createNode('Write') #Set the generic stuff setWriteNode(write) #Get all the presets in the cameraSolver node rigPresetList = [] for i in node['rigPreset'].values(): rigPresetList.append(i) for preset in rigPresetList: print preset #Ignore all the presets that need inputs if 'Custom' in preset: pass elif 'PTGui (.pts)' in preset: pass elif 'Nokia' in preset: pass else: BCTC.CS_chooseRigPreset(node, preset) modPreset = preset.split(" ") for item in filesToMake: if modPreset[0] in item: # filePath = ('/Users/macadmin/Desktop/tmp/{}.%V.exr').format(item) # filePath = ('/Volumes/netqa/Testing/TestHarness/Research/CaraVR/Import_Presets/{}.%V.exr').format(item) filePath = ('/Users/Tom/Desktop/{}.%V.exr').format(item) write['file'].setValue(filePath) nuke.execute(write, 1, 1)
import cameraSolverTemplate as CST import basicCaraTestClass as BCTC #Setup a cameraSolver and readnodes all connected from the template class CS = CST.cameraSolverTemplate(__file__) #Return the node created - In this case C_CameraSolver node = CS.returnNode() ''' Variables ''' BCTC.CS_chooseRigPreset(node, 'iZugar Z3X') #Write out the result and then compare that with the reference images CS.compare()
import cameraSolverTemplate as CST import basicCaraTestClass as BCTC #Setup a cameraSolver and readnodes all connected from the template class CS = CST.cameraSolverTemplate(__file__) #Return the node created - In this case C_CameraSolver node = CS.returnNode() ''' Variables ''' BCTC.CS_chooseRigPreset(node, 'Jaunt ONE') #Write out the result and then compare that with the reference images CS.compare()