UCVM 3D Viz
From SCECpedia
Jump to navigationJump to searchThese are notes on the steps we used to visualize UCVM models in 3D. Current efforts are to visualize the supported models using IRIS EMC Paraview plugin tools.
Contents
Installing IRIS EMC Plugins
- Retrieve the latest EMC Paraview distribution
- To support SCEC models with large value range, update the read_models.py plugin file
read_models.py if V[var][i,j,k] > 999.0: scalars.InsertNextValue(float('nan’))
- change it to 9999.0 to test it.
- Install bundle by executing the python2 script "build_plugin_macros.py"
- Option 2: As indicated on top of the Plugin Manager window, you may place your plugin files under the designated plugin directory so they would be loaded automatically. A better option would be to make the designated plugin directory a soft symbolic link of your plugin directory:
- ln -s {FULL PATH TOIRIS_EMC_Paraview}/plugins {FULL PATH TO PARAVIEW APPLICATION DIRECTORY}/Contents/MacOS/plugins
- then restart ParaView
- In ParaView go to "Sources --> IRIS EMC" to see various EMC sources you have installed
- In ParaView go to "Filters--> IRIS EMC" to see the single EMC filter you have installed (it should be grayed out since you have no data to filter yet!)