Skip to content

Load 3MX/3MXB format LOD model files generated by Bentley ContextCapture into OpenSceneGraph

License

Notifications You must be signed in to change notification settings

ProjSEED/osgPlugins-3mx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osgPlugins-3mx

Load 3mx/3mxb format LOD model files generated by Bentley ContextCapture into OpenSceneGraph.

Tested Env

  • Windows 10
  • Visual Studio 2017
  • OpenSceneGraph-3.6.4 (jpeg is required for loading texture)

Thirdparty (source codes included for convenience)

NOTE

Add script to [osgPlugins/CMakeLists.txt] so that this plugin could be added to OpenSceneGraph.

# about line: 150
ADD_PLUGIN_DIRECTORY(3mx)

Add file extension alias to [osgDB/Registry.cpp] so that both 3mx/3mxb could be loaded.

// about line: 220
Registry::Registry()
{
	// ...
	addFileExtensionAlias("3mxb", "3mx");
	// ...
}