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
We shape our tools and afterwards our tools shape us.
Marshall McLuhan
Sourcery
Working with since1998 » BasicPascal1999 » HTMLASP2000 » SQLCSSJSVB2001 » JavaPHP2002 » C#ASP.NET2003 » XSLT / XPath2004 » Prolog2006 » SharePoint2008 » F# • Python • Lisp2011 » Go • WebGL • Node.js • CoffeeScript • 2012 » OpenGLGLSL2015 » Haskell2016 » TypeScriptElm2017 » PureScriptVue.jsGraphQL
Details..
Making-of
Site theme: none; hand-crafted.
Static site gen: HaXtatic.
Icons, logos, fonts: © respective owners.