Transparency sorting in place
This commit is contained in:
parent
3f3094efa5
commit
92c28ae292
@ -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()
|
||||
|
||||
@ -130,6 +130,10 @@ ofMesh Graph::getMesh(vector<DataObject> publisherData, float* col)
|
||||
}
|
||||
|
||||
|
||||
void Graph::createInfoTextFbo()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void Graph::addNewData(DataObject newData)
|
||||
{
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user