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

    Ngon modeling lib and GeRayCollider

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 206 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 09/11/2009 at 08:15, xxxxxxxx wrote:

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

      ---------
      HEllo all,
      here my new problem 🙂
      in my tool plugin i'dd like create a similar tool as knife hole tool.

      in my tool i use geraycollider class to know if user hit on any polygon and then if all polygon are in the same ngon i'dd like to create hole with mod->CreateHole();

      the problem in my case is to find the ngon index that use all of my hit face( geraycollider return polygon index and not ngon index)i have tried ((PolygonObject* )obj)->GetPolygonTranslationMap(ngoncount,gonarr); but in all case ngon index is wrong 😞
      as i understand modeling lib.. after modeling->Init(); indexing is managed by library and GetPolygonTranslationMap in not correct.
      any idea ?
      Franz

      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 10/11/2009 at 03:01, xxxxxxxx wrote:

        any Help ?
        Franz

        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 10/11/2009 at 03:25, xxxxxxxx wrote:

          sorry solved... this was my problem in indexing 🙂
          Franz

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