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

    Orientation of UV at surface point p

    SDK Help
    0
    5
    381
    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 13/03/2004 at 02:42, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.503 
      Platform:      Mac OSX  ; 
      Language(s) :   C.O.F.F.E.E  ;  C++  ;

      ---------
      I have a channel shader which is using another shader as input.

      It's easy to sample the secondary shader at the correct point. However, how can I retrieve the "orientation" of the UV-Map at my surface point p?

      Thanks for any help!

      Klaus

      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 13/03/2004 at 10:37, xxxxxxxx wrote:

        Maybe could just drop a not if vd->GetDUDV() delivers the necessary information, so that n, ddv and ddu deliver the the needed matrix?

        Thanks

        Klaus

        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 16/03/2004 at 23:07, xxxxxxxx wrote:

          ddu and ddv were on the right track... however, ddu and ddv are probably *not* necessarily perpendicular to each other, are they?

          Kabe

          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 18/03/2004 at 01:03, xxxxxxxx wrote:

            The docs only say that they are perpendicular to the normal, so I guess they could even be parallel in pathological cases. What are you using the "orientation" for, and what do you mean more precisely by "orientation"?

            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 18/03/2004 at 02:19, xxxxxxxx wrote:

              By "orientation" I mean the UV-direction of the UV Map seen perpendicular to the normal n. I realized in the meantime that the direction could be generated out of ddu *or* ddv - though the result is often different.

              BTW: Are ddu/ddv normalized?

              Thanks

              Kabe

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