-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #460 from 3dgeo-heidelberg/devel-aux
Swap-on-repeat supports recycling
- Loading branch information
Showing
8 changed files
with
161 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document> | ||
<scene id="dyn_geom_swap_recycle_scene" name="DynGeomSwapRecycleScene"> | ||
|
||
|
||
<!-- Ground plane --> | ||
<!-- ************ --> | ||
<part id="1"> | ||
<filter type="objloader"> | ||
<param type="string" key="filepath" value="data/sceneparts/basic/groundplane/groundplane.obj" /> | ||
</filter> | ||
<filter type="scale"> | ||
<param type="double" key="scale" value="120" /> | ||
</filter> | ||
<filter type="translate"> | ||
<param type="vec3" key="offset" value="50.0;0;0" /> | ||
</filter> | ||
</part> | ||
|
||
|
||
|
||
|
||
<!-- Sphere goes big sphere goes nothing goes big sphere --> | ||
<!-- *************************************************** --> | ||
<part id="2"> | ||
<filter type="objloader"> | ||
<param type="string" key="filepath" value="data/sceneparts/toyblocks/sphere.obj" /> | ||
</filter> | ||
<filter type="scale"> | ||
<param type="double" key="scale" value="1.0" /> | ||
</filter> | ||
<filter type="translate"> | ||
<param type="vec3" key="offset" value="-10.0;-20.0;0" /> | ||
</filter> | ||
<!-- Swap sphere by big sphere --> | ||
<swap> | ||
<filter type="scale"> | ||
<param type="double" key="scale" value="1.5" /> | ||
</filter> | ||
<filter type="translate"> | ||
<param type="vec3" key="offset" value="-10.0;-20.0;0" /> | ||
</filter> | ||
</swap> | ||
<!-- Swap big sphere by nothing --> | ||
<swap force_null="true" swapStep="2"> | ||
</swap> | ||
<!-- Swap nothing by big sphere --> | ||
<swap> | ||
<filter type="objloader"> | ||
<param type="string" key="filepath" value="data/sceneparts/toyblocks/sphere.obj" /> | ||
</filter> | ||
<filter type="scale"> | ||
<param type="double" key="scale" value="1.5" /> | ||
</filter> | ||
<filter type="translate"> | ||
<param type="vec3" key="offset" value="-10.0;-20.0;0" /> | ||
</filter> | ||
</swap> | ||
<!-- Swap big sphere by nothing --> | ||
<swap force_null="true" swapStep="1"> | ||
</swap> | ||
<!-- Swap nothing by biggest sphere --> | ||
<swap> | ||
<filter type="objloader"> | ||
<param type="string" key="filepath" value="data/sceneparts/toyblocks/sphere.obj" /> | ||
</filter> | ||
<filter type="scale"> | ||
<param type="double" key="scale" value="2.0" /> | ||
</filter> | ||
<filter type="translate"> | ||
<param type="vec3" key="offset" value="-40.0;-40.0;0" /> | ||
</filter> | ||
</swap> | ||
</part> | ||
</scene> | ||
</document> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document> | ||
<survey name="dyn_geom_swap_recycle_als" scene="data/scenes/dyn/dyn_geom_swap_recycle_scene.xml#dyn_geom_swap_recycle_scene" platform="data/platforms.xml#sr22" scanner="data/scanners_als.xml#leica_als50"> | ||
<leg> | ||
<platformSettings x="100" y="100.0" z="400" onGround="false" movePerSec_m="5" /> | ||
<scannerSettings active="true" pulseFreq_hz="83000" scanFreq_hz="70" scanAngle_deg="60" /> | ||
</leg> | ||
<leg> | ||
<platformSettings x="-100" y="-100.0" z="400" onGround="false" movePerSec_m="5" /> | ||
<scannerSettings active="false" pulseFreq_hz="83000" scanFreq_hz="70" scanAngle_deg="60" /> | ||
</leg> | ||
<leg> | ||
<platformSettings x="-100" y="100.0" z="400" onGround="false" movePerSec_m="5" /> | ||
<scannerSettings active="true" pulseFreq_hz="83000" scanFreq_hz="70" scanAngle_deg="60" /> | ||
</leg> | ||
<leg> | ||
<platformSettings x="100" y="-100.0" z="400" onGround="false" movePerSec_m="5" /> | ||
<scannerSettings active="false" pulseFreq_hz="83000" scanFreq_hz="70" scanAngle_deg="60" /> | ||
</leg> | ||
</survey> | ||
</document> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters