Phil Schumann, Berlin
Software Developer

08 Dec 2012 My go:ngine supports only one file format for importing assets: Collada. The format is quite expressive, going way beyond mere geometry meshes..

Collada 1.4.1 to 1.5

My go:ngine supports only one file format for importing assets: Collada. The format is quite expressive, going way beyond mere geometry meshes..

What's more, support across a wide range of industry tools for exporting to (or converting to) Collada is very good. (There's even a Collada exporter plug-in for Unity.)

The catch

I find version 1.5 of the Collada specification far superior to its previous versions, however most tool support out there is still based on version 1.4.1. While the versions are very similar, there are a small number of breaking changes between them. Rather than writing two "almost-but-not-fully-identical" importers, I decided to have go:ngine convert 1.4.1 documents to 1.5 on-the-fly upon import.

How to run the converter

If you're not a Go programmer or otherwise not interested in go:ngine itself, this conversion code is also available as a command-line program. Should you need it, install Go, then do a go get github.com/metaleap/go-ngine, then:

go build $GOPATH/src/github.com/metaleap/go-ngine/___old2013/_tools/assettools/ng-collada-141-to-15/main.go

That's it. Haven't gotten around to providing pre-built binaries for Windows, Linux and OSX, 32-bit and 64-bit each... but installing Go on your system is non-intrusive and harmless anyway. After building the command-line program, you can uninstall Go if you like.

 
Cogent
Composability wins through independence of features.
Conal Elliott
Sourcery
  • Since 2016 ⋅ PureScript, Elm
  • Since 2015Haskell
  • Since 2014 ⋅ UnityScript
  • Since 2012 ⋅ OpenGL+GLSL
  • Since 2011 ⋅ Go (golang), WebGL, Node.js
  • Since 2008F#, Python, Lisp / Scheme
  • Since 2006 ⋅ SharePoint
  • Since 2004 ⋅ Prolog
  • Since 2003 ⋅ XSLT, XPath
  • Since 2002 ⋅ C#, ASP.NET
  • Since 2001 ⋅ Java, PHP
  • Since 2000 ⋅ SQL, CSS, JavaScript, VisualBasic
  • Since 1999 ⋅ HTML, ASP
  • Since 1998 ⋅ Basic, Pascal
More about me..
Making-of
Site theme: none; hand-crafted.
Static site gen: HaXtatic.
Icons, logos, fonts: © respective owners.