These are the steps to reproduce a visual demonstration of the Crown model.
These steps assume the following:
- You have an Intel® Xeon® processor-based system with OpenGL hardware graphics support and an Intel® Xeon Phi™ Coprocessor.
- You are running a supported operating system (see the list supported, here)
- Have the Intel® MPSS installed
- Have the Intel(R) Compiler installed on the host
- Have verified connectivity to the coprocessor (e.g. can connect to it via ssh without issue)
- Have downloaded the pre-built version of the ISPC binaries (this is also called out in the Embree README, just reiterating here for clarity)
- Download the latest version of Embree from http://embree.github.io/downloads.html
- Download Embree sample renderer and Crown model from http://embree.github.io/renderer.html
- Read the installation instructions including the README.txt. There are several libraries required for Embree installation.
- Once compiled and installed , Run Embree on the host with the following command: ./render –device singleray –c crown/crown.ecs –size 1024 1024 –spp 4 –depth 5
- Provided the CPU (host) version works, you should be able to run the following on the Intel Xeon Phi Coprocessor: ./render –device ispc_knc –c crown/crown.ecs –size 1024 1024 –spp 4 –depth 5
- It is best to set the recursion depth to 5 (as done above), as this gives much better performance on the coprocessor. Experiment with the number of samples per pixel (-spp) such that the navigation speed is sufficient for your platform.
- Do not set the samples per pixel too low (not lower than 4), otherwise the rays per second performance drops because of display overheads.
- Embree will automatically use multiple Intel Xeon Phi coprocessors if present in the system. But best start to get it running with only one coprocessor. The performance numbers printed will be the rays second performance on each card. Thus the printed numbers will not get higher, but the framerate will scale linearly.
- You can go to full screen mode with the f key.
- If you experience failures resulting in the error "COI_MISSING_DEPENDENCY" try setting the SINK_LD_LIBRARY_PATH environment variable to include paths to all of the standard and Embree libraries on the host, prior to invocation
- Embree home page: http://embree.github.io/index.html
- Source trees: https://github.com/embree for those wanting to pull the code via git rather than the zip files at http://embree.github.io/downloads.html and http://embree.github.io/renderer.html (which are regenerated whenever source changes are published on the external branches
- Embree blog series on Intel Developer zone: http://software.intel.com/en-us/blogs/2014/01/24/introduction-to-embree-21-part-1
Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.