[Bf-python] OpenCollada Documentation?

Toni Alatalo toni at playsign.net
Sun Jul 24 19:03:01 CEST 2016


OpenCollada is a C++ library that Blender indeed uses.

I don't think there is any secret documentation, just what they have in
github to describe the parts of their code repository
https://github.com/KhronosGroup/OpenCOLLADA/#directories . Then you can
read the C++ sources to see what's there, for example this tells how you
can get mesh information:
https://github.com/KhronosGroup/OpenCOLLADA/blob/master/COLLADAFramework/src/COLLADAFWMesh.cpp

It is possible to use C++ libraries in C# code but can be simpler for you
to just add what you need in your code. Both because using C++ in C# adds
complexity and indeed because OpenCOLLADA is not so documented and
reportedly (have no experience myself) painful to work with.

Khronos is now active with glTF which has been adopted by some companies
and projects. It is JSON + binary data instead of XML. Work there is active
on many fronts so if you want a bandwagon to jump on it can be a good
choice, depending what you need (glTF is to have small files to transfer,
unlike COLLADA which was made for interop between apps using bigger files).
They are marketing it here at SIGGRAPH now, gave t-shirts yesterday and
sponsor a lunch to talk about it here at the web3d event where am now :)
https://github.com/KhronosGroup/glTF

But again if you already have things working with your own .net XML code it
can be simplest to just add what you need there, depends on the specifics.

~Toni

On Sun, Jul 17, 2016 at 10:58 PM, Khalifa Lame <khalibloo at gmail.com> wrote:

> Hello. I've been working with collada files on a personal project for a
> while now. I wrote an importer using an xml parser. Now everything works
> fine, but I'm considering upgrading to OpenCollada SDK in order to take
> advantage of some advanced features that would take ages to develop on my
> own.
>
> Honestly, I'm not even sure what OpenCollada is... let alone how to use it.
> I can't find any documentation on it and the data around it is confusing.
>
> Does someone have any documentation or examples on how to use the SDK? My
> project is written in C#, would that be a problem?
> I understand blender uses OpenCollada. Did the devs have access to some
> secret documentation or something? :D
>
> I've never done something like this before so please assume I'm a total
> noob.
>
> --
> khalibloo®
>
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> https://lists.blender.org/mailman/listinfo/bf-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20160724/af57092c/attachment.html>


More information about the Bf-python mailing list