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

    Intersection of Objects

    SDK Help
    0
    6
    1.2k
    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 25/11/2002 at 22:57, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   7.303 
      Platform:   Windows  ; Mac  ;  
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi,
      I have posted my question here: www.vinogroup.com/vino/question2.gif
      Can anybody help me?

      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 27/11/2002 at 09:03, xxxxxxxx wrote:

        Are the objects planar, i.e. flat and in the same plane?

        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 28/11/2002 at 01:05, xxxxxxxx wrote:

          1. Yes. Both the objects are in same level. This is my first step.
          But later I would like to find intersection point of objects which are in different levels also.
          2. Mikael can you help me in one more question? How can i find whether an object is there in a particular point or not? ie. If i pass an vector point to my function, it should tell the list of objects available in that point. Is there any builtin function in COFFEE? What I feel to do is, get the objects one by one and compare each of its points with the input parameter. Am i correct to say this? I feel this procedure is not effective one. Any guidelines for me?

          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 28/11/2002 at 02:46, xxxxxxxx wrote:

            1. Just loop through all pairs of edges and check for intersections. I'm afraid the specific algorithms are outside the scope of regular developer support. Either consult a book or web site on the subject, or hope that someone else here can help you.

            2. No, there's no such function in C.O.F.F.E.E. The easiest algorithm is to consider a ray from the point to infinity and count the number of intersections of that ray with polygons of the object. If there are an odd number of intersections the point must be inside the object.

            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 29/11/2002 at 02:50, xxxxxxxx wrote:

              Mikael, do you know any good book for 3D programming?

              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 29/11/2002 at 05:50, xxxxxxxx wrote:

                Have a look in the Litterature section of the Further Information chapter in the C++ SDK documentation. ([URL-REMOVED]#literature0)


                [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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