Skip to content

Commit

Permalink
Updated README with TinyBVH
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBeckebans committed Jan 2, 2025
1 parent 0f15046 commit b6f62f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Here is an overview of the changes made to TrenchBroom:
* Doom 3 .map parser with brushDef3, patchDef2, patchDef3 primitives
* Doom 3 Valve .map configuration
* Quake 3 .shader parser adopted to support .mtr materials and RBDOOM-3-BFG specific extensions. It includes support for Doom 3 diffuse/basecolormap stages and the lookup for them is like in idMaterial::GetEditorImage()
* New Doom 3 OBJ parser. RBDOOM-3-BFG automatically creates OBJ files to work with TB and it also allows seamless interop with Blender 2.8x - 3.x without the need of additional model formats
* New Doom 3 OBJ parser. RBDOOM-3-BFG automatically creates OBJ files to work with TB and it also allows seamless interop with Blender 2.8x - 4.x without the need of additional model formats
* RBDOOM-3-BFG >= 1.4 ships with TB specific helper entities like misc_model or func_rotating_model to reflect TrenchBroom's clean architecture and differentiation between Brush Entities and Point Entities
* Game FGDs for Doom 3 and Doom 3 BFG
* Custom PNG icons for special entities like lights, speakers, particle emitters, info_location, target_* and so on
Expand All @@ -39,6 +39,7 @@ Here is an overview of the changes made to TrenchBroom:
* Changed OBJ exporter so exported models can be easier reimported by RBDOOM-3-BFG
* Changed Assimp glTF 2 importer so it will look for Doom 3 materials instead of trying to load embedded textures
* Bezier patches can be copy pasted and copied out of other maps
* Replaced ray traced model picker code using TinyBVH which allows to load bigger glTF 2 maps almost instantly instead of minutes

## Issues
* TrenchBroomBFG doesn't support brush primitives like in D3Radiant or DarkRadiant. Use the Valve 220 .map format instead
Expand Down
2 changes: 1 addition & 1 deletion common/src/Assets/EntityModelManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ std::unique_ptr<EntityModel> EntityModelManager::loadModel(const IO::Path& path)
m_logger.info()
<< "Loaded model '" << path << "' in "
<< std::chrono::duration_cast<std::chrono::milliseconds>(endTime - startTime).count()
<< "ms";
<< " ms";
return model;
}

Expand Down
2 changes: 1 addition & 1 deletion common/src/Assets/TextureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void TextureManager::setTextureCollections(
<< std::chrono::duration_cast<std::chrono::milliseconds>(
endTime - startTime)
.count()
<< "ms";
<< " ms";
addTextureCollection(std::move(collection));
}
catch (const Exception& e)
Expand Down
4 changes: 2 additions & 2 deletions common/src/View/MapFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,8 +1003,8 @@ bool MapFrame::openDocument(

logger().info()
<< "Loaded " << m_document->path() << " in "
<< std::chrono::duration_cast<std::chrono::milliseconds>(endTime - startTime).count()
<< "ms";
<< std::chrono::duration_cast<std::chrono::seconds>(endTime - startTime).count()
<< " seconds";

return true;
}
Expand Down

0 comments on commit b6f62f4

Please sign in to comment.