摘要:
1、blender-additive渲染一个茶壶的变色过程_Blender:颜色混合器,功能包括混色、高亮、加色和灰化等。additive(_Color.1, _Color2, time)在time时间内从颜色1变化到颜色2,返回_Blender_rd:useBlender(b1) teapot:drawMesh()_rd:popBlender()PS:前面有过_rd:useLight(a)和_rd.bgColor的过程,最后的效果会出现一个颜色混合的效果,不只是蓝色变到黄色。 1 _dofile('cameracontrol.lua') 2 teapot = _mf:crea 阅读全文
posted @ 2013-11-21 18:14
丿聪丶
阅读(482)
评论(0)
推荐(0)
摘要:
1、ambientlight_rd:uselight(light)将light压入渲染设备的光栈。渲染设备会使用光栈中的所有元素来渲染。每个useLight应该对应一个popLight。多次压入颜色会呈现混合后的颜色。例如:绿+红=黄 1 _dofile('cameracontrol.lua') 2 teapot = _mf:createTeapot() 3 _rd.camera.eye = _Vector3.new(30, 30, 30) 4 5 ambient = _AmbientLight.new() 6 ambient.color = _Color.Green 7 _r 阅读全文
posted @ 2013-11-21 15:44
丿聪丶
阅读(446)
评论(0)
推荐(0)

浙公网安备 33010602011771号