This branch includes the creation of Element and Material classes.
The material components for lines and meshes are now Material objects.
The Line, Mesh and MeshColoredFaces components now take an optional input parameter for the name of the layer the objects should be in. They all return a scene Element.
Views are also Elements that the scene compiler takes. The view component takes the eye and target position and the name of the view.
This branch includes the creation of Element and Material classes.
The material components for lines and meshes are now Material objects.
The Line, Mesh and MeshColoredFaces components now take an optional input parameter for the name of the layer the objects should be in. They all return a scene Element.
Views are also Elements that the scene compiler takes. The view component takes the eye and target position and the name of the view.