Skip to content

xbuf/blender_io_xbuf

Repository files navigation

A blender addon to allow an external xbuf compatible renderer (like a game engine) to be used in blender viewport. The addon provide a generic (renderer agnostic) client that connect to a running server (a game) and display server image into Blender.

License: GPL

The addon is WIP

Uses Cases

  • Preview model with game engine
  • Use Blender as level editor for a game (or for a game engine) with realtime rendering (including effects, hud, entities,... not managed by blender)

blender external renderer (a game engine)

Installation

  1. download the zip from releases section
  2. in Blender : User Preferences... > Add-ons > Install from File... (select the downloaded .zip)
  3. in Blender : User Preferences... > Add-ons > enable the addon (check box of "Render: Xbuf Render Engine")

Usage

  1. start your xbuf render engine (eg: jme3_ext's ModelViewer)
  2. in Blender : Select "Xbuf Render" in the render list
  3. in Blender : Check properties of Render > Xbuf Render Config
  • the connection parameters : host + port
  • the auto redraw : usefull to see animation in viewport, else disable it (note that some other addon like screenshot_key_view have same effects)
  • the path where to store textures and third party files
  1. in Blender : Select "Rendered" in the viewport shading button of 3D View
  2. in your xbuf compatible render engine :
  • refresh UI if needed (ModelViewer's spatial explorer right-click)
  • display bounding, skeleton,...
  • explore, play animation
  • every action possible by your render

Notes:

  • Some properties panel could not be available with Xbuf Render, switch to "Blender Render" to access them (and open an issue, so I'll add them).
  • Only animation (action) stored in an NLA's strip are sent to the external render engine.
  • The addon includes an exporter for .xbuf (the default format use to send scene to external render engine). But .xbuf need the files store in your assets path to be loaded.

Setup used for the video-demo

Inspirations

About

Delegate rendering to an external render engine (eg provided by game engine)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages