Navigation

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

    Posts made by yesbird

    Displaying tag properties as part of object's properties

    Hi,

    Could you please suggest me, how to make tag info available in object's properties, like here:

    tag_tab.png

    By default, tag properties are displayed separately, only when tag is selected.

    Thanks in advance,
    Sergey (Yesbird).

    posted in Cinema 4D SDK •
    RE: Calling system command on animation frame change

    Hi, Manuel.

    Thank you for description of both approaches, now I can compare them and choose the best.

    Regards,
    Sergey (Yesbird).

    posted in Cinema 4D SDK •
    RE: Calling system command on animation frame change

    Hi, @manuel.

    I only want to add, that Cineware-based solution even more preferable, as it much more easy to debug.

    Btw, is there a way to detach C++ written plugin dll for rebuild time not restarting C4D application ?
    ....
    YB

    posted in Cinema 4D SDK •
    RE: Calling system command on animation frame change

    Hi, @manuel.

    I mean regular SDK here.
    ....
    YB

    posted in Cinema 4D SDK •
    RE: Accessing Sweep's spline data from C4DImportExport.cpp

    Hi,@manuel.

    Thank you for explanation, I will calculate spline points myself, no problem.

    All the best,
    ....
    YB

    posted in Cineware SDK •
    RE: Accessing Sweep's spline data from C4DImportExport.cpp

    Hi, @manuel.

    Many thanks for fast and detailed response. Fortunately, I've alredy passed all steps, but last - getting spline points (not knots), and unfortunately, can not do it by strange issue: in file customgui_splinecontrol.h method that I need:

    //Vector GetPoint(Float r) const;
    

    is commented out and when uncommented, gives 'unresolved externa' error.

    I have the lates SDK version:
    22.008_RBCinewaresdk22.0_355130

    Could you please help me to find workaroud for this problem ?

    Thanks in advance,
    Sergey (Yesbird).

    posted in Cineware SDK •
    Calling system command on animation frame change

    Hello.
    I'm writing an exporting tool for POV-Ray now and thinking about external rendering of animation frames, assuming following scenario:

    for every_frame:
      save_scene();
      call_renderer(); // As external system command
    

    I'm very new to the C4D SDK, so could you please suggest to me, how to find the event of frame change and run commands on this event ?

    Unfortunately, searching manuals still does not give any results.

    Thanks in advance,
    Sergey (Yesbird).

    posted in Cinema 4D SDK •
    Accessing Sweep's spline data from C4DImportExport.cpp

    Hello,
    In the process of writing tool (https://github.com/syanenko/pov-tools) for exporting C4D objects to POV-Ray, I've ran into following problem: can not find any information about accessing spline data, available in Details tab of Sweep node, from C++.

    This spline is marked on following image:
    c4d_spline.png

    I would like to use this data to alter sphere radius in POV's Sphere sweep object. The code of this tool is based on C4DImportExport.cpp example.

    Could you please point me in the right direction?

    Thanks in advance,
    Sergey (Yesbird).

    posted in Cineware SDK •
    RE: Drop-down list in tag for C++ plugin

    Hello, @ferdinand

    Thanks, I will take it into account.

    All the best,
    ...
    YB

    posted in Cinema 4D SDK •
    RE: Drop-down list in tag for C++ plugin

    Hello, @ferdinand.

    Many, many thanks for your detailed description of UI background, grepping-based workflow is not new to me, so "sapienti sat" 🙂

    I used the User Data Editor before, but now I discovered a new side. If I understand well, there is a possibility to create a UI sketch, save it and then find the appropriate *.res in {Cinema 4D RXX}\resource directory. This technique should be very useful, I definitely will try it.

    All your code examples are exactly what I was looking for, now I can implement all my ideas in the best way.

    Besides that, I would like to say that after more than 30 years of working in IT, I've never seen such attentive and mindful support - with not only code samples, but even with animated screenshots.

    Writing plugins for C4D is pure fun now.

    Thanks again,
    ...
    YB

    posted in Cinema 4D SDK •
    RE: Drop-down list in tag for C++ plugin

    Hello, @ferdinand.

    Thank you very much for the rapid and detailed response, after reading the section about LONG parameter type more carefully, I was able to complete this part of the UI and now the list works fine.

    Although I am satisfied with the present result, if you will give me a little more details about the radio buttons' custom GUI, I will be absolutely happy :).
    Unfortunately, I didn't find any info about radio buttons in manual.

    All the best,
    YB.

    posted in Cinema 4D SDK •
    Drop-down list in tag for C++ plugin

    Hi, guys.

    While writing C++ plugin for C4D I ran into the following problem: can't find any info about how to create a drop-down list for tag parameter.

    Manual states, that it's possible to use CUSTOMGUI flag and I see implementation CUSTOMGUI_LISTVIEW in framework, but no any other info how to use it.
    At the same time 'CUSTOMGUI MULTISTRING' works fine.

    Any help or suggestions please !
    Thanks in advance,
    ...
    YB

    posted in Cinema 4D SDK •