ofmodel_create Subroutine

public subroutine ofmodel_create(name)

Create a new Model with the given name.

This new Model will also become the current active one.

Note

A Model displays a 3D model (specified in an external file) in the scene. See the OpenSceneGraph documentation for allowable model file formats. A Model is a type of ReferenceFrame, so all the above ReferenceFrame functions also apply to it. In addition, to operate on a Model you must first set it as the currently active ReferenceFrame by using offrame_activate (just like for any other ReferenceFrame).

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name