diff --git a/ex1/README.md b/ex1/README.md index a2bf3d22bd209a5278dfa36e0f3f3ab894964e47..3a6bfae8ec84d08e70e9fa8f3b2dbead8abd475c 100644 --- a/ex1/README.md +++ b/ex1/README.md @@ -42,11 +42,11 @@ Generally, to connect two filters, you need to use a construction of the form ``` filter2->SetInputConnection( filter1->GetOutputPort() ) ``` -to make `filter2` use the output of `filter1` as input. Your elevation filter should connect directly to the datasource so e.g. set this filter's input connection to the output port of the data source. +to make `filter2` use the output of `filter1` as input. Your elevation filter should connect directly to the datasource so e.g. set this filter's input connection to the output port of the data source. Save your submission code as `task2.py`. (Note: It may be a bit confusing that all that is needed to connect some filters; when is the actual computation happening? VTK actually does this automatically. Basically, the `vtkRenderWindow` used in the code notices that a new image must be drawn and invokes the filters in reverse order. Intermediate results are cached, so as long as no parameters are changed, everything is computed only once. We'll look at this in more detail in a future homework.) -**Summary of Tasks:** Create an elevation filter based on the y-axis and connect it to the previous and following filters and mappers. What can you infer from the default colormap? +**Summary of Tasks:** Create an elevation filter based on the y-axis and connect it to the previous and following filters and mappers, then save your code in `task2.py`. What can you infer from the default colormap? The resulting renderview should look like the following: @@ -70,7 +70,7 @@ The resulting renderview should look like the following: <img src="sol_task_3.jpg" width="600">. -**Summary of Tasks:** Create a contour filter and connect it to the previous filters and following mappers. Extract 20 isolines between 0.4 and 0.5. What problem could arise if you want to approximate the isovalue? +**Summary of Tasks:** Create a contour filter and connect it to the previous filters and following mappers. Extract 20 isolines between 0.4 and 0.5. Save your submission code as `task3.py`. What problem could arise if you want to approximate the isovalue? ## Task 4: Export your results (2P)