Cycles Hair: refactoring to store curves with the index of the first key and the
number of keys in the curve, rather than curve segments with the indices of two keys. ShaderData.segment now stores the segment number in the curve.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
/* bvh */
|
||||
KERNEL_TEX(float4, texture_float4, __bvh_nodes)
|
||||
KERNEL_TEX(float4, texture_float4, __tri_woop)
|
||||
KERNEL_TEX(uint, texture_uint, __prim_type)
|
||||
KERNEL_TEX(uint, texture_uint, __prim_segment)
|
||||
KERNEL_TEX(uint, texture_uint, __prim_visibility)
|
||||
KERNEL_TEX(uint, texture_uint, __prim_index)
|
||||
KERNEL_TEX(uint, texture_uint, __prim_object)
|
||||
@@ -44,7 +44,7 @@ KERNEL_TEX(float4, texture_float4, __tri_vindex)
|
||||
KERNEL_TEX(float4, texture_float4, __tri_verts)
|
||||
|
||||
/* curves */
|
||||
KERNEL_TEX(float4, texture_float4, __curve_segments)
|
||||
KERNEL_TEX(float4, texture_float4, __curves)
|
||||
KERNEL_TEX(float4, texture_float4, __curve_keys)
|
||||
|
||||
/* attributes */
|
||||
|
Reference in New Issue
Block a user