P3D New Features
List of New Features :
Requires OSG 2.9.x and up to date Present3D
- VNC in a window within P3D : page
- Live Stream into a window within P3D : page
- Browser in a window within P3D : page
- PDF in a window within P3D : page
- Set environmental variables in the xml file
- Jump within P3D show : page
- loading DICOM files : page
New Tags and controls :
#cccccc; background-color: #cccccc; min-height: 1.0px">
Volume :
<key>a</key> modify alpha value
<key>t</key> modify transparency
<key>v</key> change rendering options :
<volume> </volume>
#cccccc; background-color: #cccccc; min-height: 1.0px">
VNC :
Use the following tag within a layer :
<vnc>network_address_of_your_Mac</vnc> for example <vnc>192.168.0.5</vnc>
This will make the vnc window fill the screen in your P3D show. You can change its size, location, fade etc; just as you would for an image or movie.
<vnc position="0.3 0.9 0.1" scale="0.25" fade="0 0 1 1 4 1" >192.168.0.5</vnc>
#cccccc; background-color: #cccccc; min-height: 1.0px">
Live Stream :
Live Stream into a window within P3D : page
<movie>x:y.live</movie>
For use with video capture card or webcam.
#cccccc; background-color: #cccccc; min-height: 1.0px">
Environmental var suage and setting, and paths :
Usage:
<presentation>
<env>OSG_COMPUTE_NEAR_FAR_MODE=COMPUTE_NEAR_FAR_USING_PRIMITIVES</env>
<env>OSG_NEAR_FAR_RATIO=0.00001</env>
<path>${DATA_DIR}</path>
<path>${DATA_DIR}/OpenSceneGraph-Data</path>
<path>${DATA_DIR}/Images</path>
<path>${DATA_DIR}/Models</path>
<path>${DATA_DIR}/Earth</path>
#cccccc; background-color: #cccccc; min-height: 1.0px">
Click to run and jump :
additional option of moving forward x slides in parent 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>
<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>
#cccccc; background-color: #cccccc; min-height: 1.0px">
Presentation Exit & Loop tag :
escape as a slide and button/layer tag : eg 1) on entering final slide in show it escapes back to original show 2) as per click to run, click on image or text to escape back to original show. Usage add exit to a layer, on advancing to a layer containing exit P3D will exit immediately.
<exit></exit>
#cccccc; background-color: #cccccc; min-height: 1.0px">
Loop :
<loop> to loop show :
This was the original behaviour of P3D, but would be best as an option again both as a slide and a layer tag. Usage, add the follow to top
of the file, but below the presentation tag:
<loop></loop>
#cccccc; background-color: #cccccc; min-height: 1.0px">
Jump
like click to run but within the same show, so 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:
<jump jump="relative" slide="-2" layer="0"></jump>
#cccccc; background-color: #cccccc; min-height: 1.0px">
Audio spanning :
audiospan - media spanning multiple slides
audio spanning section ; to allow audio tracks to span multiple slides.
This is now supported by just adding movie (with audio) to each slide/layer that needs the audio/movie, and P3D will now spot that there is continuity between slides/layers and will leave the media playing without restarting it. This functionaity works without any new tags, it also does away with the need for clean_layers.
Mailing List :
For additional support please join the Present3D list here :
http://lists.present3d.osgforge.org/listinfo.cgi/p3d-users-present3d.osgforge.org
The Digital Learning Foundation is a registered Educational Charity, SC036588 and a Non-Profit Company Limited by Guarantee, SC282280.
The DLF is dedicated to assisting educators and students adopt new technologies and integrate them into everyday teaching and learning, while inspiring, motivating and making it fun!
content
user account
popular content
Today's:
All time:
Recent blog posts
- Early Cineradiographic X-ray studies of Joint Movement
- ESA : A Black Hole Inferno
- Testing blog update from iPad
- The Standard Model Explained
- Exoplanet caught on the move by the VLT
- Posting Stereo Video to YouTube 3D
- The Answer!
- StrataStencil Animation by Javan Ivey
- Rana Sobhany : iPad DJ
- iPad Thoughts:
bbc science
new scientist
space
universe today
eurekAlert!
- 'Guardian of the genome': Protein helps prevent damaged DNA in yeast
- 'Guardian of the genome': Protein helps prevent damaged DNA in yeast
- Purple light means go, ultraviolet light means stop
- Purple light means go, ultraviolet light means stop
- SIDS surprise: Study finds that infant boys are more easily aroused from sleep than girls
- SIDS surprise: Study finds that infant boys are more easily aroused from sleep than girls
- Short and long sleep durations are independent risk factors for cardiovascular disease
- Short and long sleep durations are independent risk factors for cardiovascular disease
- Negative effects of sleep restriction may linger after 1 night of recovery sleep
- Negative effects of sleep restriction may linger after 1 night of recovery sleep







recent comments
21 weeks 21 hours ago
26 weeks 4 days ago
34 weeks 3 days ago
34 weeks 3 days ago
35 weeks 5 days ago
37 weeks 1 day ago
39 weeks 4 days ago
40 weeks 4 days ago
40 weeks 5 days ago
1 year 19 weeks ago