Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
added some information on changing the scene's integrator to pathemca to collect data for visualization.
  • Loading branch information
LukasRuppert authored Nov 17, 2021
1 parent 3bbbd8c commit 4625ea1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ The simplest way to do this is using the `setpath.sh` script:
source setpath.sh
./dist/mtsutil emca <scene.xml>

You might additionally need to add the path to the EMCA Server library to the `LD_LIBRARY_PATH`, if not installed to the default location.
You might additionally need to add the path to the EMCA Server library to the `LD_LIBRARY_PATH`, if it is not installed to the default location.

Make sure that your `scene.xml` is configured to use an integrator that is instrumented to collect data using the EMCA API.
Unless you add your own, only the integrator `pathemca` collects this information.
In the scene file, adjust `<integrator type="path"/>` to `<integrator type="pathemca"/>`.

## Integration of EMCA into Mitsuba
All you need to do to add support for EMCA to your path tracer is to add some instrumentation code as explained in the following section.
Expand Down

0 comments on commit 4625ea1

Please sign in to comment.