Workspace 6.21.5
ObjSceneReader

Reads a Waverfront OBJ file (.obj) from a source file into a hierarchy of SceneItems. Each component of the file is read into a MeshModelInterface and attached to a MeshModelLibrary which can be added to a Scene. Both the output SceneItem and the MeshModelLibrary must be added to the SceneBuilder for visualisation.

  • Default label: "OBJ reader"
  • Member of plug-in: Rendering
  • Catalogue path: FileIO/Readers
Inputs:
File nameQString

Outputs:
Mesh model libraryCSIRO::Mesh::MeshModelLibraryContains all of the MeshModelInterface data read from the file. Each component of the dataset is added to the library as a separate item with its own unique ID.
Scene itemCSIRO::Rendering::SceneItem

A hierarchy of Scene items, including MeshModelInstances, Transforms and Shaders. This top-level Scene item can be added to a SceneBuilder (along with the Mesh model library output) for visualisation.