共 49 篇文章
显示摘要每页显示  条
houdini下3delight surface shader R2000警告3DL WARNING R2000: object ''param'' (displacement ''....'', surface ''...'') has no displacement bound but was displaced by ''....'' (in eye space)例子:3DL WARNING R2000: object ''/obj/grid_object1'&#...
float i, x)设置x,y,z或者第i个元素的值float length(vector V / normal V)float distance(point P0, P1)float ptlined(Point P0, P1, Q)返回从Q到由P0P1组成的线上最近的一点的距离vector reflect(vector I, N)对于入射角I以及表面法线N,返回一个反射方向R = I - 2 * (N.I) * N注意,N必须做过标准化了。float myfunc(float f){ float ...
Rman中的坐标系camera space: 默认的初始坐标系,+z轴伸向相机前方,+x轴指向左边,+y轴指向上方(左手坐标系)当Projection被调用时,camera space就被创建了,在此时,当前的transformation matrix被设置为indentity。从此时开始,到WorldEnd为止,对当前transformation matrix的改变创建的都是与world space相关的坐标系,即,矩阵从local坐...
Class 21 Other Kinds of Shader 02Lighting Shaders:除了控制surface的表现之外,我们也可以用shader控制场景中的灯光。surface shader的任务是计算物体表面的颜色,而light shader的任务则是决定一个点上接收多少光源。
Class 3 lightingpointlight: 有光源位置,无方向(oritation),有参数“from”,按照inverse square law(反向平方率)——没当光源距离变为两倍,光线亮度就衰减到1/4 。distantlight:有方向,无光源位置,有参数“to”,只代表一个vector,不代表指向的点spotlight:有光源位置,有方向,有参数“from”和“to”,以及“coneangle”和"...
ubuntu下编译安装pixie编译安装fltk:./configure --bindir=/usr/bin --libdir=/usr/lib --includedir=/usr/include --prefix=/usr --enable-sharedmakemake install编译安装pixie:./configure --prefix=~/Pixie --enable-selfcontainedmakemake install.
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部