项目作者: hyloop

项目描述 :
OpenAI gym framework for Blender Game Engine
高级语言: Python
项目地址: git://github.com/hyloop/Blend-RL.git
创建时间: 2021-02-25T05:44:25Z
项目社区:https://github.com/hyloop/Blend-RL

开源协议:GNU General Public License v3.0

下载




Blend RL


OpenAI gym framework for Blender Game Engine


Installation (Ubuntu 18.04 LTS)


Extract Blend RL to [blend_rl_folder].


Extract blender_2_79b.tar.bz2 to [blender_executable_folder].


Open a terminal, run export PATH=$PATH:[blender_executable_folder] to add blender to path temporarily. You may wish to prepend it to ~/.bashrc to add blender to path permanently.


Run chmod +x [blend_rl_folder]/install to make install executable.


Getting started (from minimal working example project)


Extract [blend_rl_folder]/minimal_working_example_project.zip to [project_folder]; any folder you have read and write access.


Run cd [project_folder] to change your current working directory to your project folder.


Run blender main.blend to open your project.


Click the “start standalone player” button.


You should see a moving cube and a static plane.


Getting started (from scratch)


Create a [project_folder].


Run cd [project_folder] to change your current working directory to your project folder.


Run [blend_rl_folder]/install to install Blend RL into your project.


Create the agent and environment objects in their respective .blend file.
Create the agent and environment scripts (for mutation) in their respective .py file.


NOTE: Make a group instance of the agent object. Move the agent object to an inactive layer.


Create your reinforcement learning algorithm in [project_folder]/main.py.


Run blender main.blend to open your project.


Click the “start standalone player” button.