Plugin Configuration

From Immersive Visualization Lab Wiki
Revision as of 16:07, 5 June 2012 by Aprudhom (Talk | contribs)

Jump to: navigation, search



In order for plugin to be functional, it must be built and given proper configuration in the CalVR Config File. This page is for listing library and data dependencies for a plugin, as well as providing an example for the xml configuration entry.




This plugin requires the models and images from the 'kyle' data folder.

Config Example

<ArtifactVis value="on" >
 <Database value="/home/aprudhom/data/kyle/artifact-databank/artifactslist.txt" />
 <TopoFile value="/home/aprudhom/data/kyle/3d-model/Ken3dv3.wrl" />
 <PicFolder value="/home/aprudhom/data/kyle/pictures/AllPics/" />
 <DCInfoFile value="/home/aprudhom/CVRPlugins/calit2/ArtifactVis/DCCategories.txt" />
 <LociFile value="/home/aprudhom/CVRPlugins/calit2/ArtifactVis/AreaMLociDepth.kml" />
 <MaxVisibleRange value="1000000000.0" />
  <X value="-3396591.682" />
  <Y value="-733458.55" />
  <Z value="-49.44" />
  <Longitude value="35.491239" />
  <Latitude value="30.628039" />
 <Tessellation value=".2" />
 <ArtifactPanel x="-200" y="25" z="100" scale="1.0" /> 

Replace the data paths to the 'kyle' folder with the ones on your system. The DCCategories.txt and AreaMLociDepth.kml files are in with the plugin source, change the paths as needed. The Tessellation value determines how well to draw the spheres. The ArtifactPanel tag determines the default location and scale of the selection dialog panel.



This plugin allows for the loading of any model type that can be loaded by OpenSceneGraph (i.e. obj,ive,osg,etc.). Building in the optional OpenSceneGraph depandencies expands this support.

Config Example



The plugin requires model files from the 'baybridge' directory.

Config Example

<StructView value="on">
 <Layer0File value="/home/aprudhom/data/baybridge/T1_Block_01A_One_Quarter_wPiles_StructSteel01.WRL" />
 <Layer1File value="/home/aprudhom/data/baybridge/T1Block01B_One_Quarter_Struct_Steel.WRL" />
 <Layer2File value="/home/aprudhom/data/baybridge/T1Block02_OneQuarter_TopSlabRebar.wrl" />
 <Layer3File value="/home/aprudhom/data/baybridge/T1Block03_OneQuarter_BotSlabRebar.wrl" />
 <Layer4File value="/home/aprudhom/data/baybridge/T1Block04_One_Quarter_CutOutRebar.wrl" />
 <Layer5File value="/home/aprudhom/data/baybridge/T1Block05_OneQuarter_Walls.WRL" />
 <Layer6File value="/home/aprudhom/data/baybridge/T1Block06_One_Quarter_FendersRebars.WRL" />
 <Layer7File value="/home/aprudhom/data/baybridge/T1Block07_OneQuarter_SkirtRebar.wrl" />
 <Layer8File value="/home/aprudhom/data/baybridge/T1Block08_One_Quarter_SkirtABLayout.WRL" />
 <Layer9File value="/home/aprudhom/data/baybridge/T1Block11_One_Quarter_Drainage.WRL" />
 <Layer10File value="/home/aprudhom/data/baybridge/T1Block13_FullConcrete.WRL" />
 <Layer11File value="/home/aprudhom/data/baybridge/Tower-all.wrl" />

Replace the paths to the 'baybridge' folder with the ones on your system.