Transparency sorting in place
This commit is contained in:
parent
3f3094efa5
commit
92c28ae292
@ -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()
|
||||||
|
|||||||
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user