Skip to content
Snippets Groups Projects
  • Ansgar Philippsen's avatar
    aba5bdf7
    added scene background gradient and image; exported bitmap stuff to py · aba5bdf7
    Ansgar Philippsen authored
    The scene background can now be a gradient or a bitmap image in addition to a static color; use scene.SetBackground(gfx.Gradient) or scene.SetBackground(gfx.Bitmap) for this purpose.
    
    The gfx.Bitmap class and its import/export functions have been exported to Python.
    
    Some cleanup in the OpenGL code to (i) avoid premature rendering before full initialization and (ii) streamline error checking a bit.
    aba5bdf7
    History
    added scene background gradient and image; exported bitmap stuff to py
    Ansgar Philippsen authored
    The scene background can now be a gradient or a bitmap image in addition to a static color; use scene.SetBackground(gfx.Gradient) or scene.SetBackground(gfx.Bitmap) for this purpose.
    
    The gfx.Bitmap class and its import/export functions have been exported to Python.
    
    Some cleanup in the OpenGL code to (i) avoid premature rendering before full initialization and (ii) streamline error checking a bit.