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

    cmd-renderer: Message when project is loaded

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 349 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

      On 30/05/2015 at 05:06, xxxxxxxx wrote:

      Hi!

      There's no CoreMessage() sent to a MessageData plugin and also no PluginMessage() directly after  the
      project was loaded and before  the rendering starts. Is there still a way to intercept? I only want to use
      C++ if absolutely necessary (I can imagine implementing a Scene Hook plugin that reacts on the render
      notification message).

      Thanks,
      Niklas

      PS: Output from my test (not a single CoreMessage is sent)

      Application start      : 05/30/15 at 13:05:44
      Executable             : 64 Bit
      Version / Build        : 16.050 / RB131856
      Debugger               : not available
      Memory model           : release
      Startup path           : file:///C:/maxon/Cinema 4D R16 Dev
      Application path       : file:///C:/maxon/Cinema 4D R16 Dev/Commandline.exe
      Application executable : file:///C:/maxon/Cinema 4D R16 Dev/Commandline.exe
      Resource path          : file:///C:/maxon/Cinema 4D R16 Dev/resource
      Module path(s)         : file:///C:/maxon/Cinema 4D R16 Dev/modules
      Temporary path         : file:///F:/cygwin/tmp
      Prefs path             : file:///C:/Users/niklas/AppData/Roaming/MAXON/Cinema 4D R16 Dev_9E31F8EF
      Global Prefs path      : file:///C:/Users/niklas/AppData/Roaming/MAXON
      OS version             : Windows 7, 64 Bit, Professional Edition Service Pack 1 (build 7601)
      Processor              : 8x Intel Core i7-4770K CPU
      Computer name          : NIKLAS-PC
      Thread Count           : 8
      Cpu Speed (MHz)        : 3500.000
      Application Type       : Modular
      Command line arguments : "-nogui" "-render" "shadertest.c4d" "-oimage" "foo.png"
        
      Loading file:///C:/maxon/Cinema 4D R16 Dev/modules/c4dplugin.xdl64 with module(s) net.maxon.c4d.c4dplugin
      Loading file:///C:/maxon/Cinema 4D R16 Dev/modules/crashhandler.module.xdl64 with module(s) net.maxon.crashhandler
      Loading file:///C:/maxon/Cinema 4D R16 Dev/modules/crypt.module.xdl64 with module(s) net.maxon.crypt
      Loading file:///C:/maxon/Cinema 4D R16 Dev/modules/image.module.xdl64 with module(s) net.maxon.image
      Loading file:///C:/maxon/Cinema 4D R16 Dev/modules/mesh.module.xdl64 with module(s) net.maxon.mesh
      Loading file:///C:/maxon/Cinema 4D R16 Dev/modules/misc.module.xdl64 with module(s) net.maxon.misc
      Loading file:///C:/maxon/Cinema 4D R16 Dev/modules/network.module.xdl64 with module(s) net.maxon.network
      Loading file:///C:/maxon/Cinema 4D R16 Dev/modules/triangulation.module.xdl64 with module(s) net.maxon.triangulation
        
        
      \>>> PluginMessage:
        
      1000
        
        
      \>>> PluginMessage:
        
      1033567
        
        
      Vray License Acquired
      \>>> PluginMessage:
        
      1001188
        
        
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      WARNING: Unknown baselist allocator - RegID: 7 [ge_register.cpp(430)]
      \>>> PluginMessage:
        
      1033674
        
        
      \>>> PluginMessage:
        
      1033674
        
        
      \>>> PluginMessage:
        
      450000215
        
        
      Loading Project: C:\Users\niklas\Desktop\shadertest.c4d
        
      Rendering frame 0 at <Sat May 30 13:05:46 2015>
      Rendering Phase: Setup
        
      Progress: 0%
        
      Rendering Phase: Main Render
        
      Progress: 0%
        
      Rendering Phase: Finalize
        
      Rendering successful: 0.093 sec.
        
      \>>> PluginMessage:
        
      1002
        
        
      \>>> PluginMessage:
        
      300002148
        
        
      \>>> PluginMessage:
        
      1033568
        
        
      \>>> PluginMessage:
        
      1001
        
        
      \>>> PluginMessage: 300002146
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 31/05/2015 at 02:58, xxxxxxxx wrote:

        Okay, I've worked around this by building an API extension plugin. You can find all information
        in this repository: https://github.com/nr-plugins/rendernotif

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

          On 31/05/2015 at 04:43, xxxxxxxx wrote:

          Hi Niklas,

          thanks for this and the other great stuff at your github repository!

          Best wishes
          Martin

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