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
    • Register
    • Login

    Speed of complicated Shader

    Scheduled Pinned Locked Moved SDK Help
    1 Posts 0 Posters 155 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 21/09/2005 at 14:06, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.1 
      Platform:      
      Language(s) :     C++  ;

      ---------
      I am creating a fairly complicated shader that requires a fair bit of processing, quite a bit of Sampling existing shaders.

      Now, when C4D creates a preview of the shader in the AM, its quite fast (fast enough to use), when rendering, the shader is fast enough to use. The problem I am getting is when C4D updates the editor window and maps a low res version across a mesh, this is taking FOR-EVER.

      I can speed this up a bit by generating a basic version of the shader when !cd->vd, but this also creates a basic version in the preview of the AM, which i don't really want.

      Is there someway to detect what part of c4d is creating the shader for previewing, so I could create the basic version on just the editor update stage?

      Or any other suggestions hanging around?

      Thanks

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