<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    On 22/03/12 17:05, Mike Farnsworth wrote:
    <blockquote
cite="mid:CAPZh=Fuiqyu0RvnCoKOF8_WH=fyeDot4ZqnvXcoP8O-mb0hiiQ@mail.gmail.com"
      type="cite">
      <pre wrap="">Here is a patch that re-enables the Ward anisotropic shading node, and
builds proper smoothed tangents on meshes for shading.  It only builds
and uploads the data as a node requests it, to minimize the memory
hit.  It computes tangents per face-vertex (corner), as it will
respect discontinuous UVs as they are assigned by the artist.

In the case the UVs are missing, it currently tends to just render
black.  It would be nice if it fell back to something more reasonable
(like faceted dPdu), but I couldn't easily figure out how to tell the
node in the kernel that no loadable tangents were available.  So, it
is currently a hard requirement for using the anisotropic shading
closure that UVs must be laid out on the mesh first.

-Mike
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Bf-cycles mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a>
</pre>
    </blockquote>
    Thank you so much for working on this, there is some issues though<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://mfoxdogg.com/development/cycles_ward_test.png">http://mfoxdogg.com/development/cycles_ward_test.png</a><br>
    <br>
    firstly, it should not be darker then regular gloss<br>
    secondly, it dosn't respect UV discontinuities, granted this is how
    BI's tangents are made, but in modern rendering its not allowed,
    that's what mikktspace lib is for, to get help on how to use it, get
    a hold of sparky in #blendercoders he knows more about tangents then
    we will ever know :)<br>
    <br>
    Great work so far, keep it up :)<br>
  </body>
</html>