Ocube Polygons



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 04/11/2010 at 00:17, xxxxxxxx wrote:

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

    ---------
    Hello guys,

    I've been stuck for a while in this , I need to get polygons from Ocube primitive using melange , since a cube BaseObject cannot be casted to Polygon Object I cannot find anyway to access polygons,  is that even possible using melange ?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 13/03/2011 at 13:47, xxxxxxxx wrote:

    Oh, bit older this thread, but what about converting the Object internally ?

    -Niklas



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 15/03/2011 at 16:30, xxxxxxxx wrote:

    Howdy,

    Well, I don't know about what you can do in melange, but every geometric primitive has a polygonal cache object, and if it is deformed it also has a polygonal deform cache.

    You access those with BaseObject::GetCache() and BaseObject::GetDeformCache();

    Look in the sdk documentation under BaseObject::GetDeformCache() and you'll find a detailed explanation of the polygonal caching of objects in Cinema 4D. 😉

    Adios,
    Cactus Dan


Log in to reply