[Aug. 5th] Week 7 Report
Marriage is the most important...I'm quite nervous now...
I manage to provide a more clear demo and a quick start. Hope it may work....
Works this week:
1.Synthesis all possible arrow/line shape for dynamic edges.
Done.
Features now:
1. Press "e" or "E" to switch to EdgeCreation modes. click to add edges start from origin and ends at click point.
2. Drag to create a line with mouse move. Change the line's source/dest point along with mouse.
3.Dynamically create edges with or without arrow. Curves with anchors.
2.Work for deleting objects in buffer
Done for a simple version.
It's much like a static memory pool in C++, now we simply erase data in corresponding buffer and remove objects from draw list. Later, keep a linked list to indicate the free buffer frames.
When run out of buffer, fit data in empty buffer frame.
Features for now:
1. Press "d" or "D" to switch to a deleting mode.
2. Click nodes/ edges to delete
Next week:
1. Connection between nodes and edges. Want edges correspond to the border of nodes or anywhere inside nodes??
2.Connect viewport and Demos... does panel work well in gl ... ?
3. (on going...)Measure the performance for drawing large network