博文

目前显示的是 三月, 2020的博文

VIZA 616 Rendering and Shading Grape

图片
VIZA 616 Rendering and Shading, Spring2020  Recreate the pattern of grapes,  Jiaqi Cui __________________________________________________________________________________________ Render Image just use PxrConstant(BaseColor) Render us PxrSurface Added ClearCoat,SubSurface,RoughReflection, and Glass refrection/reflection __________________________________________________________________________________________ Analysis before starting __________________________________________________________________________________________ Step1. Setting Base Color //2020-03-010// // VIZA 616 Rendering and Shading, 2020 Spring // // by Jiaqi Cui// shader grape(float minDistance = 0.0, float maxDistance = 0.0, color dark_baseColor = color(0,0,0), color pale_baseColor = color(0,0,0), string space = "world", output float blend = 0.0, output float dist = 0.0, output color resultRGB = 0) { point PP = transform(space,P); dist = distance(P...