Transparency sorting in place

This commit is contained in:
James Alliban 2014-01-14 19:44:05 +00:00
parent 3f3094efa5
commit 92c28ae292
3 changed files with 10 additions and 5 deletions

View File

@ -2,9 +2,9 @@
// TODO
// ====
// - If min or max values change - clear graph - ask bout this
// - Create a single config file to be loaded from online location. It will contain IP address and host name
// - Create graph animation system
// - Add text planes
// - Add animated camera
// - Colour range - tweet between 3 points
//
//--------------------------------------------------------------
void testApp::setup()

View File

@ -130,6 +130,10 @@ ofMesh Graph::getMesh(vector<DataObject> publisherData, float* col)
}
void Graph::createInfoTextFbo()
{
}
void Graph::addNewData(DataObject newData)
{

View File

@ -14,6 +14,7 @@ public:
void draw();
void addNewData(DataObject newData);
ofMesh getMesh(vector<DataObject> publisherData, float* col);
void createInfoTextFbo();
void clear();
testApp *app;
@ -21,9 +22,9 @@ public:
vector<DataObject> publisher0Data;
int maxData; // calculated from graphWidth and graphItemXGap
//ofFbo
ofFbo infoTextFbo;
static float minGraphPercent;
static float maxGraphPercent;
static float maxGraphWidth;