Missing PolygonObject in melange



  • On 30/06/2015 at 17:47, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R16 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Consider this tree of objects in Cinema4D:
    _<_img src="http://i39.photobucket.com/albums/e166/megamau/2015-07-01 01_37_10-cinema 4d r15.037 studio - free-c4d-3d-model-spaceride-ufo_test.c4d_zps6zpwekyw.png" height="177" width="176" border="0" /_>_

    When I try to load this C4D file into my application using Melange, I only get the first "Cube". What's interesting, is that I get all 3 calls to NodeData *AllocAlienObjectData(Int32 id, Bool &known), but only one call to Bool AlienPolygonObjectData::Execute().

    Please note that all the "Cubes" are polygon objects. Also, this only happens when I CTRL+DRAG the first cube to create the other 2, if I create new cubes from scratch instead of copying them, everything works as expected.

    I can't find any difference between copied objects and new objects, so at the end, this seems like a bug.



  • On 02/07/2015 at 05:36, xxxxxxxx wrote:

    Hi,

    just for your information: I'm working on this issue. And I think, I can reproduce your problem here. But I'm still not sure, if it's a bug in Melange or on my side. Unfortunately the Melange developers are currently all on vacation... so I need to ask for your patience. Sorry.



  • On 08/07/2015 at 03:51, xxxxxxxx wrote:

    Hi,

    I got feedback from development.
    There seems to be an issue with "Save Animation for Melange" option. This option is automatically enabled, if you use "Save Project for Melange...". This is indeed a bit confusing. The options in preferences influence the normal "Save" and "Save as..." only.

    As you normally don't need "Save Animation for Melange" (or as a workaround in this case), you can simply use "Save as..." and have "Save Animation for Melange" disabled. Then you should get all calls to AlienPolygonObjectData::Execute() as expected.

    "Save Animation for Melange" is needed only in special cases, where for example the cubes in your Symmetry object are animated. In this case "Save Animation for Melange" is supposed to deliver a cache per keyframe on the Symmetry object. But as I said in the beginning, there seems to be an issue with the special case of the symmetry object.

    The issue is now being looked into, but I have no idea, when to expect a fix.



  • On 08/07/2015 at 06:01, xxxxxxxx wrote:

    Hello,

    I thought that the "Save Animation for Melange" was something like baking an animation, but it turns out it's not. 
    I guess there's no simple way to just save a C4D file in a way we can fully import it without actually support native C4D primitives and MoGraphs.

    Then, I guess that if we use a 3rd party plugin to bake animations, we can completely avoid this option, and tell our users to do so as well.

    Thanks


Log in to reply