ollydbg
ollydbg
> [snip] > > > It looks like there are a lot of 2D graphics, but there are not many 3D graphics. > > [snip] > > The first step...
I debugged a while through the code, to be honest, it is hard to debug those template related code. And I found a line here: https://github.com/ABRG-Models/morphologica/blob/9d55bdd02d0b6b5a5de1caf9282ea92594fa937e/morph/GraphVisual.h#L562 The question is: Why...
While reading the code, I see some variables named `ad` and `sd`, from the comments, I see they are "abscissa and ordinate". But Why not to use a more common...
OK, it looks like this class does not allow a z value for the point, see the function here: https://github.com/ABRG-Models/morphologica/blob/9d55bdd02d0b6b5a5de1caf9282ea92594fa937e/morph/GraphVisual.h#L370-L411 The `z` value is always set the `0`, in the...
Oh, sorry, it looks like from the comment, it said this class is for 2D ~~~~ /*! * A VisualModel for showing a 2D graph. */ template class GraphVisual :...
I just search all the opengl's glDrawXXXX related function calls in this library, and I found that it only exits in two files: `morph/VisualModel.h` and `morph/VisualTextModel.h`. The bad thing I...
Thanks for the response. I will take some time to learn the code in morph/Visual.h. In wxWidgets, there is a [wxWidgets: wxGLCanvas Class Reference](https://docs.wxwidgets.org/trunk/classwx_g_l_canvas.html#a6afbe4b62931eedfb8051cc585cd60cf) to show the 3D objects, also,...
> btw, I can't help much with code writing at the moment as I'm injured and can only type one-handed. Thanks for you help. I think it will take me...
Some good news, I can use this library under wxWidgets, and here is the screen shot:  I have add all the source files I use in my own branch,...
I have added some fixes in the `main` git branch in my fork, see here: https://github.com/asmwarrior/morphologica/tree/main