[Bf-cycles] Set custom normals in a mesh
3dsakr at gmail.com
Tue Feb 6 10:54:55 CET 2018
just use an attribute.
Attribute *attr = attributes.add(ustring(name), TypeDesc::TypeNormal,
float3 *attr_data = attr->data_float3();
On Tue, Feb 6, 2018 at 9:01 AM, F Escobar <materialesescobar at hotmail.es>
> Besides that trusting in cycles to re-create the smooth normals in the
> meshes seems to be ok, I was wondering if there is anyway to write custom
> normals, modify them and so.
> Regards, F.
> Bf-cycles mailing list
> Bf-cycles at blender.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bf-cycles