I’ve been working on this for about a month now, and I’ve been posting some teaser screenshots on the “What are you working on currently?” thread. I’m pleased to say that its finally finished, and its now available to download from it’s github repository: https://github.com/CloneTrooper1019/Rbx2Source
What is Rbx2Source?
Rbx2Source is a tool that assembles real geometry rigs of ROBLOX assets, and compiles them into the Source engine. I built a reflection system that takes .rbxmx files, and emulates them in C# so that I can take the appearance of a character, extract the mesh assets being used, compute how object space is applied to the rig assembly, and then bake the meshes into an assembly of polygons and bones.
The system is completely dynamic, and it’ll accept almost everything that you throw at it. In the case of the program though, I chose to target user avatars, as well as hats and gears in the catalog. It also supports the direct import of ROBLOX animations, transparency, reflectance, parts that use BrickColors instead of mesh textures, VertexColor3, and more!
The interface looks a bit like this:
It takes around 5-10 seconds on average for a character to be assembled, depending on your internet speeds. Assets are pre-cached using their version id, so it doesn’t have to download assets from ROBLOX more than once.
Once compiled, you can view the character model in Valve’s Half-Life Model Viewer, to see how everything turned out.
You can also tinker with the animations from there, and see how they blend together.
Some screenshots of hats & gears.
Whats the point of this?
Well, I suppose one reason was because I wanted to beat myself up as a ragdoll in Garry’s Mod.
But I think one of the primary uses for this would be ROBLOX machinimas and video making, using Source Filmmaker.
I put together this small example a few days ago:
Here’s something pretty cool I found recently that uses Rbx2Source and Source Filmmaker:
It’s also pretty good for making thumbnail renders. I used Source Filmmaker to make The Stalker: Reborn’s thumbnails:
Anyhow, yeah I hope you guys enjoy!