Cube map seamless
Previously the mipmapping for cube maps on cube edge was causing seam. This is a know bug due to a lack of filtering on edge for old OpenGL versions. This bug was fixed in later OpenGL version by enabling a special option.
For example with a lod bias of 7 on a cube map, previously the render was:
Now, the render is:
Python console interpreter
The user is now able to launch a python interpreter in the blender process main console to debugging the game from python. This console always exists on windows and it is pop, but is not always the case on linux. The user should just press a shortcut defined in UI in the panel:
This panel also enable or not python interpreter capability, this is to false as default. The shortcut is by default Ctrl+Shift+Alt+T
When the user press the right shortcut the game is paused and the interpreter is launch in the main console, if the main console doesn't exist the game is not paused and nothing happen.
This interpreter behave like a normal python interpreter with extra autocompletion for every python types and persistent local variables, the only predefined value is the imported
After all the works of the user on debugging. The game is continued by simply ending the interpreter, for linux Ctrl+D and for windows Ctrl+Z+Enter.
Reduce shadow update for
Recently in the Benoit Bolse's commits a shadow update was added for
refresh. The described behavior introduced safety but a non negligible performance decrease. To fix some rarely bugs but also reduce slow down in some unneeded case an option was added to allow or not a shadow update in
refresh call. This option is:
ImageRender.updateShadow = True
ImageMirror.updateShadow = True