Graph meshes optimised.

This commit is contained in:
James Alliban 2014-01-17 01:11:16 +00:00
parent 6c6cc02dea
commit 447dc2b19c
60 changed files with 9178 additions and 121 deletions

View File

@ -0,0 +1,105 @@
<Widget>
<Kind>2</Kind>
<Name>Toggle Video Visibility</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>Toggle Image Visibility</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Video/Image Width Percent</Name>
<Value>0.875000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Video/Image Height Percent</Name>
<Value>1.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Brightness</Name>
<Value>0.921052635</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Contrast</Name>
<Value>0.986842096</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Saturation</Name>
<Value>0.967105269</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Red</Name>
<Value>0.684210539</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Green</Name>
<Value>0.947368443</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Blue</Name>
<Value>0.644736826</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Alpha</Name>
<Value>1.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Red .</Name>
<Value>20.970394135</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Green .</Name>
<Value>21.809211731</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Blue .</Name>
<Value>22.648025513</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Alpha .</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Hole Width Percent</Name>
<Value>0.875000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Hole Height Percent</Name>
<Value>1.019736886</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Circle Point Size</Name>
<Value>52.302627563</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Line Width</Name>
<Value>1.710526347</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Alpha ..</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Circle Size</Name>
<Value>15.460527420</Value>
</Widget>

View File

@ -0,0 +1,60 @@
<Widget>
<Kind>4</Kind>
<Name>Graph Item X Gap</Name>
<Value>11.809210777</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>BarWidth</Name>
<Value>15.894737244</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph Height Max</Name>
<Value>0.569078922</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data send speed (seconds)</Name>
<Value>4.944078445</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 red</Name>
<Value>196.282897949</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 green</Name>
<Value>21.809211731</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 blue</Name>
<Value>67.944076538</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 alpha</Name>
<Value>158.536193848</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 red</Name>
<Value>208.026306152</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 green</Name>
<Value>196.282897949</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 blue</Name>
<Value>18.453947067</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 alpha</Name>
<Value>209.703948975</Value>
</Widget>

View File

@ -0,0 +1,70 @@
<Widget>
<Kind>2</Kind>
<Name>Toggle Draw Body</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>Toggle Draw Lines</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph Item X Gap</Name>
<Value>6.332236767</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Line width</Name>
<Value>6.157894611</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph Height Max</Name>
<Value>0.417763144</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data send speed (seconds)</Name>
<Value>4.027631760</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 red</Name>
<Value>89.753288269</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 green</Name>
<Value>208.865127563</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 blue</Name>
<Value>84.720397949</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 alpha</Name>
<Value>186.217102051</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 red</Name>
<Value>167.763153076</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 green</Name>
<Value>83.042762756</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 blue</Name>
<Value>208.865127563</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 alpha</Name>
<Value>184.539474487</Value>
</Widget>

View File

@ -0,0 +1,100 @@
<Widget>
<Kind>2</Kind>
<Name>Rotation</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>Auto Camera Swap</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam0 Distance</Name>
<Value>98.125000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam0 Y</Name>
<Value>56.384868622</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam0 Direction Point Y</Name>
<Value>0.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam0 Rotation Speed</Name>
<Value>-0.092105269</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam0 Swap Probablity (per frame)</Name>
<Value>0.008815790</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam0 Min Seconds Before Swapping</Name>
<Value>2.812500000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam1 Distance</Name>
<Value>70.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam1 Y</Name>
<Value>31.878290176</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam1 Direction Point Y</Name>
<Value>0.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam1 Rotation Speed</Name>
<Value>-0.250000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam1 Swap Probablity (per frame)</Name>
<Value>0.019236842</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam1 Min Seconds Before Swapping</Name>
<Value>1.500000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam2 Distance</Name>
<Value>48.125000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam2 Y</Name>
<Value>58.835529327</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam2 Direction Point Y</Name>
<Value>0.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam2 Rotation Speed</Name>
<Value>-0.342105269</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam2 Swap Probablity (per frame)</Name>
<Value>0.037799340</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Cam2 Min Seconds Before Swapping</Name>
<Value>1.125000000</Value>
</Widget>

View File

@ -0,0 +1,80 @@
<Widget>
<Kind>2</Kind>
<Name>Toggle Draw Body</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>Toggle Draw Lines</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>Toggle Clamp Y Values</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph Item X Gap</Name>
<Value>0.981249988</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph z Range</Name>
<Value>50.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph Width max</Name>
<Value>101.322372437</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph Height Max</Name>
<Value>19.078947067</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph bottom end (percent)</Name>
<Value>0.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data send speed (seconds)</Name>
<Value>0.361842096</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Line Thickness</Name>
<Value>1.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Scale</Name>
<Value>50.095394135</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Ticks</Name>
<Value>15.023026466</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Grid Red</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Grid Green</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Grid Blue</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Grid Alpha</Name>
<Value>79.687500000</Value>
</Widget>

View File

@ -0,0 +1,15 @@
<Widget>
<Kind>2</Kind>
<Name>Bar graph</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>Solid Body graph</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>Line fade graph</Name>
<Value>0</Value>
</Widget>

View File

@ -0,0 +1,45 @@
<Widget>
<Kind>4</Kind>
<Name>Line Width</Name>
<Value>39.473686218</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Line Spacing</Name>
<Value>20.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Text Size</Name>
<Value>34.276317596</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Text Fbo Width</Name>
<Value>45.822368622</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Text Fbo Height</Name>
<Value>30.953947067</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Text Draw Y</Name>
<Value>26.973686218</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Text X</Name>
<Value>-59.210525513</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Text Y</Name>
<Value>0.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Text z Offset</Name>
<Value>1.973682404</Value>
</Widget>

View File

@ -0,0 +1,70 @@
<Widget>
<Kind>4</Kind>
<Name>X Margin</Name>
<Value>64.144737244</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Y Margin</Name>
<Value>80.592102051</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Y Margin Bottom Offset</Name>
<Value>54.276313782</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Line Length</Name>
<Value>360.855255127</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Line Spacing</Name>
<Value>0.986842155</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Text Size</Name>
<Value>21.842105865</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Value average amount</Name>
<Value>20.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Red</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Green</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Blue</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Alpha</Name>
<Value>255.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Top Colour Box Y Offset</Name>
<Value>-33.552642822</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Bottom Colour Box Y Offset</Name>
<Value>73.026336670</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Colour Box Thickness</Name>
<Value>6.319078922</Value>
</Widget>

View File

@ -0,0 +1,150 @@
<Widget>
<Kind>2</Kind>
<Name>CI0-DATA - Light Level</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI0-BATT - Battery Level of node 0</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-DATA - Air Quality</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-BATT - Battery Level of node 1</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI2-DATA - Humidity</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-BATT - Battery Level of node 2</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 1</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 2</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 3</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 4</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 5</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 6</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 7</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 8</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 9</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 10</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 11</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 12</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 13</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 14</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 15</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 16</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 17</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 18</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 19</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 20</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 21</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 22</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 23</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 24</Name>
<Value>0</Value>
</Widget>

View File

@ -0,0 +1,150 @@
<Widget>
<Kind>2</Kind>
<Name>CI0-DATA - Light Level</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI0-BATT - Battery Level of node 0</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-DATA - Air Quality</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-BATT - Battery Level of node 1</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI2-DATA - Humidity</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-BATT - Battery Level of node 2</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 1</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 2</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 3</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 4</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 5</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 6</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 7</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 8</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 9</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 10</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 11</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 12</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 13</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 14</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 15</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 16</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 17</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 18</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 19</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 20</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 21</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 22</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 23</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 24</Name>
<Value>0</Value>
</Widget>

View File

@ -0,0 +1,150 @@
<Widget>
<Kind>2</Kind>
<Name>CI0-DATA - Light Level</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI0-BATT - Battery Level of node 0</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-DATA - Air Quality</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-BATT - Battery Level of node 1</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI2-DATA - Humidity</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>CI1-BATT - Battery Level of node 2</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 1</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 2</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 3</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 4</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 5</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 6</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 7</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 8</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 9</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 10</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 11</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 12</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 13</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 14</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 15</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 16</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 17</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 18</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 19</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 20</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 21</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 22</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 23</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>2</Kind>
<Name>temp 24</Name>
<Value>0</Value>
</Widget>

