forked from bartvdbraak/blender
7e823969b5
Was causing calculation issues later on in the kernel. This change catches the most obvious case: missing attribute. The old code was trying to set tangent to 0, but because it was transformed as a normal it got converted to non-finite value. This change makes it so that no transform is involved and 0 is written directly to the SVM stack. To cover all cases it will require using safe_normalize() in this node and in the normal transform function. This is more involved change from performance point of view, would be nice to verify whether we really want to go this route. I've left asserts in the BSDF allocation functions. Don't have strong connection to them, but think they are handy and are not different from having an assert in the path radiance checks. Differential Revision: https://developer.blender.org/D11235 |
||
---|---|---|
.. | ||
svm_ao.h | ||
svm_aov.h | ||
svm_attribute.h | ||
svm_bevel.h | ||
svm_blackbody.h | ||
svm_brick.h | ||
svm_brightness.h | ||
svm_bump.h | ||
svm_camera.h | ||
svm_checker.h | ||
svm_clamp.h | ||
svm_closure.h | ||
svm_color_util.h | ||
svm_convert.h | ||
svm_displace.h | ||
svm_fractal_noise.h | ||
svm_fresnel.h | ||
svm_gamma.h | ||
svm_geometry.h | ||
svm_gradient.h | ||
svm_hsv.h | ||
svm_ies.h | ||
svm_image.h | ||
svm_invert.h | ||
svm_light_path.h | ||
svm_magic.h | ||
svm_map_range.h | ||
svm_mapping_util.h | ||
svm_mapping.h | ||
svm_math_util.h | ||
svm_math.h | ||
svm_mix.h | ||
svm_musgrave.h | ||
svm_noise.h | ||
svm_noisetex.h | ||
svm_normal.h | ||
svm_ramp_util.h | ||
svm_ramp.h | ||
svm_sepcomb_hsv.h | ||
svm_sepcomb_vector.h | ||
svm_sky.h | ||
svm_tex_coord.h | ||
svm_types.h | ||
svm_value.h | ||
svm_vector_rotate.h | ||
svm_vector_transform.h | ||
svm_vertex_color.h | ||
svm_voronoi.h | ||
svm_voxel.h | ||
svm_wave.h | ||
svm_wavelength.h | ||
svm_white_noise.h | ||
svm_wireframe.h | ||
svm.h |