model

geometry for scene object

value

as: |file|

atributes

  • * file [String] path to (*.mod)/(*.mto) for single/multiple uv geometry
  • appearance [appearance] material/texture
  • stripifier [Boolean:true]
  • orient [Boolean:false]

nodes

Examples

model(file:"data/butterfly/body.mod",
      appearance:_appearance(texture:"data/butterfly/butterfly.png",
                             mipMap:true ));
model(file:"data/house/tools.mto", appearance:_appearance(){
    texture(texture:"data/house/tools.png",mipMap:true);
    texture(texture:"data/house/toolsLight.png",mipMap:true);
});