<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
added the patch to the tracker:
<a class="moz-txt-link-freetext" href="http://projects.blender.org/tracker/index.php?func=detail&aid=32401&group_id=9&atid=127">http://projects.blender.org/tracker/index.php?func=detail&aid=32401&group_id=9&atid=127</a><br>
This is a newer version, removed some unneeded variables and
adjusted button ranges a bit. <br>
<br>
Am 21.08.2012 20:25, schrieb Thomas Dinges:<br>
</div>
<blockquote cite="mid:5033D29E.1050109@dingto.org" type="cite">Hi
Brecht,
<br>
<br>
Welcome back! :)
<br>
<br>
I implemented a Brick Texture Shader for Cycles, based on the BI
internal one. It has several options to tweak the look of the
bricks.
<br>
I attached a patch.
<br>
<br>
Picture of the Texture: <a class="moz-txt-link-freetext" href="http://temp.dingto.org/brick_texture5.png">http://temp.dingto.org/brick_texture5.png</a>
<br>
<br>
ToDo/Bugs:
<br>
* There are some input sockets, which are passed over to the
shader as expected, but I have problems with the 2 float RNA
values.
<br>
See nodes.cpp, I have offset = 0.5f; and squash = 1.0f; I can't
find a way to pass those 2 values to the svm code correctly.
<br>
The other two values coming from RNA (offset_frequency and
squash_frequency) work fine, but they are integer.
<br>
<br>
* The Texture only works fine on X vector, y and z have issues,
but that's the same limitation as in the BI Brick node.
<br>
<br>
Could you take a look / review please? :)
<br>
<br>
Best regards,
<br>
Thomas
<br>
<br>
<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>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thomas Dinges
Blender Developer, Artist and Musician
<a class="moz-txt-link-abbreviated" href="http://www.dingto.org">www.dingto.org</a></pre>
</body>
</html>