anchor.diff:              if r then Log.line "Assimp native dependencies successfully unpacked."
               else Log.line "Failed to unpack native assimp dependencies. Did you forget Aardvark.Init()? Make sure Aardvark.SceneGraph.IO.dll is in your output directory."
   
  -
  -        let load (file : string) =
  +        let defaultFlags = 
  +            Assimp.PostProcessSteps.CalculateTangentSpace |||
  +            Assimp.PostProcessSteps.GenerateSmoothNormals |||
  +            //Assimp.PostProcessSteps.FixInFacingNormals ||| 
  +            //Assimp.PostProcessSteps.JoinIdenticalVertices |||
  +            Assimp.PostProcessSteps.FindDegenerates |||
  +            //Assimp.PostProcessSteps.FlipUVs |||
  +            //Assimp.PostProcessSteps.FlipWindingOrder |||
  +            Assimp.PostProcessSteps.MakeLeftHanded ||| 
  +            Assimp.PostProcessSteps.Triangulate |||
  +            Assimp.PostProcessSteps.CalculateTangentSpace
  +
  +        let loadFrom (file : string) (postProcessingFlags : Assimp.PostProcessSteps) = 
               use ctx = new Assimp.AssimpContext()
               let dir = Path.GetDirectoryName(file)
  -
  -            let flags = 
  -                Assimp.PostProcessSteps.CalculateTangentSpace |||
  -                Assimp.PostProcessSteps.GenerateSmoothNormals |||
  -                //Assimp.PostProcessSteps.FixInFacingNormals ||| 
  -                //Assimp.PostProcessSteps.JoinIdenticalVertices |||
  -                Assimp.PostProcessSteps.FindDegenerates |||
  -                //Assimp.PostProcessSteps.FlipUVs |||
  -                //Assimp.PostProcessSteps.FlipWindingOrder |||
  -                Assimp.PostProcessSteps.MakeLeftHanded ||| 
  -                Assimp.PostProcessSteps.Triangulate |||
  -                Assimp.PostProcessSteps.CalculateTangentSpace
  -
  -            let scene = ctx.ImportFile(file, flags)
  +            let scene = ctx.ImportFile(file, postProcessingFlags)
   
               let textureTable = getTextureTable dir
               printfn "%A" textureTable
  
positive.code:                 bounds = !state.bounds
                  meshes = state.meshes
              }
  
negative.code:             member x.GlobalBoundingBox(s : Scene) =
                  s.ModelTrafo |> Mod.map (fun t -> s.bounds.Transformed t)
  
  
      type Assimp = class end
  
      [<CompilationRepresentation(CompilationRepresentationFlags.ModuleSuffix)>]
      module Assimp =
          open System.Runtime.CompilerServices
          open System.Collections.Generic
  