Using Ribbox in MTOR

Report this File

Pxrm

Views:

35,224

Updated:

Sep 13, 2005

Readership Level:

Advanced

Tags:

Maya Versions:

1.x, 2.x, 3.x, 4.x, 5.x, 6.x, 7.x

Platforms:

irix, linux, mac, windows

Owner:

Language:

English

Now the Geometry RIB file :

In the Geometry file we got a lot of worthless informations we need to delete. Let's start by the end.

Delete the last two line of the RIB :

WorldEnd

FrameEnd

and delete all the first lines from the top of the file to to the Surface "DefaultSurface" line.

If you changed the name of your Shadow texture file in the shadow RIB file you need to do the same here :

Seach for the word shd and edit the name of your shadow.









7 - Save this file as City_box.rib



8 - Now it's time to render the shadows :

Open a DOS or UNIX shell whatever and type the folowing:

prman -progress "[path to your shadow Rib file]"

Your shadow should be rendered.

To see it Type :

sho [path to your TEX file]



9 - Back to Maya export selected (File>Export Selection) the Camera and set a new file (File>New File)

Import the camera Scene and in the RenderMan Menu Create a new Palette (Renderman>Slim>New Palette)

Rename it City_box and Create an apearance RIBBOX (File>Create Apearance>RIBBOX)

Double click on the new apearance and Rename it : world_[something you want].

The important thing is the word "world" i noticed that the RIBBOX doesn't work on nt if you not name the Apearance.(on NT)

You see only a button called Edit... Hit it .

A text editor open, type the line below:

ReadAchive "[Path to your Geometry Rib file]"

Save as City_box.ma.

Make sure that the parameter in RenderMan Globals are set correctly (Renderer >Render).

10 - Launch the Render .



Now you'll see that RenderMan does not need to work it just read the precalculed Shadows and RIB file and do the rendering.

Note : I noticed that the RIBBOX work better on SGI than NT, so if you got some problem (eg: the image is black)

You can just Output a RIB file of the Camera scene and edit it to add the ReadArchive manually.




That's it this is the end. I hope this tut will help you . If you have some comment feel free to contact me

Nicolas AITHADI aka "casquette"

Freelance Maya /Renderman

nicolas@nrender.com
<Copyright - 2000 - Nicolas AITHADI - All right reserved.

Comments

View artur Iskakov's profile
Jun 23, 2011
Post id: 14775
Report this comment to moderators [SPAM]

что ха херня. Где нормальные уроки по Рендер мэн,

Write a Comment

You must be logged in and have verified your email address to leave a comment. Login or create an account