[Bf-cycles] Add a Cycles Texture Node

Thomas Dinges blender at dingto.org
Sun Jan 8 04:37:55 CET 2012


Small update, I think I figured out the fabs math thing.

If I am right here, the only thing left would be the output somehow.

Am 08.01.2012 03:55, schrieb Thomas Dinges:
> 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
> blender.org/mailman/listinfo/bf-cycles 


-- 
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/47dee5b6/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cycles_tex_node4.patch
Url: http://lists.blender.org/pipermail/bf-cycles/attachments/20120108/47dee5b6/attachment.txt 


More information about the Bf-cycles mailing list