Seb James
Seb James
If you want circles instead of spheres for your data points, you might need a new drawing primitive to do this. The existing drawing primitive are all in VisualModel, e.g....
https://github.com/sebjameswml/RetinoTectal/blob/master/sim/agent/anneal1read.cpp. This program draws 3d scatters, for reference.
It might be worth making TriaxesVisual into a class that can itself be extended to be a 3D scatter plot or a 3D stem plot or a 3D surface plot
Good idea on the screenshots.
You shouldn't need to get into ANY gl code to draw within the morphologica framework. If you want to implement a drawing primitive, your task is simply to define vertices...
That's fair enough that you find it difficult to understand and the class does need some documentation. The code inside TriaxesVisual IS quite complex because drawing all the ticks and...
By the way - you're right - computeTube etc *are* all functions in morph/VisualModel.h and they are all the "graphics primitives" - the functions that build up the VBOs with...
I'm just making a triaxesvisual example in the issue/wxWidgets_154 branch. I have noticed that some of the TriaxesVisual.h code is slightly out of date, so I'll fix that too.
Ok, see wx-triaxes.cpp I also fixed a small bug which meant that the left/right mouse button presses weren't being distinguished from each other, so you can now rotate the graphs...
I've actually solved that problem before. You can show the CoordAxes by pressing Ctrl-C. You'll see a red, green and blue axes in the bottom left with labels that always...