Skip to content

0.31.0

Compare
Choose a tag to compare
@DaveyBiggers DaveyBiggers released this 26 Sep 13:57
· 581 commits to master since this release

Changes:

HEADLINE CHANGE: New Video Producers!!!

  • New: 8bpp luminance producer. Why waste time sending 24bpp RGB video frames across the ether, and then waste the agent's time and effort converting them to 8bpp greyscale? Just send the greyscale image in the first place.
  • New: 32bpp depthmap producer. The old 8bpp depthmap (sent on request in the alpha channel of the standard video producer) is retained for backwards compatibility, but you can now request a more precise depthmap, which has been scaled for you to "real" values - eg each pixel represents the distance that pixel is from the agent's eyes in block units.
  • New: 24bpp "colour map" - essentially labelled data for use alongside the standard video frame. Each pixel is coloured according to the block, or entity, that produced it. At the moment there is no control over the block colours - they are chosen for you - but in a future release we will add the ability to specify this (eg all gold blocks are currently coloured RGB(232,23,70), but in the future you could request that gold blocks are (255,0,0), and all other blocks are (0,0,0), etc.) There is control over entity colour, so you could, for example, colour all "friendly" entities pink, and all hostile entities green. You can also set the sky colour.

Other changes:

  • New: ability to draw chests / other containers, and determine what should go in them.
  • New: inventory observations now include inventory of any containers under the agent's gaze.
  • New: inventory commands can now swap items between the player's and container's inventories.
  • New: ender chest contents can be specified for each agent.

Breaking changes:

Python 3 support!

All our sample/test python code has been "futurised" to work with both Python 2 and Python 3. This shouldn't be a breaking change, but there may now be an extra dependency to install - try pip install future if the samples don't seem to be working.