Doesn't sfml use opengl?
Spine CPP Runtime for self developed renderer?
The point is not that you will use SFML or OpenGL, it is that you will see an example of how to use spine-cpp to do rendering.
Correct me if I'm wrong, spine-cpp is integrated with sdl and sfml which I know, but doesn't the spine-cpp folder that contains the unit test use opengl?
@Bobsolo1 Please see the documentation for an answer:
http://esotericsoftware.com/spine-cpp#Introduction
"spine-cpp is a generic runtime for integrating Spine animations in game engines and frameworks written in languages that can natively interface with C++."
This Introduction section contains other useful information as well.
If you want to write your own 2D renderer and want to use OpenGL as a rendering backend, you should be able to have a look at any of the existing runtimes using spine-cpp as the generic runtime, like spine-sfml, as an example on how to do what is needed to load, animate and get a mesh to display from a skeleton. If you are not familiar with how to fill and render meshes in OpenGL, you would need to learn that first.
I think I see what your saying. So the samples used in sfml or sdl, I should look into those and see how sfml and sdl use spine-cpp uses the rendering api?
Also should've asked this as well, so the renderer code shown in the documentation(https://en.esotericsoftware.com/spine-cpp) will display my spine animation?
No. As explained, spine-cpp is a generic runtime and cannot render anything. It is designed for use with something else that does the rendering (what we usually refer to as a "game toolkit").
I see. So for the game toolkit for spine-cpp, what's needed for this to work withing my renderer or engine?
I'm starting to think you are a bot. Please read our posts above. Please read our documentation:
https://esotericsoftware.com/spine-runtimes-guide
Please look at the other runtimes to see how they work:
EsotericSoftware/spine-runtimes/
If you have a specific question that can't be answered by the above, then you can start a new thread. If you do that, be sure to say what game toolkit you are using to render.
I will lock this thread now.