Seb James
Seb James
It works for the CoordArrows (a special VisualModel that is owned by the morph::Visual scene) because they are rotated with VisualModel::setViewRotation, which is a bit different to what happens with...
The OpenGL drawing code is morph::Visual (see morph/Visual.h). It operates in two 'modes'. In one, mode, which is how it was originally written, morph::Visual 'owns' a GLFW window, which provides...
"In my opinion, to draw something, I just need to prepare the VBO, VBA and the shader, and when in the OnPaint event handler, I just need to activate the...
btw, I can't help much with code writing at the moment as I'm injured and can only type one-handed.
Well done! I'll see if I can get it to build myself. It should be easy enough to make a cmake lists file so that it works build as another...
Happy New Year! I made some progress this morning towards compiling your new wx program on Ubuntu 22.04 with wxGtk. I've just got to the point where I realise I...
It compiles with cmake and wxgtk 3.2. But at runtime: 
Perhaps with wxgtk there needs to be a window show/draw command early on?
I made these changes in main-wx.cpp to make it compile on linux within the existing cmake build process ``` diff --git a/examples/wx/main-wx.cpp b/examples/wx/main-wx.cpp index 0b568e2..219ff4c 100644 --- a/examples/wx/main-wx.cpp +++ b/examples/wx/main-wx.cpp...
I took out definitions of OWNED_MODE which is defined in your wx/viswidget.h file and USE_GLEW, which should be passed to the compiler as -DUSE_GLEW if required. I added a use...