Skip to content
Snippets Groups Projects
Commit aba5bdf7 authored by Ansgar Philippsen's avatar Ansgar Philippsen
Browse files

added scene background gradient and image; exported bitmap stuff to py

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.
parent cf0620cf
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment