cmd-renderer: Message when project is loaded



  • 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
    


  • 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



  • 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


Log in to reply