void GlobalSettings::fillProperties(ParsedBlock& pb) { pb.getIntProp("frameWidth", &frameWidth); pb.getIntProp("frameHeight", &frameHeight); pb.getColorProp("ambientLight", &ambientLight); pb.getIntProp("maxTraceDepth", &maxTraceDepth); pb.getBoolProp("dbg", &dbg); pb.getBoolProp("wantPrepass", &wantPrepass); pb.getBoolProp("wantAA", &wantAA); pb.getDoubleProp("aaThresh", &aaThresh); }
void RectLight::fillProperties(ParsedBlock& pb) { Light::fillProperties(pb); pb.getIntProp("xSubd", &xSubd, 1); pb.getIntProp("ySubd", &ySubd, 1); pb.getTransformProp(T, IT); }