Blender Git Loki

Git Commits -> Revision f60b95b

Revision f60b95b by Aaron Carlisle (master)
December 6, 2021, 19:47 (GMT)
Shader Nodes: Split each node into own file

This improves both code finding, for example "color ramp" now has its own file.
And now each node has its own namespace so function names can be simplified
similar to rBfab39440e94

This commit also makes all file names use snake case instead of camel case.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D13482

Commit Details:

Full Hash: f60b95b5320f8d6abe6a629fe8fc4f1b94d0d91c
Parent Commit: c3c69fe
Lines Changed: +1277, -1165

12 Added Paths:

/source/blender/nodes/shader/nodes/node_shader_color_ramp.cc (+189, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_combine_hsv.cc (+77, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_combine_rgb.cc (+86, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_combine_xyz.cc (+67, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_mix_rgb.cc (+200, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_rgb_to_bw.cc (+74, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_separate_hsv.cc (+75, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_separate_rgb.cc (+119, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_separate_xyz.cc (+103, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_shader_to_rgb.cc (+67, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_uv_along_stroke.cc (+45, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_vector_transform.cc (+161, -0) (View)

8 Deleted Paths:

/source/blender/nodes/shader/nodes/node_shader_mixRgb.cc (+0, -200)
/source/blender/nodes/shader/nodes/node_shader_sepcombHSV.cc (+0, -128)
/source/blender/nodes/shader/nodes/node_shader_sepcombRGB.cc (+0, -177)
/source/blender/nodes/shader/nodes/node_shader_sepcombXYZ.cc (+0, -142)
/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.cc (+0, -67)
/source/blender/nodes/shader/nodes/node_shader_uvAlongStroke.cc (+0, -45)
/source/blender/nodes/shader/nodes/node_shader_valToRgb.cc (+0, -235)
/source/blender/nodes/shader/nodes/node_shader_vectTransform.cc (+0, -161)

3 Modified Paths:

/source/blender/blenkernel/intern/node.cc (+1, -1) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -1) (Diff)
/source/blender/nodes/shader/CMakeLists.txt (+12, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021