Buried in the normal Lazarus/FPC components is this example testopenglcontext1.lpiPutting it here because it is hard to find.It just happens to be the spinning cube demo.

Hacking this code helps to learn how to hack Ultibo OpenGLES2 spinning cube example.The GL_QUADS need to be converted to 2 x GL_TRIANGLES as OpenGLES does not do quads. Debugging OpenGLES in Ultibo is not easy, so having a Laz example helps.

I understand now why people persist with learning Blender, making 3D shapes in OpenGL/ES by hand is hard.If you have tried to learn Blender and failed try this first.https://www.bforartists.de/"Blender for Dummies" helps too