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

    BaseDraw Documentation

    SDK Help
    0
    2
    166
    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 10/03/2014 at 09:11, xxxxxxxx wrote:

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

      ---------
      Hi,
      I have a question about something in the BaseDraw documentation.
      it says this:

      static BaseDraw* Alloc()  
      Useful for situations when there is no base draw avaible.  
      It is used for instance in Mograph's Camera shader.
      

      It has a spelling error in it. But that's not what I'm wondering about.
      I looked at the Camera Shader. And I'm wondering how the BaseDraw is used?
      Is it being used to get the camera's screen matrix?
      The documentation teases us about the Camera Shader. But it never explains how it works.

      Can I use this same technique to put an image in the TextureViewer somehow?
      Can I use this same technique to draw in a shader plugin somehow?

      -ScottA

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

        On 13/03/2014 at 12:38, xxxxxxxx wrote:

        Hi Scott, I cannot help you here. But since you mention the Camera Shader, I'd like to mention that there is a bug in the R15 Camera Shader, when rendering. It looks ok at design time (if you have enabled the view options to show the result alt all), but the height (Y scale) when rendered is wrong.
        The bug is confirmed by Maxon.
        I hope they fix it, I really hope we can get a major bugfix soon, with this included. I like, and use the Camara Shader. The fact that it takes months, perhaps a year, before something like this is fixed, is not satisfactory. Because it works in R14!

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