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 // TODO
// ==== // ====
// - If min or max values change - clear graph - ask bout this // - Add text planes
// - Create a single config file to be loaded from online location. It will contain IP address and host name // - Add animated camera
// - Create graph animation system // - Colour range - tweet between 3 points
// //
//-------------------------------------------------------------- //--------------------------------------------------------------
void testApp::setup() 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) void Graph::addNewData(DataObject newData)
{ {

View File

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