1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/document.css" type="text/css" /> 7 <title>Graphix Library (gfx) Sample Demos</title> 8 </head> 9 <body> 10 <h1>Graphix Library (gfx) Sample Demos</h1> 11 12 <h2>Location</h2> 13 <p> 14 <code>$Library/demos/gfx</code> 15 </p> 16 <h2>Compilation</h2> 17 <p> 18 Change directories to $Library/demos/gfx, and execute 19 <pre><CODE>% omake</CODE></pre> 20 The executable (.cci) file is generated in: 21 <pre>$Library/build/demos/g3d/(sample demo name)/bin/(platform)/(target)/</pre> 22 For example: 23 <pre>$Library/demos/gfx/SimpleDemo/images/CTR-TS.Process.MPCore.fast/Release/</pre> 24 25 </p> 26 <h2>Execution</h2> 27 <p> 28 </p> 29 <h2>Description</h2> 30 <table class="demos"> 31 <tbody> 32 <tr> 33 <th colspan="2" class="category">Graphics </th> 34 </tr> 35 <tr> 36 <th><a href="demo/SimpleDemo.html" target="_self">SimpleDemo</a></th> 37 <td>Simply displays a model.</td> 38 </tr> 39 <tr> 40 <th><a href="demo/SceneTreeDemo.html" target="_self">SceneTreeDemo</a></th> 41 <td>Propagates transforms from parent nodes to child nodes.</td> 42 </tr> 43 <tr> 44 <th><a href="demo/ResourceDemo.html" target="_self">ResourceDemo</a></th> 45 <td>Loads lookup tables and shaders from a separate file and displays them.</td> 46 </tr> 47 <tr> 48 <th><a href="demo/MultiInstanceDemo.html" target="_self">MultiInstanceDemo</a></th> 49 <td>Copies a model instance and displays it.</td> 50 </tr> 51 <tr> 52 <th colspan="2" class="category">Animation</th> 53 </tr> 54 <tr> 55 <th><a href="demo/AnimationDemo.html" target="_self">AnimationDemo</a></th> 56 <td>Demo of skeletal animation.</td> 57 </tr> 58 <tr> 59 <th><a href="demo/MultiAnimationDemo.html" target="_self">MultiAnimationDemo</a></th> 60 <td>Displays multiple animations for things like materials and cameras.</td> 61 </tr> 62 <tr> 63 <th><a href="demo/AnimationBlendDemo.html" target="_self">AnimationBlendDemo</a></th> 64 <td>Demo for blending animations.</td> 65 </tr> 66 <tr> 67 <th><a href="demo/AnimationChangeDemo.html" target="_self">AnimationChangeDemo</a></th> 68 <td>Demo for switching animations without recreating an animation evaluation class.</td> 69 </tr> 70 <tr> 71 <th><a href="demo/PartialAnimationDemo.html" target="_self">PartialAnimationDemo</a></th> 72 <td>Demo for playing partial animation when multiple animation evaluation classes are bound to a single mode.</td> 73 </tr> 74 <tr> 75 <th colspan="2" class="category">Particle</th> 76 </tr> 77 <tr> 78 <th><a href="demo/ParticleDemo.html" target="_self">ParticleDemo</a></th> 79 <td>This is an example of the easiest way to use particles.</td> 80 </tr> 81 <tr> 82 <th><a href="demo/ParticleApplicationDemo.html" target="_self">ParticleApplicationDemo</a></th> 83 <td>This demo shows a sample implementation of a particle application.</td> 84 </tr> 85 <tr> 86 <th><a href="demo/ParticleChangeVtxDemo.html" target="_self">ParticleChangeVtxDemo</a></th> 87 <td>Demo for changing particle information.</td> 88 </tr> 89 <tr> 90 <th><a href="demo/ParticleChokeDemo.html" target="_self">ParticleChokeDemo</a></th> 91 <td>This demo includes termination of particle emissions.</td> 92 </tr> 93 <tr> 94 <th><a href="demo/ParticleCtrlEmissionDemo.html" target="_self">ParticleCtrlEmissionDemo</a></th> 95 <td>This demo controls the emission volume of particles.</td> 96 </tr> 97 <tr> 98 <th><a href="demo/ParticleMultiEmitterDemo.html" target="_self">ParticleMultiEmitterDemo</a></th> 99 <td>This demo assigns more than one emitter to a single particle emitter.</td> 100 </tr> 101 <tr> 102 <th><a href="demo/ParticleMultiModelDemo.html" target="_self">ParticleMultiModelDemo</a></th> 103 <td>This demo creates more than one particle model and emitter for particles.</td> 104 </tr> 105 <tr> 106 <th><a href="demo/ParticleRecycleDemo.html" target="_self">ParticleRecycleDemo</a></th> 107 <td>This demo re-uses instances of particles.</td> 108 </tr> 109 <tr> 110 <th><a href="demo/ParticleUpdaterDemo.html" target="_self">ParticleUpdaterDemo</a></th> 111 <td>This demo uses a user-defined updater for particles.</td> 112 </tr> 113 <tr> 114 <th><a href="demo/ParticleScaleDemo.html" target="_self">ParticleScaleDemo</a></th> 115 <td>This demo can be used to check the effect of applying scaling to ParticleModel, ParticleEmitter, or Particle objects, respectively. </td> 116 </tr> 117 <tr> 118 <th colspan="2" class="category">Applications</th> 119 </tr> 120 <tr> 121 <th><a href="demo/ProjectionShadowDemo.html" target="_self">ProjectionShadowDemo</a></th> 122 <td>Demo for applying shadows by projecting rendered results as a texture from the direction of the light.</td> 123 </tr> 124 <tr> 125 <th><a href="demo/ShadowMapDemo.html" target="_self">ShadowMapDemo</a></th> 126 <td>Demo for creating a depth map that saves distances from lights and then applying shadows using this information.</td> 127 </tr> 128 <tr> 129 <th><a href="demo/ConstraintDemo.html" target="_self">ConstraintDemo</a></th> 130 <td>Demo for constraining nodes to the bones of a skeletal model.</td> 131 </tr> 132 <tr> 133 <th><a href="demo/DynamicMaterialDemo.html" target="_self">DynamicMaterialDemo</a></th> 134 <td>Demo for dynamically changing material settings.</td> 135 </tr> 136 <tr> 137 <th colspan="2" class="category">Low-Level APIs</th> 138 </tr> 139 <tr> 140 <th><a href="demo/LowLayerDemo.html" target="_self">LowLayerDemo</a></th> 141 <td>Demo for displaying a model without using a scene graph.</td> 142 </tr> 143 <tr> 144 <th><a href="demo/LowLayerAnimationDemo.html" target="_self">LowLayerAnimationDemo</a></th> 145 <td>Demo for playing an animation without using a scene graph.</td> 146 </tr> 147 <tr> 148 <th><a href="demo/ParticleLowLayerDemo.html" target="_self">ParticleLowLayerDemo</a></th> 149 <td>Demo for displaying a particle model without using a scene graph.。</td> 150 </tr> 151 </tbody> 152 </table> 153 <h2>Load Indicator</h2> 154 <p> 155 Except for some demos, the CPU and GPU load are indicated in the lower screen. 156 </p> 157 <p> 158 The CPU load indicates the time to process one frame excluding the processes listed below. 159 <ul> 160 <li> VSync wait </li> 161 <li> Command list end wait </li> 162 <li> Clearing the Buffer </li> 163 <li> Drawing the load indicator </li> 164 </ul> 165 If the CPU and GPU are operating in parallel, the CPU prosessing time grows longer due to the effect of interrupts and so on. 166 </p> 167 <p> 168 The GPU load displaying the processing time per frame required by the drawing process for a model or other drawing target. The time shown does not include the time for buffer transfer or the time to display the load indicator. 169 </p> 170 <hr><p>CONFIDENTIAL</p></body> 171</html> 172