In the renderTwoBounce.py, I notice the cmd call the OptixRenderer assign the mode as 7.
if opt.forceOutput:
cmd1 = '%s -f %s -o %s -c %s -m 7 --forceOutput' % (renderProgram, xmlFile, output, camFile )
else:
cmd1 = '%s -f %s -o %s -c %s -m 7' % (renderProgram, xmlFile, output, camFile )
However, the OptixRenderer, it seems do not have mode 7 but only have mode 0 to 6
In createGeometry.cpp
if(!shape.isLight ){
if(mode == 0){
.....
}
else if(mode == 1){
...........
}
........
else if(mode == 6){
........
}
else{
std::cout<<"Wrong: Unrecognizable mode!"<<std::endl;
exit(1);
}
}
It seems mode 7 can output all results but it not implemented in the OptixRenderer. Should I just use mode 6?
In the renderTwoBounce.py, I notice the cmd call the OptixRenderer assign the mode as 7.
However, the OptixRenderer, it seems do not have mode 7 but only have mode 0 to 6
In createGeometry.cpp
It seems mode 7 can output all results but it not implemented in the OptixRenderer. Should I just use mode 6?