Navigation

    • Register
    • Login
    • Search
    1. Home
    2. anamate
    A

    anamate

    @anamate

    0
    Reputation
    2
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    anamate Follow

    Best posts made by anamate

    This user does not have any upvoted posts yet.

    Latest posts made by anamate

    RE: Multi threading in C4D python

    thanks Ferdinand this cleared things up for me

    posted in Cinema 4D SDK •
    Multi threading in C4D python

    hi there,
    I managed to get a script working that can select and hide polygons that are outside of the camera frustrum as well as polygons that are behind other polys along a camera path. I’m using the ray collider to detect what poly face has been hit from the camera's position and then selecting this with the polygon selection tag.
    I am now trying to use threading in python to split the ray hits calculations between my computer’s threads so that I can speed up the script’s running time. Having some issues at the moment with getting the script to show the selected polys. It works when threading is False, but not sure what I am doing wrong in my setup for when threading is true, any help would be much appreciated

    attached is a test file and the python script which runs in the script manager220608_occlusion_frustrum_threaded02.py
    A220608_model with path 2.c4d

    posted in Cinema 4D SDK •