Page 1 of 2

What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Tue Apr 18, 2017 10:29 am
by e=minecraftsquare
Title says it all.

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Tue Apr 18, 2017 8:36 pm
by juanjp600
RMesh files are created from B3D meshes with a converter tool: https://github.com/Regalis11/scpcb/blob ... nverter.bb. Note that not any B3D mesh will work properly with this converter; it was designed for files exported by 3D World Studio, which to my knowledge isn't easily obtainable anymore.

Since I created this file format only to suit Containment Breach's needs (at the time, the game would load from very inefficient B3D files), only the game and a few tools created to develop it are available to read and create files in this format.

It should be possible to take the RMesh viewer (https://github.com/Regalis11/scpcb/blob ... _Viewer.bb) and export the loaded mesh into some other format with one of the various snippets on the Blitz3D forums (here's a basic OBJ exporter that could work https://www.blitzbasic.com/codearcs/cod ... ?code=2801).

Edit: as it turns out, there's already a writemesh function in the RMesh viewer. Calling it right after line 726 should be enough to have a copy of the file in .X format.

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Tue Apr 18, 2017 8:53 pm
by e=minecraftsquare
how do I open bb files?

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Tue Apr 18, 2017 8:56 pm
by juanjp600
.bb files are compiled with Blitz3D. You can get it here: http://www.blitzbasic.com/Community/pos ... pic=107434

Containment Breach depends on modified binaries for extra features, which are available here: https://github.com/Regalis11/scpcb/blob ... ss_bin.zip. You won't need them for the model viewer or the converter.

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Tue Apr 18, 2017 9:11 pm
by e=minecraftsquare
how can I convert rmesh files into b3d files? and btw thank you :)

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Tue Apr 18, 2017 9:31 pm
by juanjp600
I don't have a B3D exporter on hand, but there has be one out there somewhere. Can't be bothered to make or find one, to be honest.

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Wed Apr 19, 2017 6:37 pm
by etet2
e=minecraftsquare wrote:Title says it all.
WHY DO SCP:CB PLAYER KEEP WRITING IN BAROTRAUMA FORUMS

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Thu Apr 20, 2017 1:37 am
by CommanderMark
etet2 wrote:
e=minecraftsquare wrote:Title says it all.
WHY DO SCP:CB PLAYER KEEP WRITING IN BAROTRAUMA FORUMS
Because they're stupid. 👌

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Thu Apr 20, 2017 2:01 pm
by etet2
CommanderMark wrote:
etet2 wrote:
e=minecraftsquare wrote:Title says it all.
WHY DO SCP:CB PLAYER KEEP WRITING IN BAROTRAUMA FORUMS
Because they're stupid. 👌
k

Re: What program can I use to import or export RoomMesh files aka rmesh files?

Posted: Fri Apr 21, 2017 3:36 pm
by Vane Brain
etet2 wrote:
e=minecraftsquare wrote:Title says it all.
WHY DO SCP:CB PLAYER KEEP WRITING IN BAROTRAUMA FORUMS
Looks like a raid (no)