Menu

#5 Please help: VBSP loading (half life 2 bsp loading)

1.0
open
nobody
None
2024-04-14
2024-03-02
No

Some years ago, Cloudwalk attempted VBSP loading (valve bsp), halflife2.
He gave up at the face loader (a good ammount of work was done it seems); and hasn't worked on it 4 years hence. The code says it crashes.

The code is in model_brush.c
Mod_VBSP_Load
At the end of the file.
I imagine some people might want this format.
I imagine more than some.

If you could... (code attached)

Small sourcecode update, brought over some code that was attempted for VBSP by cloudwalk some years ago, not that it will work, but figured to bring it over. New file is model_vbsp.h and some functions in model_brush.c . Cloudwalk gave up at the face loader. Comment says the code crashes.

1 Attachments

Discussion

  • ChaosEsqueTeam

    ChaosEsqueTeam - 2024-03-04

    if you're serious though, op, have a look through the pragma engine's source code...
    it may lead you in the right direction as it's compatible with source game assets and the like
    https://github.com/Silverlan/pragma

     

Log in to post a comment.

MongoDB Logo MongoDB