Tangent Vectors [SOLVED]



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 03/10/2010 at 23:43, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R11.532 
    Platform:      Mac OSX  ; 
    Language(s) :       PYTHON  ;

    ---------
    Hi guys!
    I'm new to the SDK and have a short question.
    Is it possible to access tangent and binormal vectors from a
    C++ or Py4D plugin?

    I can check if the normal channel of an attached material
    is true or false and I can access vertices, normals, texture coordiantes
    and indexes of an polygon, but I didn't found a way to
    access tangent vectors.

    I'm currently writing an specialized exporter plugin and it
    would be really nice to export tangent and binormal, or
    at least tangent vectors.

    Does anyone know how to access them?

    Thanks in advance,
    nkei666



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 04/10/2010 at 02:00, xxxxxxxx wrote:

    Do you need them in a material? If so you can use VolumeData::GetDUDV(). In case a VolumData is not avaible you have to calculate them on your own.

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/10/2010 at 06:02, xxxxxxxx wrote:

    Thanks for the answer. I guess I need to compute them on my own.


Log in to reply