Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Preview of a shader...

    SDK Help
    0
    5
    446
    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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 06/09/2003 at 12:13, xxxxxxxx wrote:

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

      ---------
      I have a noise shader here but have a problem. The shader works fine on the object and the material preview is correct too, but the preview in the AM doesn´t work at all :
      The problem is that I am using cd->vd->p as evaluation point of my noise function. When the AM preview is calculated though VolumeData doesn´t seem to be valid so I cannot use it.
      So what I can use instead when vd is NULL?
      Thank you
      Samir

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 07/09/2003 at 00:53, xxxxxxxx wrote:

        If you mean the (new) preview control then you probably should be asking this of sdk_support and not here 😉

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 07/09/2003 at 05:28, xxxxxxxx wrote:

          hi,
          no I am talking about the preview in the AM that is in there since version 8. It´s under the texture group (that´s the name of the gui element I think...) in almost all channels.
          Samir

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 07/09/2003 at 06:07, xxxxxxxx wrote:

            ok, got it already

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 07/09/2003 at 19:49, xxxxxxxx wrote:

              cd->p is not a coordinate in world or local space but a  width and height value in range from 0.0 to 1.0.This value gives you a position on a 2d map . this is the map that you will see in your preview and render. So its 2D texure space and not 3d space.
               
               
              >If you mean the (new) preview control then you probably should be asking >this of sdk_support and not here 😉
              all the more reason for a SDK conference in fc 🙂

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