Пример #1
0
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);
}
Пример #2
0
void RectLight::fillProperties(ParsedBlock& pb)
{
	Light::fillProperties(pb);
	pb.getIntProp("xSubd", &xSubd, 1);
	pb.getIntProp("ySubd", &ySubd, 1);
	pb.getTransformProp(T, IT);
}