equal
deleted
inserted
replaced
277 pyrit_verbosity = 2; |
277 pyrit_verbosity = 2; |
278 Float *fdata = (Float *) malloc(w*h*3*sizeof(Float)); |
278 Float *fdata = (Float *) malloc(w*h*3*sizeof(Float)); |
279 rt.setOversample(2); |
279 rt.setOversample(2); |
280 rt.setSubsample(1); |
280 rt.setSubsample(1); |
281 rt.ambientocclusion(300, 5.0, 0.5); |
281 rt.ambientocclusion(300, 5.0, 0.5); |
282 rt.render(w, h, fdata); |
282 DefaultSampler sampler(fdata, w, h); |
|
283 rt.setSampler(&sampler); |
|
284 rt.render(); |
283 |
285 |
284 struct image *img; |
286 struct image *img; |
285 new_image(&img, w, h, 3); |
287 new_image(&img, w, h, 3); |
286 |
288 |
287 Float *fd = fdata; |
289 Float *fd = fdata; |