Skip to content

Sledge fork made for SCP - Containment Breach room creation.

Notifications You must be signed in to change notification settings

VirtualBrightPlayz/cbre

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containment Breach Room Editor

The Editor is licensed under the GNU General Public License, version 2.0. All other components are licensed under the GNU Lesser General Public License, version 2.1, unless otherwise stated.

You can find the original source code at https://github.com/SCP-CBN/cbre

Why?

  • 3D World Studio is not free, does not work outside of Windows 7, and is no longer maintained by its creators.
  • The official CBRE fork is no longer maintained.
  • CBRE still can be useful outside the scope of the official SCP-CB 1.4 update that was cancelled.

Features

  • .rmesh file exporting
  • Lightmapping
  • (WIP) GPU Lightmapping
  • Lightmapping with Blender
  • Screenshot mode
  • Discord RPC

Blender Lightmapping

  • Install The Lightmapper for Blender, make sure it's installed folder in Blender is named thelightmapper
  • Look in the tools folder for raytrace-lm.bat, bake.blend and bake.py
  • Edit raytrace-lm.bat to have the correct blender.exe file path
  • Paste raytrace-lm.bat, bake.blend and bake.py next to the CBRE.Editor and use External Lightmapper
  • Feel free to edit The Lightmapper settings in Blender using the bake.blend file

Download

Make sure to install vc_redist_x86 from here when on Windows

There is a GitHub Actions script so you can download the latest from the Actions tab.

Blender Lightmapping

Install Naxela's The Lightmapper addon for Blender

Copy the files from BlenderBaking into your install of CBRE.Editor and change the raytrace-lm.bat's contents to point to a valid install of Blender.

Create an empty blender file setup for baking with The Lightmapper named bake.blend in the same place as CBRE.Editor

Building

Required SDKs

.NET 6

nfd

For the time being, compile nfd/NativeFileDialog yourself. I'll consider implementing it better later.

Assimp

In the folder AssimpNet/AssimpNet.Interop.Generator/ run the command dotnet build

CBRE.Editor

In the folder CBRE.Editor/ run the command dotnet build /p:Platform="x64"

Running

Windows 64-bit

Run the file CBRE.Editor/bin/Debug/net6.0/CBRE.Editor.exe

Linux 64-bit (Not tested yet)

Run the file CBRE.Editor/bin/Debug/net6.0/CBRE.Editor.dll using the dotnet command

Contributing

Just make a pull request. Try to keep the style consistent with existing code.

About

Sledge fork made for SCP - Containment Breach room creation.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.5%
  • HLSL 0.8%
  • Rich Text Format 0.6%
  • Java 0.1%
  • NSIS 0.0%
  • Batchfile 0.0%