[Bf-cycles] Add a Cycles Texture Node

Thomas Dinges blender at dingto.org
Sun Jan 8 03:55:07 CET 2012


Hi everyone,
thanks to Dalai, who helped me, I was able to continue.

The assert error was due to code inside nodes.cpp.
if(color1_in->link)... and if(color2_in->link) were the issues.

So I assume that this condition is not correct for color input sockets?
I still use that for the Vector and Float Input, which seems to work, 
and is done in the other Textur Nodes too.

I started with the actual implementation of the Checkerboard pattern, 
taking the BI Texture Node as a reference.
First issue I stumbled upon is the fabs math function, it seems this 
requires a float2 or 3 as input (see math_util.c in cycles code). How 
should that work then?

Any help here is appreciated! :)

Latest patch is attached.

Best regards,
Thomas

Am 07.01.2012 14:00, schrieb Thomas Dinges:
> After some debuging, the issue seems to be in the Stack assert.
>
> "Assertion failed: a+2 <64, [...]kernel\svm\svm.h"
>
> I have no idea how to fix that. This whole uchar encode/decode is a 
> mystery for me.
-- 
Thomas Dinges
Blender Developer, Artist and Musician

www.dingto.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20120108/900b963d/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cycles_tex_node3.patch
Url: http://lists.blender.org/pipermail/bf-cycles/attachments/20120108/900b963d/attachment.txt 


More information about the Bf-cycles mailing list