How to jump within a P3D show by using the "jump" tag.
This is best used in combination with the <exit> tag at the end of any show opened on top of a base show.
Jump
Enables jumping within the same show. It is applied to image/model/text and clicking on will jump x number of slides forward or backward. Or jump to a named slide, this would have the advantage that adding, removing or moving slides would not interfere with these links.
Usage:
<layer>
<jump jump="relative" slide="-2" layer="0"></jump>
<image coordinate_frame="slide" position="0.25 0.75 0.0" scale="0.25">Images/lz.rgb</image>
</layer>
or
Jump within base show and open a new show on top.
This allows you to jump from a slide in your base show and fire off a new show, but when you exit that show, you come back to a different location within the base show. This allows complex non-linear shows to be created.
This is best used in combination with the <exit> tag at the end of any show opened on top of a base show.
Usage - add following options to the click_to_run : jump="realtive" or "absolute" and then slide="num" and layer="num", example:
<layer>
<click_to_run jump="relative" slide="0" layer="-1">osgviewer glider.osg</click_to_run>
<image coordinate_frame="slide" position="0.25 0.75 0.0" scale="0.25">Images/lz.rgb</image>
</layer>
<layer>
<click_to_run jump="absolute" slide="0" layer="0">osgviewer cow.osg</click_to_run>
<image coordinate_frame="slide" position="0.75 0.75 0.0" scale="0.25">RSVclip.mov</image>
</layer>
Comments (0)
You don't have permission to comment on this page.