RAT Tricks (I)

原创 2005年05月01日 20:16:00


1.
[mattr "spotLightShape1.intensity" $F]

This is a simple TCL express which cites the MAYA attr value.

2.
And if you want to set slim image shader using mayaUV,you just can do this:

Setting the 'manifold' to 'mayaUV' and Using 'mayaUV''s TCL expressing like that

[st0 mayaTexcoordsysname]

[st1 mayaTexcoordsysname]

The 'mayaTexcoordsysname' is which you set name in Maya’s texCoordsysname.

note: you can using square map to equate  the hardware texture ,otherwise you'll get strage render result.

3.
if you want using other camera like 'light view' you can do like follow:

A. create a mtor coordinate and parent with aim light (eg: a direction light) and using outline or hypergraph to set the coordinate's shape to a understandable name.
B. Set renderman global the set renderview using the name which you just renamed.

4.
in the 'colorSpline' slim shader, you can  using 'ctrl + click' in the splinecolor  option to show another UI.

5.
Using rman Projection Texture method you will use as follow:

a. Build a slim node with two node : projection and surfacePt(surface point) and make sure the projection's manifold is reference to the surfacePt node.
b.creat a mtor coordinate and named it.
c.using [coordsys nameCoordsys] in the surfacePt node's space blank to using the coordinate which you was creat in maya's view.
d.Build a slim shade using 'a' and attach it to object which you want texture to .
e.When you want to stick the texture in UV object,select that object and click Renderman-> Primivite Variables->_Pref freeze.You will creat a attribute in objectshape node's Extra Attributes named Rman_P Pref which is contain the information of object's texture placement in it so you can deform that object without any apprehension. It’s Cool isn't it?
f.By the way ,you must parent the coordinate with the object so you can move the object too.
g. If you thought the coordinate is bother you control the object, just set its attribute Object Display to invisibility.


6.
This section is applied for section 2. if you want do some 'Repeat UV' or ' Rotate Frame' or ' Offset' or what else in the Attribute place2dTexture unit, you not only set the 'st' manifold as reference but also USING THE TEXTURE FILE NOT THE '.TEX' flie which  the texmake already convert form original format to the Pixar Tex format.so you can using the 'texture setting' to make it repeat.That's may a bug about slim cause  their are alot of slim shader not have equal option about 'repeat texture'.
And ,make sure set the Renderman->Attributes->Nurbs UV to 'Legacy' ,it was renderman default.seting as Maya UV may cause other problem like can't do some advance texture control.

7.
In the map gen,the Camera name blank can be filled with "$OBJNAME",that will make slim to request map generator every object  which it's attach to.The 'near' and 'far' define the clipping planes about map gen.If make them value as 0,it's means 'using global setting'.

8.
When you want do render as a alpha render,I mean make a 'hole' on the final image, don’t want some object be render and all behind it well be trough out, you can do as follow:

Create a ribbox and type
              Matte 1
in it . This is because "Matte" is a boolean variable which is do so.It's define in ri spac.

9.
The Renderman shader which has been 'compiled' can also build a poor interface attach it using the same name as the 'slo' file, but using '.sli' as extend.eg: in same directory,there have two file 'a.slo' and 'a.sli' , the later will define the slim interface.

10.
All RAT plugin such as 'MTORUltraFur' .etc can be compiled using M$ compiler. For example :in the devkit, type 'nmake'...Note: that like library using 'STLport' which was in the same directory. Learn form the source and enjoy yourself. But strangely can't be compier used M$ 7.1.(cause the STLport version doesn't mach?).

11.
When you make a slim palette named "world", don't attach it to anything  in your scene. It will automated insert in Your scene's rib file where the "world block".Note : All the rib palette which begin with "world" will automated insert it.

只是为了英语练习,若有语法错误,请纠正我,谢谢。

I am Rat Plus Plus

  • 2011年09月20日 15:07
  • 239KB
  • 下载

基于RFID的智能旅游CY-RAT-101/102游客管理系统

基于RFID的智能旅游CY-RAT-101/102游客管理系统     一、方案背景   近年来,旅游过程游客的安全一直以来受到各旅行社的高度重视,在一些景区,由于地形条件复杂、人群拥挤等因素...

Rat Attack POJ - 1916

Background  Baaaam! Another deadly gas bomb explodes in Manhattan's underworld. Rats have taken ove...

基于Zigbee的智能游客CY-RAT管理模式

基于Zigbee的智能游客CY-RAT管理模式   一、主要功能介绍   应用模式A(指定模式):打开PDA应用软件,将游客名单导入到PDA,利用PDA管理名单内的人员和物品。   功能  ...

e4rat对启动时间的优化

e4rat是一个加速Linux启动时间的专门工具,来减少ext4的访问次数,存在于linux内核2.6.31版本以上的,也就是说目前方德的所有系统都可以用。需要同时停用功能类似的服务ureadahea...

Oracle Database RAT介绍

  • 2010年08月30日 16:53
  • 493KB
  • 下载

基于RFID的智能旅游CY-RAT-101/102游客管理系统

基于RFID的智能旅游CY-RAT-101/102游客管理系统     一、方案背景   近年来,旅游过程游客的安全一直以来受到各旅行社的高度重视,在一些景区,由于地形条件复杂、人群拥挤等因素...

Aryan RAT v0.4 source src.rar

  • 2013年05月10日 15:20
  • 594KB
  • 下载

Geeks 面试题: Rat in a Maze 回溯法解迷宫

Backtracking 回溯法的三部曲: 1 初始化原始数据,开始点 2 判断下一步是否合法,如果合法就继续递归搜索答案,如果不合法就返回 3 递归直到找到答案,返回真值 这里只需要找到一个解就可以...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:RAT Tricks (I)
举报原因:
原因补充:

(最多只允许输入30个字)