Navigation

    • Register
    • Login
    • Search
    1. Home
    2. khor
    3. Posts
    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups

    Posts made by khor

    RE: How to read Field driven VertexMapTag's

    Yes that's what afraid to hear:)
    I did iteration over tags of Cache/Deform Cache and compare with GetOrigin() thingy to find related tag. I believe there should be some functionality in the SDK. Thanks for answers!

    posted in Cinema 4D SDK •
    How to read Field driven VertexMapTag's

    I'm always getting NULL with GetDataAddressR() on a VertexMapTag when it's used on primitives with Field driven. I'm assuming the data is on the VertexMapTag over Cache object under the primitive. But I cannot think a safe way to reach to the tag else of iterating the tags on Cache. But it doesn't looks to me safe enough. We may have a few VertexMapTags and may not provide matching one. Is there a better way to read values?

    posted in Cinema 4D SDK •
    RE: Info for ITEMTREE/customgui_itemtree

    Hi @Fritz,
    There are some missing bricks: definition for ItemTreeNodeData. I cannot find it in anywhere and how can we catch/register callbacks for itemtree to use ITEMTREE_CALLBACK_INSERTNODE?

    posted in Cinema 4D SDK •
    RE: Info for ITEMTREE/customgui_itemtree

    @bentraje said in Info for ITEMTREE/customgui_itemtree:

    @khor

    this is a bit old but I guess this can server as an additional resource
    https://c4dprogramming.wordpress.com/2012/11/25/treeview-made-simple-part-1/

    Thanks, but it's not what I'm looking for!

    posted in Cinema 4D SDK •
    RE: Info for ITEMTREE/customgui_itemtree

    Hey guys,
    Thanks for replies, I'll give some try as advice of Fritz at first. I definitely need it inside object UI, by C++

    posted in Cinema 4D SDK •
    Info for ITEMTREE/customgui_itemtree

    Hi guys,
    I'm curious if we have some guidance to show how to create/use "customgui_itemtree" UI as Volume Builder does it. I wish to make something simpler with checkbox+Enum UI as in picture at first. Any help please!
    a1.jpg
    Best,
    A.

    posted in Cinema 4D SDK •
    Another question for animated data extraction

    I have some hardness to understand how to read/extract animated geometry data. We are doing it by GetCache()/etc.. in C4D SDK. But here I can see only SetTime() and Execute() for BaseDocument, and It doesn't produce the meshes are animated at the frame. As I can see that we cannot read actual object Matrixes by GetMg()/etc.. for the current frame.
    Question how to read frame data for animated meshes, both for vertices and matrices?

    Also I'm seeing some classes are missing in Cineware. What about mograph stuff? Cannot we use them?

    posted in Cineware SDK •