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

    FileFormat Exporter

    Cinema 4D SDK
    3
    4
    633
    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.
    • E
      eldiren
      last edited by

      I'm not entirely sure the maxonsdk.module example loaded, or exactly what I'm supported to see from it in R20, but I noticed it has some examples of mediainput and mediaoutput. How exactly do I create a new geometry importer and exporter, such that it appears in the export menu. I noticed Redshift has one for their proxy format. I'd like to use the open/merge menu like I would on an alembic, or fbx, bring up a dialog to select options, and then populate the manager with my custom generators. I'd like to go into the export menu, pick my format, have the dialog open for options, and then translate the scene as needed.

      With the maxonsdk.module example I imagined the .image format it's talking about would have popped up as an export option or something.

      kbarK 1 Reply Last reply Reply Quote 0
      • kbarK
        kbar @eldiren
        last edited by

        What you are after is the sceneloaderdata and scenesaverdata

        https://developers.maxon.net/docs/cpp/2023_2/class_scene_saver_data.html

        Kent

        https://www.gamelogicdesign.com
        https://www.plugins4d.com

        1 Reply Last reply Reply Quote 0
        • S
          s_bach
          last edited by

          Hello,

          as always, please mark your post as a question and use tags.

          The Cinema 4D SDK comes with several example projects: the maxonsdk.module contains example code using solely the new MAXON API, while the cinema4dsdk uses both classic and MAXON API combined. See Example Plugins.

          The maxonsdk.module project contains implementations of media related interfaces. The ".image" format example is an example on how to load - well - image data.

          Importers and exporters of 3D scenes are something different. As Kent has pointed out, these are based on the (classic) API hooks SceneSaverData and SceneLoaderData.

          You find a list of all useful plugin hooks / interfaces here: Plugin Types.

          best wishes,
          Sebastian

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

          1 Reply Last reply Reply Quote 0
          • E
            eldiren
            last edited by

            Thank you. That worked like a dream.

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