Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Login

    Rendering Icons more accurately?

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 405 Views
    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 Offline
      Helper
      last edited by

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

      On 20/08/2009 at 18:26, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R10-R11 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      In my new plugin project, users can add objects to a library (each stored as .c4d documents). In the process of adding the object to the library, a 32x32 TIF icon image file is created for use in my plugin Generator Object. There is a template .c4d document that I've set up for this that is loaded when the user adds an object and the object is then inserted for rendering to create the icon image.

      The problem is that calling IDM_SHOWACTIVE doesn't seem to be responding very well in this case. Works nicely for extruded/beveled shapes but that is probably because these are closely controlled size and extrusion amount with respect to the render document. Now I need something a bit more flexible and the results are all over the place. The objects do have their global matrices make unitary in the process.

      Is there any consistent means to frame an active object in a scene with a camera (Perspective) programmatically?

      Thanks!

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

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

        On 21/08/2009 at 03:50, xxxxxxxx wrote:

        I have to ask the developers how they do this for instance for the Content Browser's icon creation.

        cheers,
        Matthias

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

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

          On 21/08/2009 at 04:47, xxxxxxxx wrote:

          Much appreciated. 🙂

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

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

            On 21/08/2009 at 07:19, xxxxxxxx wrote:

            They just call C4DOS.Ge->FrameScene(doc) which is basically the same as the "Frame Scene" command.

            cheers,
            Matthias

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

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

              On 21/08/2009 at 09:39, xxxxxxxx wrote:

              Unfortunately, framing the scene won't work as there is a Floor object being used to create the background coloration (Frame Scene goes way out into space therefore).

              Might have to play with frame clipping to get the object framed as big as possible in the render.

              Thanks,

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