View File

@ -0,0 +1,70 @@
<Widget>
<Kind>2</Kind>
<Name>Toggle Draw Lines</Name>
<Value>1</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph Item X Gap</Name>
<Value>6.480263233</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Line width</Name>
<Value>5.190789700</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph Height Max</Name>
<Value>0.470394731</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Graph bottom end (percent)</Name>
<Value>0.769736826</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data send speed (seconds)</Name>
<Value>3.045723677</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 red</Name>
<Value>0.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 green</Name>
<Value>72.138153076</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 blue</Name>
<Value>164.407897949</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data0 alpha</Name>
<Value>179.506576538</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 red</Name>
<Value>187.894729614</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 green</Name>
<Value>46.134868622</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 blue</Name>
<Value>32.713817596</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Data1 alpha</Name>
<Value>187.894729614</Value>
</Widget>

View File

@ -0,0 +1,20 @@
<Widget>
<Kind>2</Kind>
<Name>Toggle Data Simulation</Name>
<Value>0</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Speed (data per frame)</Name>
<Value>1.000000000</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Perlin X Scale (data size)</Name>
<Value>0.163503304</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Perlin Y Scale (time f)</Name>
<Value>0.217671067</Value>
</Widget>

View File

@ -0,0 +1,25 @@
<Widget>
<Kind>4</Kind>
<Name>Size</Name>
<Value>20.361843109</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Spacing</Name>
<Value>0.888157845</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Line Length</Name>
<Value>851.710510254</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>X</Name>
<Value>11.513157845</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>Y</Name>
<Value>16.447368622</Value>
</Widget>

View File

@ -0,0 +1,20 @@
<Widget>
<Kind>4</Kind>
<Name>RED</Name>
<Value>19.292762756</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>GREEN</Name>
<Value>21.809211731</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>BLUE</Name>
<Value>21.809211731</Value>
</Widget>
<Widget>
<Kind>4</Kind>
<Name>ALPHA</Name>
<Value>255.000000000</Value>
</Widget>

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 MiB

View File

@ -0,0 +1,57 @@
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect baseMap;
uniform float brightness;
uniform float contrast;
uniform float saturation;
uniform float alpha;
uniform float red;
uniform float green;
uniform float blue;
uniform float shadowIntensity;
void main(void)
{
// Extract colors from baseMap
vec4 baseColor = texture2DRect( baseMap, gl_TexCoord[0].st );
vec3 baseColor3 = baseColor.rgb;
// Brightness, contrast and saturation
const float AvgLumR = 0.5;
const float AvgLumG = 0.5;
const float AvgLumB = 0.5;
const vec3 LumCoeff = vec3(0.2125, 0.7154, 0.0721);
vec3 AvgLumin = vec3(AvgLumR, AvgLumG, AvgLumB);
vec3 brtColor = baseColor3 * brightness;
vec3 intensity = vec3(dot(brtColor, LumCoeff));
vec3 satColor = mix(intensity, brtColor, saturation);
vec3 conColor = mix(AvgLumin, satColor, contrast);
baseColor.rgb = conColor;
// colour, alpha, lighting
//vec3 normal = normalize( v_normal );
vec3 colourVec = vec3(red, green, blue);
baseColor.rgb *= colourVec;
//float ndotl = max(dot(normal, v_light_dir), shadowIntensity);
//baseColor.rgb *= ndotl;
//baseColor.a = alpha;
vec4 result = clamp(baseColor, 0.0, 1.0);
//result.r += v_colour.r;
//result.g = 1.0;
//result += v_colour;
//result.a = v_colour.a;
gl_FragColor = result;
}

View File

@ -0,0 +1,8 @@
void main(void)
{
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = ftransform();
}

View File

