Skip to content

Commit dc79aba

Browse files
committed
updated rendering pipeline example to ImageBlock API changes
1 parent 7058034 commit dc79aba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

basics/06_rendering_pipeline.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
"block = ImageBlock(\n",
271271
" film.crop_size(),\n",
272272
" channel_count=5,\n",
273-
" filter=film.reconstruction_filter(),\n",
273+
" rfilter=film.reconstruction_filter(),\n",
274274
" border=False\n",
275275
")\n",
276276
"\n",
@@ -281,7 +281,7 @@
281281
"block.put(pixel_pos, rays.wavelengths, result, alpha=Float(1.0))\n",
282282
"\n",
283283
"# Add this image block to the film for later convertion to Bitmap (e.g. HDR)\n",
284-
"film.put(block)"
284+
"film.put_block(block)"
285285
]
286286
},
287287
{

0 commit comments

Comments
 (0)