Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Ray Collision “face_id” hits not all correct , using C4D python

  • Ray Collision “face_id” hits not all correct , using C4D python

    Posted by anam hasan on May 22, 2022 at 5:02 pm

    Hi there,

    i am trying to hide polygons not visible in a camera path animation. I have the script working to some degree. I am using the ray collider functions and storing the face_id hits in a list, this is producing some weird results. I have checked the path of the rays which seem correct. The rays don’t all seem to be registering a face hit when they definitely should be and some faces are being hit when they shouldn’t be. This is a test file I am working with (see attached) The polygons that are stored in the face_id hit list are then updating the polygon selection tag.

    I have attached the script in a null in a python tag, so please run it from the script manager to test it. I couldn’t seem to attach the python file to this separately.

    Any help would be much appreciated

    A

    anam hasan replied 4 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy