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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Testing of Shaders

    General Discussion
    0
    4
    638
    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
      Helper
      last edited by

      On 01/12/2013 at 02:21, xxxxxxxx wrote:

      Hi to all
      How do you test shaders if they were made by python?
      Can we put shader(pre-registered skeleton) in texture slot in real-time?

      Can somebody explain how to work or specifications for/with physical renderer and embree from maxon devs?
      (I'm blind and did not find info !Ouch[URL-REMOVED])


      [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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

        On 01/12/2013 at 07:38, xxxxxxxx wrote:

        1. Do NOT  write shaders in Python everything except from def Output(**kwrgs) : return cd.p will be fricking ** _ _** ** slow**. I have written a noise shader and a uv-grid shader and both are sooooo  slow.

        2.Not sure what you mean by real-time. You can reload a shader plugin like every other python plugin. In some scenarios you will have to reassign the shader to the material, but if you just change moo = 5+i to moo = i^5 you can reload and rerender without any further steps.

        3. I am not aware of any access to these features in python, I would be surprised if it is the case. But on the other hand I am often surprised 😉

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

          On 01/12/2013 at 08:14, xxxxxxxx wrote:

          Hi Ferdinand, thanks for answers!

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

            On 02/12/2013 at 01:22, xxxxxxxx wrote:

            Hi,

            I might have misunderstood your posting a bit, as the topic is "testing of shaders". For testing 
            python is fine or actually perfect. I did fixate a bit on your seemingly performance related question 
            regarding embree and pr.

            so long story short : testing some sort of shader code - good idea, expecting anything close to 
            the usual shader performance or even production ready - won't happen.

            happy rendering,
            ferdinand

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