Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Plugin with real time interaction?

    General Discussion
    0
    3
    617
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      On 25/09/2014 at 03:20, xxxxxxxx wrote:

      Hi
      I have a beginner question.  I want to get into scripting with C4D.  I'm competent with Java, C++ and have used C4D for years.  My question is - is it possible to write a plugin which can respond in real time to the movement of the viewing camera.  For example - I would like to move the camera through space and have a plugin create new random geometry as you move - the shapes and materials could also change as you move.

      Is this kind of thing possible ? also - what is best for this, COFFEE or Python ?

      Many thanks,
      Glenn.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 12/10/2014 at 11:07, xxxxxxxx wrote:

        As it comes to speed, I'd certainly prefer C++.

        I think, ToolData or DescriptionToolData would be the plugin types to play this for a start. For example see the Liquid Painting Tool from the SDK examples. It generates geometry while dragging the mouse around.

        Sebastian (s_bach) pointed out to me, that I am probably misguided. Indeed I was of the opinion, you were talking about the connection to a real physical camera. You are probably not...

        In that case forget the proposed plugin types and rather stick to a combination of MessageData and SceneHook.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 19/10/2014 at 02:48, xxxxxxxx wrote:

          I think I figured out how to do it anyway thanks - in the process of learning it all - having fun 🙂

          1 Reply Last reply Reply Quote 0
          • First post
            Last post