Example on how to write C4D files
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/02/2008 at 06:27, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) : C++ ;---------
Hi everyone,I don't have much knowledge of C4D myself but am currently working on a software project and would like to export scene data into C4D.
I have looked at the C4D file format specs on the maxon website (although the last file seems to be for version 5) and the C4D format seems to be straight IFF. Does anyone know if there's a tutorial or sample source code somewhere on how to easily export C4D IFF chunks?
Or might it be easier to export the objects/paths etc via an integrated scripting language (COFFEE suitable for that)
Any help would be greatly appreciated
Thanks
Markus
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/02/2008 at 06:28, xxxxxxxx wrote:
There are no samples on how to create the old Cinema 4D V5 format and I would strongly advice aganst it. It is actually easier to create your own custom format and to write a own import plugin for Cinema.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/02/2008 at 06:33, xxxxxxxx wrote:
Hi Matthias,
thanks for your quick reply. I will have a look at the SDK to see about writing an import plugin. Otherwise we will have to fall back on C4Ds native LWS import capability.
Thanks
Markus
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/02/2008 at 10:21, xxxxxxxx wrote:
I agree with Matthias here. It would be much easier to tailor a custom format than to support this old C4D format. If you are interested in some background history, IFF is an old Amiga chunk-based format(looks like you already understand the basics here). One of the best references for the IFF specification, with code, can be found in the now hard-to-find Amiga OS Rom Kernel Manuals (RKMs).