@ -0,0 +1,45 @@
00 =
1 = Gangnamstyle YouTube Video
(The Most Popular Video On YouTube)
2 =
3 = Bitcoin EUR Price
Cryptocurrency exchange rate on mtgox.com
4 =
5 = Number of times transmediale.de has been shared on Facebook
6 =
7 = Number of likes of the transmediale fan page on Facebook
8 =
9 = Total twitter updates
10 =
11 = HUAWEI Guangdong Stock Price on the Shenzen Exchange
12 =
13 = Google Inc. Stock Price on the NASDAQ Exchange
14 =
15 =
16 =
17 =
18 =
19 = Percentage of books about media art out of all books on sale on ebay
20 =
21 = Number of photos tagged with berlin on Flickr
22 =
23 = Number of photos tagged with berlin on Instagram
24 =
25 = Number of photos tagged with transmediale on Instagram
26 =
27 = Number of downvotes on reddit.com/r/funny
28 =
29 =

Binary file not shown.

View File

@ -26,7 +26,7 @@
<Widget>
<Kind>4</Kind>
<Name>Cam0 Rotation Speed</Name>
<Value>-0.092105269</Value>
<Value>-0.157894731</Value>
</Widget>
<Widget>
<Kind>4</Kind>

View File

@ -16,7 +16,7 @@
<Widget>
<Kind>4</Kind>
<Name>Graph Item X Gap</Name>
<Value>0.981249988</Value>
<Value>0.162499994</Value>
</Widget>
<Widget>
<Kind>4</Kind>
@ -31,7 +31,7 @@
<Widget>
<Kind>4</Kind>
<Name>Graph Height Max</Name>
<Value>19.078947067</Value>
<Value>20.723684311</Value>
</Widget>
<Widget>
<Kind>4</Kind>
@ -41,7 +41,7 @@
<Widget>
<Kind>4</Kind>
<Name>Data send speed (seconds)</Name>
<Value>0.361842096</Value>
<Value>0.732960522</Value>
</Widget>
<Widget>
<Kind>4</Kind>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,8 +1,8 @@
Build started 16/1/2014 8:59:58 PM.
Build started 17/1/2014 1:05:33 AM.
1>Project "C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj" on node 2 (Build target(s)).
1>ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /I..\..\..\libs\openFrameworks /I..\..\..\libs\openFrameworks\graphics /I..\..\..\libs\openFrameworks\app /I..\..\..\libs\openFrameworks\sound /I..\..\..\libs\openFrameworks\utils /I..\..\..\libs\openFrameworks\communication /I..\..\..\libs\openFrameworks\video /I..\..\..\libs\openFrameworks\types /I..\..\..\libs\openFrameworks\math /I..\..\..\libs\openFrameworks\3d /I..\..\..\libs\openFrameworks\gl /I..\..\..\libs\openFrameworks\events /I..\..\..\libs\glut\include /I..\..\..\libs\rtAudio\include /I..\..\..\libs\quicktime\include /I..\..\..\libs\freetype\include /I..\..\..\libs\freetype\include\freetype2 /I..\..\..\libs\freeImage\include /I..\..\..\libs\fmodex\include /I..\..\..\libs\videoInput\include /I..\..\..\libs\glew\include\ /I..\..\..\libs\glu\include /I..\..\..\libs\tess2\include /I..\..\..\libs\cairo\include\cairo /I..\..\..\libs\poco\include /I..\..\..\libs\glfw\include /I..\..\..\..\libs\openssl\include /I..\..\..\addons /Isrc /Isrc\data /Isrc\gui /Isrc\visual /Isrc\visual\graph /I..\..\..\addons\ofxLibwebsockets\libs\jsoncpp /I..\..\..\addons\ofxLibwebsockets\libs\jsoncpp\json /I..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\include\ /I..\..\..\addons\ofxLibwebsockets\libs\openssl\openssl /I..\..\..\addons\ofxLibwebsockets\libs\ofxLibwebsockets\include /I..\..\..\addons\ofxLibwebsockets\libs\ofxLibwebsockets\include\ofxLibwebsockets /I..\..\..\addons\ofxLibwebsockets\libs\ofxLibwebsockets\src /I..\..\..\addons\ofxLibwebsockets\src /I..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\include\win32port /I..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\include\win32port\win32helpers /I..\..\..\addons\ofxSpacebrew\src /I..\..\..\addons\ofxUI\src /I..\..\..\addons\ofxXmlSettings\libs /I..\..\..\addons\ofxXmlSettings\src /I..\..\..\addons\ofxFTGL\src /I..\..\..\addons\ofxFTGL\libs\FTGL\include\FTGL /I..\..\..\addons\ofxFTGL\libs\FTGL\include /I..\..\..\addons\ofxFTGL\libs\FTGL /Zi /nologo /W3 /WX- /O2 /Oy- /D WIN32 /D NDEBUG /D _CONSOLE /D POCO_STATIC /D CAIRO_WIN32_STATIC_BUILD /D DISABLE_SOME_FLOATING_POINT /D _UNICODE /D UNICODE /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"obj\Release\\" /Fd"obj\Release\vc110.pdb" /Gd /TP /analyze- /errorReport:prompt src\data\DataManager.cpp src\visual\Scene.cpp
DataManager.cpp
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /I..\..\..\libs\openFrameworks /I..\..\..\libs\openFrameworks\graphics /I..\..\..\libs\openFrameworks\app /I..\..\..\libs\openFrameworks\sound /I..\..\..\libs\openFrameworks\utils /I..\..\..\libs\openFrameworks\communication /I..\..\..\libs\openFrameworks\video /I..\..\..\libs\openFrameworks\types /I..\..\..\libs\openFrameworks\math /I..\..\..\libs\openFrameworks\3d /I..\..\..\libs\openFrameworks\gl /I..\..\..\libs\openFrameworks\events /I..\..\..\libs\glut\include /I..\..\..\libs\rtAudio\include /I..\..\..\libs\quicktime\include /I..\..\..\libs\freetype\include /I..\..\..\libs\freetype\include\freetype2 /I..\..\..\libs\freeImage\include /I..\..\..\libs\fmodex\include /I..\..\..\libs\videoInput\include /I..\..\..\libs\glew\include\ /I..\..\..\libs\glu\include /I..\..\..\libs\tess2\include /I..\..\..\libs\cairo\include\cairo /I..\..\..\libs\poco\include /I..\..\..\libs\glfw\include /I..\..\..\..\libs\openssl\include /I..\..\..\addons /Isrc /Isrc\data /Isrc\gui /Isrc\visual /Isrc\visual\graph /I..\..\..\addons\ofxLibwebsockets\libs\jsoncpp /I..\..\..\addons\ofxLibwebsockets\libs\jsoncpp\json /I..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\include\ /I..\..\..\addons\ofxLibwebsockets\libs\openssl\openssl /I..\..\..\addons\ofxLibwebsockets\libs\ofxLibwebsockets\include /I..\..\..\addons\ofxLibwebsockets\libs\ofxLibwebsockets\include\ofxLibwebsockets /I..\..\..\addons\ofxLibwebsockets\libs\ofxLibwebsockets\src /I..\..\..\addons\ofxLibwebsockets\src /I..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\include\win32port /I..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\include\win32port\win32helpers /I..\..\..\addons\ofxSpacebrew\src /I..\..\..\addons\ofxUI\src /I..\..\..\addons\ofxXmlSettings\libs /I..\..\..\addons\ofxXmlSettings\src /I..\..\..\addons\ofxFTGL\src /I..\..\..\addons\ofxFTGL\libs\FTGL\include\FTGL /I..\..\..\addons\ofxFTGL\libs\FTGL\include /I..\..\..\addons\ofxFTGL\libs\FTGL /Zi /nologo /W3 /WX- /O2 /Oy- /D WIN32 /D NDEBUG /D _CONSOLE /D POCO_STATIC /D CAIRO_WIN32_STATIC_BUILD /D DISABLE_SOME_FLOATING_POINT /D _UNICODE /D UNICODE /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"obj\Release\\" /Fd"obj\Release\vc110.pdb" /Gd /TP /analyze- /errorReport:prompt src\gui\GUI.cpp
GUI.cpp
1>C:\Users\James Alliban\Work\of_v0.8.0_vs_release\libs\poco\include\Poco/StreamConverter.h(126): warning C4250: 'Poco::InputStreamConverter' : inherits 'std::basic_istream<_Elem,_Traits>::std::basic_istream<_Elem,_Traits>::_Add_vtordisp1' via dominance
with
[
@ -27,32 +27,6 @@
_Elem=char,
_Traits=std::char_traits<char>
]
Scene.cpp
1>C:\Users\James Alliban\Work\of_v0.8.0_vs_release\libs\poco\include\Poco/StreamConverter.h(126): warning C4250: 'Poco::InputStreamConverter' : inherits 'std::basic_istream<_Elem,_Traits>::std::basic_istream<_Elem,_Traits>::_Add_vtordisp1' via dominance
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\istream(74) : see declaration of 'std::basic_istream<_Elem,_Traits>::_Add_vtordisp1'
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
1>C:\Users\James Alliban\Work\of_v0.8.0_vs_release\libs\poco\include\Poco/StreamConverter.h(144): warning C4250: 'Poco::OutputStreamConverter' : inherits 'std::basic_ostream<_Elem,_Traits>::std::basic_ostream<_Elem,_Traits>::_Add_vtordisp2' via dominance
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\ostream(90) : see declaration of 'std::basic_ostream<_Elem,_Traits>::_Add_vtordisp2'
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
Generating Code...
Link:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"bin\Utility_Box.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:..\..\..\libs\glut\lib\vs /LIBPATH:..\..\..\libs\glfw\lib\vs /LIBPATH:..\..\..\libs\rtAudio\lib\vs /LIBPATH:..\..\..\libs\FreeImage\lib\vs /LIBPATH:..\..\..\libs\freetype\lib\vs /LIBPATH:..\..\..\libs\quicktime\lib\vs /LIBPATH:..\..\..\libs\fmodex\lib\vs /LIBPATH:..\..\..\libs\videoInput\lib\vs /LIBPATH:..\..\..\libs\cairo\lib\vs /LIBPATH:..\..\..\libs\glew\lib\vs /LIBPATH:..\..\..\libs\glu\lib\vs /LIBPATH:..\..\..\libs\openssl\lib\vs /LIBPATH:..\..\..\libs\Poco\lib\vs /LIBPATH:..\..\..\libs\tess2\lib\vs /LIBPATH:..\..\..\addons\ofxFTGL\libs\FTGL\lib\vs2012 /LIBPATH:..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\lib\win32\Release "cairo-static.lib" "pixman-1.lib" msimg32.lib OpenGL32.lib GLu32.lib kernel32.lib setupapi.lib Vfw32.lib comctl32.lib glut32.lib rtAudio.lib videoInput.lib libfreetype.lib FreeImage.lib qtmlClient.lib dsound.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib glew32s.lib fmodex_vc.lib glu32.lib crypt32.lib libeay32MD.lib ssleay32MD.lib PocoFoundationmd.lib PocoNetmd.lib PocoUtilmd.lib PocoXMLmd.lib Ws2_32.lib tess2.lib glfw3.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib websockets_static.lib ZLIB.lib ftgl_static.lib /NODEFAULTLIB:PocoFoundationd.lib /NODEFAULTLIB:atlthunk.lib /NODEFAULTLIB:LIBC.lib /NODEFAULTLIB:LIBCMT /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"bin\Utility_Box.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE:NO /NXCOMPAT /IMPLIB:"bin\Utility_Box.lib" /MACHINE:X86 /SAFESEH obj\Release\icon.res
obj\Release\ofxFTGLFont.obj
@ -118,4 +92,4 @@
Build succeeded.
Time Elapsed 00:00:11.71
Time Elapsed 00:00:08.59

