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

    vd->TraceGeometry with Displacement

    SDK Help
    0
    6
    689
    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/05/2003 at 06:03, xxxxxxxx wrote:

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

      ---------
      vd->TraceGeometry doesn't work for channel-shaders in the displacement-channel. Is this a know limitation? or a workaround available?

      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 11/05/2003 at 16:25, xxxxxxxx wrote:

        you need to switch on the raytracing flag for your shader.
         
        cheers
         
        Paul Everett

        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 12/05/2003 at 07:34, xxxxxxxx wrote:

          Hi Paul,

          The CHANNEL_RAYTRACING is flag on, otherwise TraceGeometry would not work.
          (and I have also tried SHADER_RAYTRACING)

          The problem is only in the displacement-channel, all other channels works without a problem.

          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 12/05/2003 at 07:46, xxxxxxxx wrote:

            i had a problem with this as well
            i just disabled  my shader for the displacement channel.
            thats how i got around it.
            do you really need your shader to work in displacement channel ?
            or is this just a problem cos it crashes?
             
            cheers
             
            Paul

            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 12/05/2003 at 08:04, xxxxxxxx wrote:

              fortunately there is no crash using the displ-channel (at least here on my mac), but it would be important that I can use it.

              would be great if there is a workaround for this problem

              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 14/05/2003 at 14:57, xxxxxxxx wrote:

                There are two issues:
                - During displacement VolumeData->ray is NULL (as there is no ray for displacement). Shaders that access the ray without a NULL test may crash.
                - TraceGeometry() cannot work during displacement, as the displacement modifies the geometry itself! The raytracing engine is initialized AFTER displacement calculations are done.

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