Changeset 8231

Show
Ignore:
Timestamp:
04/25/08 16:35:09
Author:
robert
Message:

Clean up various presentations

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/C++AndMemoryManagement/CppAndOpenSceneGraph.p3d

    r8196 r8231  
    2424 
    2525<template_slide name="front"> 
    26   <background>Images/chameleondots-blue.jpg</background> 
     26  <background>Images/default_blue.jpg</background> 
    2727  <title></title> 
    2828  <base> 
     
    3535 
    3636<template_slide name="middle"> 
    37   <background>Images/chameleondots-blue.jpg</background> 
     37  <background>Images/default_blue.jpg</background> 
    3838  <title></title> 
    3939  <base> 
     
    4848 
    4949<template_slide name="end"> 
    50   <background>Images/chameleondots-blue.jpg</background> 
     50  <background>Images/default_blue.jpg</background> 
    5151  <title></title> 
    5252  <base> 
     
    6060 
    6161<slide inherit="front"> 
    62 <background>Images/chameleondots-blue.jpg</background> 
     62<background>Images/default_blue.jpg</background> 
    6363<title> </title> 
    6464<layer> 
     
    271271If two objects both has ref_ptr to each other then they never can be deleted! 
    272272 
    273 Exercise A_Prerequisites explores this issue. 
     273Exercise 2d_observer_ptr explores this issue. 
    274274</page> 
    275275 
    276276<page inherit="end" title="observer_ptr"> 
    277 New solution, in CVS, to circular references. 
     277Solution to circular references - osg::observer_ptr 
    278278 
    279279osg::observer_ptr doesn't increment the reference count, but does automatically get reset to 0 when the object its 
    280280observing get deleted. 
    281281 
    282 Now onto the Exercise A_Prerequisites
     282Now onto the Exercises/02_memory
    283283</page> 
    284284</presentation> 
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/Introduction/BuildingOpenSceneGraph.p3d

    r8196 r8231  
    2222 
    2323<template_slide name="front"> 
    24   <background>Images/chameleondots-blue.jpg</background> 
     24  <background>Images/default_blue.jpg</background> 
    2525  <title></title> 
    2626  <base> 
     
    3333 
    3434<template_slide name="middle"> 
    35   <background>Images/chameleondots-blue.jpg</background> 
     35  <background>Images/default_blue.jpg</background> 
    3636  <title></title> 
    3737  <base> 
     
    4646 
    4747<template_slide name="end"> 
    48   <background>Images/chameleondots-blue.jpg</background> 
     48  <background>Images/default_blue.jpg</background> 
    4949  <title></title> 
    5050  <base> 
     
    5858 
    5959<slide inherit="front"> 
    60 <background>Images/chameleondots-blue.jpg</background> 
     60<background>Images/default_blue.jpg</background> 
    6161<title> </title> 
    6262<layer> 
     
    7070<page inherit="middle" title="Main Dependencies"> 
    7171 
     72Standard C++ 
     73 
     74OpenGL 1.1 or greater 
     75 
    7276OpenThreads 
    73    
    74   - Vital as core osg relies upon it for Threads and Mutexes 
    75   
    76  
    77 Producer 
    78  
    79   - Not vital if other Windowing toolkit used  
    80    
    81   - osgProducer and all almost examples user it. 
    82  
    83 Both use OpenSceneGraph style build system (all written by Don Burns) 
     77  
     78    - Now included directly into the core  
     79      OpenSceneGraph distribution 
     80  
     81 
    8482</page> 
    8583 
     
    8886All Optional, if you don't need the associated feature don't compile it. 
    8987 
    90 Full list of dependencie and links to where to get them on openscenegraph.org/downloads/ 
     88Full list of dependencies and links to where to get them on OpenSceneGraph website: 
     89  
     90    Downloads/Dependencies 
    9191 
    9292Image Plugins 
    93  
    94    - libtif 
    95    - libungif 
    96    - libpng 
    97  
    98    - GDAL 
     93  
     94    - libtif 
     95    - libungif 
     96    - libpng 
     97    - libcurl 
     98    - GDAL 
    9999    
    1001003D Database plugins 
    101  
    102    - Performer 
    103    - Invento/Coin    
     101  
     102    - Performer 
     103    - Invento/Coin 
     104    - OpenVRML 
     105    - COLLADA DOM 
    104106 
    105107</page> 
     
    107109<page inherit="middle" title="Unix build"> 
    108110Platforms: 
     111  
    109112   - Linux 
    110113   - IRIX 
     
    116119   - Solaris 
    117120    
    118 All platforms use gmake, and the build commands are: 
    119  
     121All platforms use cmake, and the build commands are: 
     122  
     123  ./configure 
    120124  make 
    121   make clean 
    122   make install 
    123   make instclean 
    124   make instliks 
    125   make cleandepend 
    126   make clobber 
    127   make help 
     125  sudo make install 
     126   
    128127</page> 
    129128 
    130129<page inherit="middle" title="Unix build cont."> 
    131130 
    132 Make configuation files in Make/ 
    133  
    134 make also can accept env variables on the commandline i.e. 
    135  
    136   make COMPILE_EXAMPLES=yes  
    137  
    138 Make/dependencies controls which components are built. 
    139  
    140 Create you own custom my_dependencies file to enable/disable and use the OSG_DEPENDENCIES env varialble to point the build system at it 
    141  
    142   # should we compile osgIntrospection? 
    143   COMPILE_INTROSPECTION = no 
     131Build options can be edited using ccmake : 
     132  
     133   ccmake . 
     134   make 
     135    
     136Within cmake press: 
     137  
     138    'c' to configure 
     139    'g' to generate build system. 
     140 
    144141</page> 
    145142 
    146143<page inherit="middle" title="Windows Visual Studio"> 
    147144 
    148 Visual 6.0 Projct files in VisualStudio/ 
    149  
    150 Visual 7.x and 8.x all uses 6.0 Project files - to keep support managable 
    151  
    152 Compiler issues: 
    153  
    154     - VisualStudio 6.0: 
    155  
    156         Requires STLport  
    157         osgIntrospection does not compile 
    158         
    159     - VisualStudio 7.0: 
     145Use CMakeSetup - just a GUI front end in place of cmake and ccmake. 
     146 
     147cmake and ccmake still available. 
     148 
     149Further details can be found on OpenSceneGraph website under: 
     150  
     151    Documentaton/PlatformSpecifics/VisualStudio 
     152 
     153</page> 
     154 
     155<page inherit="middle" title="OSX"> 
     156 
     157XCode projects in XCode/, supports "Universal Binaries" 
     158 
     159Unix build as per the rest of the unices 
     160 
     161Further details can be found on OpenSceneGraph website under: 
     162  
     163    Documentaton/PlatformSpecifics/OSX 
     164</page> 
     165 
     166<page inherit="middle" title="Time to build"> 
     167  
     168On unices: 
     169  
     170    Set up your environmental variables as per  
     171    Sources/Resources 
     172  
     173    cd OpenScenGraph-TrainingMaterial/Sources  
     174    ./build_all.sh 
     175  
     176 
     177Under Windows: 
     178  
     179    Set up your environmental variables as per  
     180    Sources/Resources 
     181  
     182    Use CMakeSetup to build the VisualStudio projects for 
     183    the following in turn: 
    160184     
    161         osgIntrospection does not compile 
    162          
    163     - VisualStudio 8.0: 
    164      
    165         small tweaks in CVS to get to compile         
    166          
    167 </page> 
    168  
    169 <page inherit="middle" title="OSX"> 
    170  
    171 XCode projects in XCode/, supports "Universal Binaries" 
    172  
    173 Unix build as per the rest of the unices 
    174  
    175 Producer options: 
    176  
    177     - X11 
    178     - CGL 
    179     - AGL 
    180 </page> 
    181  
    182 <page inherit="middle" title="Time to build"> 
    183  
    184 Now over to you... 
     185    Sources/OpenSceneGraph 
     186    Sources/VirtualPlanetBuilder 
     187    Sources/Present3D 
     188    Sources/Exercices 
    185189 
    186190</page> 
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/Maths/MathsAndOpenSceneGraph.p3d

    r8196 r8231  
    2222 
    2323<template_slide name="front"> 
    24   <background>Images/chameleondots-blue.jpg</background> 
     24  <background>Images/default_blue.jpg</background> 
    2525  <title></title> 
    2626  <base> 
     
    3333 
    3434<template_slide name="middle"> 
    35   <background>Images/chameleondots-blue.jpg</background> 
     35  <background>Images/default_blue.jpg</background> 
    3636  <title></title> 
    3737  <base> 
     
    4646 
    4747<template_slide name="end"> 
    48   <background>Images/chameleondots-blue.jpg</background> 
     48  <background>Images/default_blue.jpg</background> 
    4949  <title></title> 
    5050  <base> 
     
    5858 
    5959<slide inherit="front"> 
    60 <background>Images/chameleondots-blue.jpg</background> 
     60<background>Images/default_blue.jpg</background> 
    6161<title> </title> 
    6262<layer> 
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/MultiChannelSystems/Cluster.p3d

    r8203 r8231  
    2121 
    2222<template_slide name="front"> 
    23   <background>Images/chameleondots-blue.jpg</background> 
     23  <background>Images/default_blue.jpg</background> 
    2424  <title></title> 
    2525  <base> 
     
    3232 
    3333<template_slide name="middle"> 
    34   <background>Images/chameleondots-blue.jpg</background> 
     34  <background>Images/default_blue.jpg</background> 
    3535  <title></title> 
    3636  <base> 
     
    4545 
    4646<template_slide name="end"> 
    47   <background>Images/chameleondots-blue.jpg</background> 
     47  <background>Images/default_blue.jpg</background> 
    4848  <title></title> 
    4949  <base> 
     
    5656 
    5757<slide inherit="front"> 
    58 <background>Images/chameleondots-blue.jpg</background> 
     58<background>Images/default_blue.jpg</background> 
    5959<title> </title> 
    6060<layer> 
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/Optimizing/optimization.p3d

    r8203 r8231  
    1515   <duration>1.0</duration> 
    1616 
     17   <title-settings character_size="0.04"></title-settings> 
     18   <text-settings character_size="0.035"></text-settings> 
     19 
    1720   <path>/home/robert/Presentations/Siggraph</path> 
    1821 
    1922   <holding_slide> 
    20       <background>Images/chameleondots-blue.jpg</background> 
     23      <background>Images/default_blue.jpg</background> 
    2124      <title></title> 
    2225      <layer> 
     
    2831 
    2932   <slide> 
    30       <background>Images/chameleondots-blue.jpg</background> 
     33      <background>Images/default_blue.jpg</background> 
    3134      <title></title> 
    3235      <layer> 
     
    3841 
    3942   <slide> 
    40       <background>Images/chameleondots-blue.jpg</background> 
     43      <background>Images/default_blue.jpg</background> 
    4144      <title>Optimization Overview</title> 
    4245      <layer> 
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/PagedDatabases/databasepaging.p3d

    r8196 r8231  
    1111    <path>${DATA_DIR}/Earth</path> 
    1212 
     13    <title-settings character_size="0.04"></title-settings> 
     14    <text-settings character_size="0.03"></text-settings> 
     15 
    1316    <name>Database Paging</name> 
    1417    <bgcolor>BLACK</bgcolor> 
     
    1720 
    1821    <holding_slide> 
    19       <background>Images/chameleondots-blue.jpg</background> 
     22      <background>Images/default_blue.jpg</background> 
    2023      <layer> 
    2124         <paragraph position="0.5 0.5 0" alignment="CENTER_CENTER" character_size="0.07">Database Paging</paragraph> 
     
    2629 
    2730    <slide> 
    28       <background>Images/chameleondots-blue.jpg</background> 
     31      <background>Images/default_blue.jpg</background> 
    2932      <title></title> 
    3033      <layer> 
     
    4245      <duration>20</duration> 
    4346      <layer> 
    44          <model path_time_offset="-25" position="0 0 0" coordinate_frame="model" camera_path="Paths/nellis_animation.path">Nellis/archive.txp</model> 
     47         <model path_time_offset="-25" position="0 0 0" coordinate_frame="model" camera_path="Paths/nellis_animation.path">VisualSimulation/Nellis/archive.txp</model> 
    4548         <newline></newline> 
    4649         <bullet>OSG's txp plugin developed in conjunction with Terrex</bullet> 
     
    6164 
    6265    <slide> 
    63       <background>Images/chameleondots-blue.jpg</background> 
     66      <background>Images/default_blue.jpg</background> 
    6467      <title>DatabasePager internal structure</title> 
    6568      <layer> 
    6669         <newline></newline> 
    67          <bullet>DatabasePager is based around 4 thread safe queues, and the interaction of three/four threads (update, cull/draw and database)</bullet> 
     70         <bullet>DatabasePager is based around 4 thread safe queues, and the interaction of three/four threads (update, cull/draw and database)</bullet> 
    6871         <indent></indent> 
    6972         <bullet>DatabaseRequest queue - populated by cull traversal, emptied by DatabasePager thread</bullet> 
     
    111114 
    112115    <slide> 
    113       <background></background> 
    114       <title>Pegout Sound</title> 
    115       <bgcolor>SKY</bgcolor> 
    116       <textcolor>YELLOW</textcolor> 
    117       <duration>20</duration> 
    118       <layer> 
    119          <model coordinate_frame="model" camera_path="Paths/pegout.path">PegoutSound/pegout.ive</model> 
    120          <newline></newline> 
    121          <bullet>Source data - Pegout Sound 16k x 16k DEM + colour imagery</bullet> 
    122       </layer> 
    123       <layer> 
    124          <bullet>Created using osgdem front end to osgTerrain generating a OSG native paged database</bullet> 
    125          <bullet>Automatic generation of LOD levels and compressed mipmapped textures</bullet> 
    126          <bullet>.osga archive support for encapsulating all tiles within a single file</bullet> 
    127       </layer> 
    128       <layer> 
    129          <click_to_run>nedit ~/OpenSceneGraph/examples/osgsimplepager/osgsimplepager.cpp &amp; </click_to_run> 
    130          <bullet>Runtime just uses osgDB::DatabasePager, no need to link to osgTerrain</bullet> 
    131       </layer> 
    132     </slide> 
    133  
    134     <slide> 
    135       <background>Images/chameleondots-blue.jpg</background> 
     116      <background>Images/default_blue.jpg</background> 
    136117      <title>Constant frame rate vs Rapid merging of tiles</title> 
    137118      <layer> 
     
    167148      <layer> 
    168149         <newline></newline> 
    169          <bullet>osgdem/osgTerrain supports moziacing of geospatial imagery and DEM's</bullet> 
     150         <bullet>VirtualPlanetBuilder supports moziacing of geospatial imagery and DEM's</bullet> 
    170151         <bullet>osg::CoordinateSystemNode and osg::EllipsoidModel provide support for whole earth coordinate system</bullet> 
    171152         <bullet>Scales to multi-gigabyte databases</bullet> 
     
    177158 
    178159    <slide> 
    179       <background>Images/chameleondots-blue.jpg</background> 
    180       <title>Database generation using osgdem/osgTerrain</title> 
    181       <layer> 
    182          <newline></newline> 
    183          <bullet>osgTerrain</bullet> 
    184          <indent></indent> 
    185          <bullet>Utility library for creating large scale, geospatial terrain databases</bullet> 
     160      <background>Images/default_blue.jpg</background> 
     161      <title>Database generation using VirtualPlanetBuilder</title> 
     162      <layer> 
     163         <newline></newline> 
     164         <indent></indent> 
     165         <bullet>Collection of open source tools for creating large scale, geospatial terrain databases</bullet> 
    186166         <bullet>Uses GDAL to read wide range of Industry stadard Geospatial Imagery and DEM's.</bullet> 
    187167         <bullet>Creates standard scene graph components, no need to link to osgTerrain for runtime.</bullet> 
    188168         <bullet>Supports compressed textures and mipmap generation</bullet> 
    189          <bullet>Euqalizes tile boundary pixels, heights and normals.</bullet> 
     169         <bullet>Equalizes tile boundary pixels, heights and normals.</bullet> 
    190170      </layer> 
    191171      <layer> 
     
    212192 
    213193    <slide> 
    214       <background>Images/chameleondots-blue.jpg</background> 
     194      <background>Images/default_blue.jpg</background> 
    215195      <title>Future of osgdem/osgTerrain</title> 
    216196      <layer> 
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/PortingToOpenSceneGraph/PerformerToOSG.p3d

    r8203 r8231  
    1111<name>Siggraph Menu</name> 
    1212<textcolor>YELLOW</textcolor> 
     13<title-settings character_size="0.05"></title-settings> 
     14<text-settings character_size="0.03.5"></text-settings> 
    1315 
    1416<path>/home/robert/Presentations/Siggraph</path> 
    1517 
    1618<template_slide name="front"> 
    17   <background>Images/chameleondots-blue.jpg</background> 
     19  <background>Images/default_blue.jpg</background> 
    1820  <title></title> 
    1921  <base> 
     
    2628 
    2729<template_slide name="middle"> 
    28   <background>Images/chameleondots-blue.jpg</background> 
     30  <background>Images/default_blue.jpg</background> 
    2931  <title></title> 
    3032  <base> 
     
    3941 
    4042<template_slide name="end"> 
    41   <background>Images/chameleondots-blue.jpg</background> 
     43  <background>Images/default_blue.jpg</background> 
    4244  <title></title> 
    4345  <base> 
     
    5153 
    5254<slide inherit="front"> 
    53 <background>Images/chameleondots-blue.jpg</background> 
     55<background>Images/default_blue.jpg</background> 
    5456<title> </title> 
    5557<layer> 
     
    6163</slide> 
    6264 
    63 <page inherit="middle" title="Simulatities"> 
     65<page inherit="middle" title="Similarities"> 
    6466 
    6567Scene Graph paradigm 
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/Viewers/osgViewer.p3d

    r8171 r8231  
    1111<name>Siggraph Menu</name> 
    1212<textcolor>YELLOW</textcolor> 
     13<title-settings character_size="0.05"></title-settings> 
     14<text-settings character_size="0.03.5"></text-settings> 
    1315 
    1416<path>/home/robert/Presentations/Siggraph</path> 
    1517 
    1618<template_slide name="front"> 
    17   <background>Images/chameleondots-blue.jpg</background> 
     19  <background>Images/default_blue.jpg</background> 
    1820  <title></title> 
    1921  <base> 
     
    2628 
    2729<template_slide name="middle"> 
    28   <background>Images/chameleondots-blue.jpg</background> 
     30  <background>Images/default_blue.jpg</background> 
    2931  <title></title> 
    3032  <base> 
     
    3941 
    4042<template_slide name="end"> 
    41   <background>Images/chameleondots-blue.jpg</background> 
     43  <background>Images/default_blue.jpg</background> 
    4244  <title></title> 
    4345  <base> 
     
    5052 
    5153<slide inherit="front"> 
    52 <background>Images/chameleondots-blue.jpg</background> 
     54<background>Images/default_blue.jpg</background> 
    5355<title> </title> 
    5456<layer> 
     
    210212osgViewer::Scene 
    211213 
    212 osgViewer::SimpleViewer 
    213  
    214214osgViewer::Viewer 
    215215 
     
    225225"has a" a DatabasePager 
    226226 
    227 Used internally by osgViewer::View, SimpleViewer 
     227Used internally by osgViewer::View 
    228228 
    229229Not something end users need to explicitly manage 
     
    267267osgViewer::setSceneData(osg::Node*) - sets the scene graph  
    268268 
    269 </page> 
    270  
    271 <page inherit="middle" title="SimpleViewer"> 
    272 Replacement for SceneView 
    273  
    274 SimpleViewer::setCamera(osg::Camera*) 
    275  
    276 High level osgViewer::SimpleViewer::frame() method that calls.. 
    277  
    278 advance() - increment frame count and simulation + reference time 
    279  
    280 eventTraversal() - get events, dispatch them to camera manipulators, 
    281 event handlers and scene graph event traversal 
    282  
    283 updateTraversal() - scene graph update traversal 
    284  
    285 renderingTraversal() - dispatch all cull + draw traversals (NO threads!) 
    286269</page> 
    287270 
     
    342325</page> 
    343326 
    344 <page inherit="end" title="Left to do"> 
    345 Configurtion file support 
    346  
    347 GraphicsWindow adpation reusing orignal window handles 
    348  
    349 GraphicsWindowQt, FLTK, Fox, WxWindows, etc.. 
    350  
    351 Trackball stereo scaling 
    352  
    353 Tracking of CoordinateSystemNode for camera manipulators 
    354  
    355 But all the core functionality is there, and ready to use! 
    356 </page> 
    357  
    358327<page inherit="end" title="Conclusions"> 
    359328Delivers on goal of unification of concepts and classes 
  • OpenSceneGraph-TrainingMaterials/trunk/Presentations/VolumeRendering/volumes.p3d

    r8203 r8231  
    1818 
    1919   <holding_slide> 
    20       <background>Images/chameleondots-blue.jpg</background> 
     20      <background>Images/default_blue.jpg</background> 
    2121      <layer> 
    2222         <paragraph position="0.5 0.5 0" alignment="CENTER_CENTER" character_size="0.07">Volume Rendering</paragraph> 
     
    2727    
    2828   <slide> 
    29       <background>Images/chameleondots-blue.jpg</background> 
     29      <background>Images/default_blue.jpg</background> 
    3030      <layer> 
    3131         <duration>5</duration>