python - Render PyCairo onto PyOpenGL surface? -


I have recently started playing with pyakiro - it is easy to render on the surface of a piping (Eg a cube?) ... My OpenGell is actually non-existent, so I'm not sure that the best way to do this is to do this.

This process can work:

  1. Your drawings in Pucara Do it in normal way.
  2. Export the image to a file (or a handle to do this
  3. Load the image in the OpenLal Texture Memory.
  4. Using Texture in OpenGL Draw your cube.

Phase 1 and 2 are in Cairo, which I am not familiar with. Step 3 and 4 will be done in openness

< / Html>


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -