collada-output-0.5: Generate animated 3d objects in COLLADA

Graphics.Formats.Collada.GenerateCollada

Synopsis

Documentation

basicFrame :: Element -> Scene -> [Animation] -> ElementSource

The basic structure of a Collada file, contains library_... nodes, where library_s are used for referencing

standardAsset :: String -> String -> ElementSource

Document information: author, time created ...

time8601 :: UTCTime -> IO StringSource

Time according to iso 8601

extract_cameras :: [SceneNode] -> [SceneNode]Source

Extract cameras from SceneNodes and remove duplicates

extract_lights :: [SceneNode] -> [SceneNode]Source

Extract lights from SceneNodes and remove duplicates

extract_geometries :: [SceneNode] -> [SceneNode]Source

Extract geometries from SceneNodes and remove duplicates

cam :: SceneNode -> [Element]Source

library_cameras

light :: SceneNode -> [Element]Source

library_lights

im :: [SceneNode] -> [Element]Source

library_images

mat :: [SceneNode] -> [Element]Source

library_materials

eff :: [SceneNode] -> [Element]Source

library_effects

geo :: [SceneNode] -> [Element]Source

library_geometries

tex_ar :: [[Int]] -> [[Int]] -> [[Int]] -> String -> String -> String -> (SID, Profile) -> [Element]Source

material :: [[Int]] -> [[Int]] -> [[Int]] -> String -> String -> String -> (SID, Profile) -> [Element]Source

visual_scene :: Scene -> ElementSource

library_visual_scenes: Nested nodes with references to cameras, lights, geometries, ...

ttn :: String -> [(ID, Transform)] -> [Camera] -> [Geometry] -> [Light] -> [Element]Source