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

    Sub Polygon Displacement

    SDK Help
    0
    3
    274
    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 31/07/2012 at 15:28, xxxxxxxx wrote:

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

      ---------
      Hy there,

      how can I access the subdivided object from within a shader at rendertime? Is this possible? I need to calculate some geometry based entities ...

      Why has the sid of the BaseVolumeData, sometimes a high negative value, when SPD is enabled?

      Thank you,
      maxx

      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 04/08/2012 at 21:42, xxxxxxxx wrote:

        The subdivided object is not stored anywhere. Only the needed parts of it are cached and used as needed. As far as I know that geometry is not accessible, but can be computed using the VolumeData calls (*CentralDisplace* ). The local indices (uu, vv) can be computed from the sid.

        The large negative values represent a flag in the highest bit, it should be detected and removed. The flag informs of the orientation of the sub poly (don't remember the details now)... Maybe someone else can add more?

        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 09/08/2012 at 14:46, xxxxxxxx wrote:

          Thank you for the informations. I'll have another look at those methods .. but the docs don't say a lot about spd ... very hard to figure this stuff out.

          Cheers,
          maxx

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