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
    • Recent
    • Tags
    • Users
    • Login

    Multi-polygon beveling?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 182 Views
    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 Offline
      Helper
      last edited by

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

      On 03/07/2009 at 09:55, xxxxxxxx wrote:

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

      ---------
      Basically the same as the C4D Bevel tool with multiple adjacent polygons selected and "Preserve Groups" enabled. I can't use it in a multi-threaded context (due to function entrancy) so need to develop my own. Several days on the internet and a post at CGTalk's Graphics Programming forum really haven't resolved this.

      Since my beveling is using a 0-100% value rather than a distance, the 100% will be just before crossover occurs (where the top surface polygons degenerate into lines or points). The general solution seems to be to do a point-line distance using the vertices and edges not connected to the vertex in question. When one of these goes to 0.0, that would be 100% (the resulting max distance would be precalculated I suppose).

      Does anyone have pointers to resources (papers, algorithms, code, maths) about this?

      Thanks,

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

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

        On 04/07/2009 at 23:40, xxxxxxxx wrote:

        Hi,

        if you need some point-line distance stuff i can provide you, but other then that i wouldnt know..

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