Daggerfall Mod:DFRemake/DFELibrary - Arch3d.bsa
The UESPWiki – Your source for The Elder Scrolls since 1995
< Mod / Daggerfall: Daggerfall Mod: DFRemake
Arch3d.bsa contains 10251 3d object files which are used to build dungeon/location blocks.
General Design Notes[edit]
- The arch3d file directory will be loaded the first time a 3d object is requested.
- One 3d object will be loaded at a time.
- Objects will be accessed/loaded by their directory value (DWORD).
Error Codes[edit]
The following table lists the Arch3d.bsa related error codes:
Error Code | Value | Description |
---|---|---|
DFERR_BAD3DOBJECT | -701 | The given 3D object file has an invalid format. |
DFERR_NO3DOBJECT | -702 | There is no current 3d object loaded! |
Functions[edit]
- DFELoad3dObject : Main function to load a 3d object.
- DFEHas3dObject : Checks for a currently loaded 3d object
- DFEGetFirst3dObject : Start iterating through all objects in arch3d.bsa.
- DFEGetNext3dObject : Continue iterating through all objects in arch3d.bsa.
- DFEGet3dObjectSize : Get the memblock size in bytes for object conversion.
- DFEGetFirst3dTexture : Start iterating through all textures in the current 3d object.
- DFEGetNext3dTexture : Continue iterating through all textures in the current 3d object.
- DFEGet3dObjectMesh : Convert the current 3d object into a single DB mesh (no textures).
- DFEGetFirst3dMemblock : Start converting faces with the same texture to DB objects.
- DFEGetNext3dMemblock : Continue converting faces with the same texture to DB objects.