Results 1 to 3 of 3

Thread: help on assign root and tip color of fur when using miExportMaterial on fur

  1. #1
    Join Date
    Jul 2009
    Posts
    6

    Default help on assign root and tip color of fur when using miExportMaterial on fur

    i am following this tutorial to use override material on maya fur,

    http://blog.the3dagency.com/2010/02/...-maya/#more-71

    it works smoothly, but i find some difficulties in assign the root and tip color of the fur,
    i know that there is a ctrl_scalar shader to make use of scalar state's Barycentric A / Crosswise Hair and
    Barycentric B / Lengthwise Hair to color the fur (like XSI)

    could some body give me an advice on how to get the scalar state shader to work in maya,
    or the source code of ctrl_scalar


    i work on Maya 2011 x64, windows7 64bit

  2. #2
    Join Date
    Dec 2004
    Location
    Moscow, Russia
    Posts
    347

    Default

    You may view this thread:
    http://forums.cgsociety.org/showthre...?f=87&t=786803
    I suppose ctrl_scalar works similar to my p_hair_mapping.
    In theory, for length mapping you just need connect state->bary[1] (that these shaders return) to your ramp1.vCoord
    Also you may use any mix or blend node.
    Pavel Ledin

  3. #3
    Join Date
    Jul 2009
    Posts
    6

    Default

    Thanks a lot!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •