简体中文 This project is a plugin for neo-bpsys-wpf to support 3D graphics. Scenes can be edited with Blender. Read below for instructions.
!! This project is new and only tested on my own PC and full of bugs, feel free to give feedback (discord: dostojefsky)
- Install neo-bpsys-wpf
- Clone this repository (or download as zip and extract):
git clone git@github.com:jefcrb/3DViewerIDV.git - Move project to
%APPDATA%\neo-bpsys-wpf\Plugins:mv 3DViewerIDV %APPDATA%\neo-bpsys-wpf\Plugins
- Download Blender 3.0+ from https://www.blender.org/download/
- Open
template.blendin Blender (File > Open) - Edit lighting, camera, or environment as needed
- Export as GLB (File > Export > glTF 2.0)
- Copy
scene.glbtowwwroot/assets/
The template.blend file contains:
- 5 Dummy Models
_HUNTER- Back center position_SURVIVOR_1- Front left_SURVIVOR_2- Front center-left_SURVIVOR_3- Front center-right_SURVIVOR_4- Front right
- File > Export > glTF 2.0 (.glb)
- File name:
scene.glb - CRITICAL SETTINGS (right panel):
- Format: glTF Binary (.glb)
- Include > Cameras
- Include > Punctual Lights
- Transform > +Y Up
- Geometry > Apply Modifiers
- Geometry > UVs
- Geometry > Normals
- Materials: Export
- Compression: Enables for smaller file size
- Remember Export Settings: Saves settings for next time
- Click "Export glTF 2.0"
Copy the exported file to:
%APPDATA%\neo-bpsys-wpf\Plugins\3DViewerIDV\wwwroot\assets
as scene.glb
After installing the plugin, 3DViewerIDV settings page can be found. From here you can host a web browser source for OBS.
Access the dev page at http://localhost:{port}?dev=true to find additional settings
