getting correct triangles from RayPolygon



  • On 04/03/2015 at 06:59, xxxxxxxx wrote:

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

    ---------
    let's consider I have a RayPolygon which is quad.
    now which is the correct 2 triangles:
    1- (a, b, c) , (a, c, d)
    or
    2- (a, b, d) , (b, c, d)

    and what can I do with the flag: RAYPOLYSTATE_SPLIT ?



  • On 05/03/2015 at 07:28, xxxxxxxx wrote:

    Hi Mohamed,

    The correct 2 triangles in a RayPolygon are (a, b, c) and (a, c, d) :

    d-------------c
    |             |
    |             |
    |             |
    |             |
    |             |
    |             |
    a-------------b

    RAYPOLYSTATE_SPLIT is meant for non-planar faces. It's mostly unused.



  • On 05/03/2015 at 07:51, xxxxxxxx wrote:

    thanks Yannick


Log in to reply