View File

@ -1248,3 +1248,128 @@ C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Util
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
^C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\Utility_Box.vcxproj
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.lib
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp
C:\Users\James Alliban\Work\of_v0.8.0_vs_release\CRITICAL-INFRASTRUCTURE\of\Utility_Box\bin\Utility_Box.exp

Binary file not shown.

Binary file not shown.

View File

@ -86,7 +86,7 @@ void GUI::addGraphDesignGUI()
gui->addSlider("Graph Width max", 1, 300, &Graph::maxGraphWidth, length, dim);
gui->addSlider("Graph Height Max", 0, 100, &Graph::graphHeightMax, length, dim);
gui->addSlider("Graph bottom end (percent)", 0, 20, &Graph::graphEndPercent, length, dim);
gui->addSlider("Data send speed (seconds)", 0.1, 20, &app->dataManager.sendDataSpeed, length, dim);
gui->addSlider("Data send speed (seconds)", 0.01, 10, &app->dataManager.sendDataSpeed, length, dim);
gui->addSlider("Line Thickness", 1, 20, &Graph::lineThickness, length, dim);
gui->addLabel("GRID");

View File

@ -2,9 +2,9 @@
// TODO
// ====
// - Add a minimum time for each angle to avoif unslightly quick switching
// - optimise - don't calculate graph point values evey frame
// - investigate backward graph animation (use alternating colours)
// - OSC - send values each frame
// - Colour range - tween between 2-3 points
//
//--------------------------------------------------------------

