|
软件要求:
Maya Blue Moon 2.6+ Pixar RenderMan Artist Tools 4.1+ Sky picture Mel CopiaValores (optional)
创建一个sphere,Radius设为50,改名叫SkyDome
如下图创建一个lambert材质,并加入你的天空贴图.
将这个材质赋予SkyDome,并将texture quality设为Highest

现在sphere看起来像这样

加上place3dTexture

在3d Texture Placement Attributes中点击Fit to group bbox

现在你的sphere会是这个样子

在球体内部加一些物体

创建一个Coordinate System (RenderMan/New Coordinate System).
 在Script Editor中读取mel_CopiaValores.mel(highend3d上应该有这个mel)

在outline中选择place3dTexture1然后选mtorCoordSys后,执行上一步的mel script
创建一个RibBox指向indirect rib(我们在这篇Using Blue Moon with Slim /Area Light教程里做的)
创建一个constant,在颜色通道里加一个ImageFile,并读取sky file,BlueMoon只能认TIF文件.
(关于bluemoon的用法参见Using Blue Moon with Slim /Area Light

在ImageFile/Manifold连接一个MayaProj
 在Place3d Coords中写入coordinate system的名字(mtorCoordSysShape).
 将constant连接到SkyDome上,并在你的场景中增加一些shader

然后渲染场景
 
 
|