View File

@ -1,7 +1,6 @@
//
// Created by James Alliban on 11/01/2014.
//
//
#include "Graph.h"
#include "testApp.h"
@ -31,6 +30,7 @@ Graph::Graph(int _graphID)
graphID = _graphID;
isInfoTextSet = false;
graphMesh.setMode(OF_PRIMITIVE_TRIANGLE_STRIP);
}
@ -44,7 +44,6 @@ void Graph::update(ofVec3f activeCamPos)
drawInfoToFbo();
}
ofVec3f camPos = activeCamPos;
centre = ofVec3f(0.1, 0.1, ofMap(graphID, 0, 29, -zRange, zRange));
distToCam = sqrt(double(ABS(camPos.x - centre.x) * ABS(camPos.x - centre.x) * ABS(camPos.x - centre.x) +
@ -71,56 +70,46 @@ void Graph::drawGraphBody()
{
if (!isDrawBody) return;
if (publisher0Data.size() > 1)
{
ofMesh body0 = getMesh(publisher0Data, col0);
//if (publisher0Data.size() > 1)
//{
//ofMesh body0 = getMesh(publisher0Data, col0);
if (body0.getVertices().size() > 2)
{
currentPub0Point = ofPoint(body0.getVertex(body0.getVertices().size() - 2).x, body0.getVertex(body0.getVertices().size() - 2).y);
}
//float xOffset = 0;
//float outputMin = 0;
//float outputMax = graphHeightMax;
float xOffset = 0;
float outputMin = 0;
float outputMax = graphHeightMax;
//// draw lines
//ofPushStyle();
//ofPolyline poly0;
//for (int i = 0; i < publisher0Data.size() - 1; i++)
//{
// if (i < publisher0Data.size() - 1)
// {
// ofSetLineWidth(lineThickness);
// ofVec3f vec = ofVec3f(i * graphItemXGap - (maxGraphWidth * 0.5),
// ofMap(publisher0Data[i].value, publisher0Data[i].min, publisher0Data[i].max, outputMin, outputMax),
// centre.z);
// if (isClampYValues) vec.y = ofClamp(vec.y, outputMin, outputMax);
//
// poly0.addVertex(vec);
// }
//}
//
//int lineAlpha = 255;
//if (!isDrawLines) lineAlpha = 0;
// draw lines
ofPushStyle();
ofPolyline poly0;
for (int i = 0; i < publisher0Data.size() - 1; i++)
{
if (i < publisher0Data.size() - 1)
{
ofSetLineWidth(lineThickness);
ofVec3f vec = ofVec3f(i * graphItemXGap - (maxGraphWidth * 0.5),
ofMap(publisher0Data[i].value, publisher0Data[i].min, publisher0Data[i].max, outputMin, outputMax),
centre.z);
if (isClampYValues) vec.y = ofClamp(vec.y, outputMin, outputMax);
ofSetColor(255);
ofSetLineWidth(2);
poly0.addVertex(vec);
}
}
ofVec2f centroid0 = poly0.getCentroid2D();
float av0;
for (int i = 0; i < poly0.size(); i++)
av0 += poly0[i].y;
av0 /= poly0.size();
int lineAlpha = 255;
if (!isDrawLines) lineAlpha = 0;
body0.drawFaces();
//body0.drawWireframe();
//ofSetColor(col0[0],col0[1],col0[2], lineAlpha);
graphMesh.drawFaces();
//graphMesh.drawWireframe();
//poly0.draw();
ofPopStyle();
}
}
@ -138,41 +127,6 @@ void Graph::drawGraphText()
}
ofMesh Graph::getMesh(vector<DataObject> publisherData, float* col)
{
ofMesh bodyMesh;
float xOffset = 0;
float outputMin = 0;
float outputMax = graphHeightMax;
// draw main part of graph (xOffset)
bodyMesh.setMode(OF_PRIMITIVE_TRIANGLE_STRIP);
for (int i = 0; i < publisherData.size() - 1; i++)
{
ofVec3f vecH = ofVec3f(
i * graphItemXGap - (maxGraphWidth * 0.5),
ofMap(publisherData[i].value, publisherData[i].min, publisherData[i].max, outputMin, outputMax),
centre.z);
if (isClampYValues) vecH.y = ofClamp(vecH.y, outputMin, outputMax);
bodyMesh.addVertex(vecH);
bodyMesh.addVertex(ofVec3f(
i * graphItemXGap - (maxGraphWidth * 0.5),
0,
centre.z));
ofColor tempCol = ofColor(ofMap(graphID, 0, 29, 0, 255), ofMap(graphID, 0, 29, 255, 0), ofMap(graphID, 0, 29, 150, 50), 255);
bodyMesh.addColor(tempCol);
bodyMesh.addColor(ofColor(tempCol.r, tempCol.g, tempCol.b, 0));
//bodyMesh.addColor(ofColor(col[0],col[1],col[2], 255));
//bodyMesh.addColor(ofColor(col[0],col[1],col[2], 0));
}
return bodyMesh;
}
void Graph::setFboSettings()
{
@ -218,15 +172,55 @@ void Graph::drawInfoToFbo()
void Graph::addNewData(DataObject newData)
{
info = explode("\n", newData.info)[0];
publisher0Data.push_back(newData);
while (publisher0Data.size() > maxData)
publisher0Data.erase(publisher0Data.begin());
float xOffset = 0;
float outputMin = 0;
float outputMax = graphHeightMax;
int graphMeshSize = graphMesh.getVertices().size();
vector<ofVec3f> *meshVertices = &graphMesh.getVertices();
vector<ofFloatColor> *meshColours = &graphMesh.getColors();
// add new vertex and colour
float xTop = (graphMeshSize == 0) ? -(maxGraphWidth * 0.5) : (graphItemXGap * ((graphMeshSize * 0.5))) - (maxGraphWidth * 0.5);
float yTop = ofMap(newData.value, newData.min, newData.max, outputMin, outputMax);
if (isClampYValues) yTop = ofClamp(yTop, outputMin, outputMax);
ofVec3f vertexTop = ofVec3f(xTop, yTop, centre.z);
ofVec3f vertexBottom = ofVec3f(xTop, 0, centre.z);
graphMesh.addVertex(vertexTop);
graphMesh.addVertex(vertexBottom);
ofColor col = ofColor(ofMap(graphID, 0, 29, 0, 255), ofMap(graphID, 0, 29, 255, 0), ofMap(graphID, 0, 29, 150, 50), 255);
//if (ofRandomuf() < 0.1) col = ofColor(ofRandom(255), ofRandom(255), ofRandom(255), 255);
graphMesh.addColor(col);
graphMesh.addColor(ofColor(col.r, col.g, col.b, 0));
if (graphMeshSize * 0.5 >= maxData)
{
// loop through all vertices (apart from the last) and nudge them all to the left.
for (int i = 0; i < graphMeshSize; i += 2)
{
meshVertices->at(i).x -= graphItemXGap;
meshVertices->at(i + 1).x -= graphItemXGap;
}
graphMesh.removeVertex(0);
graphMesh.removeVertex(0);
graphMesh.removeColor(0);
graphMesh.removeColor(0);
}
}
void Graph::clear()
{
publisher0Data.clear();
graphMesh.clear();
setFboSettings();
drawInfoToFbo();
}

View File

@ -52,8 +52,6 @@ public:
static float textY;
static ofPoint textPnt;
ofPoint currentPub0Point;
float col0[4];
@ -62,4 +60,6 @@ public:
string info;
ofMesh graphMesh;
};