PDA

View Full Version : Pixie and 'Essential Renderman' example


emack
07-10-2003, 11:05 PM
I'm just stepping into Renderman and am working through 'Essential Renderman Fast' using Pixie 1.2.1. (I'm interested in the GI capabilities.)

The first RIB file in the book is as follows:

#min.rib - a minimal scene
Display "min.tiff" "file" "rgb"
Projection "perspective"
WorldBegin
Translate 0 0 2
Sphere 1 -1 1 360
WorldEnd

This should, according to the book, generate a white sphere. When I tell Pixie to render the file, the result is a blank min.tiff file. The examples in the Pixie distribution seem to work fine, creating correct images.

Is there something I have missed? (Quite likely :-) )

Thanks,

Eliot

Mazer
07-10-2003, 11:59 PM
well I'm a renderman noob but... aren't you suposed to add a light to the scene?

emack
07-11-2003, 12:30 AM
Good suggestion. According to ERF the default material is self illuminating . . . but perhaps Pixie has a different setting somewhere?

In any case, I added

LightSource "pointlight" 1
"from" [-2 2 -2]
"intensity" [ 7 ]

directly after WorldBegin and got an image . . onward.

Eliot

Anteru
07-16-2003, 04:52 PM
Without setting anything, just with the first file you sent it works with Aqsis (www.aqsis.com). I assume there is a problem with Pixie on this file.

Array
07-18-2003, 02:15 AM
you need to assign a shader to the sphere.

do something like

Surface "plastic"

before describing the sphere.

Anteru
07-18-2003, 08:40 AM
if you don't have a lightsource, you shouldn't apply a standard shader. The default shader (if no surface is specified) is usually light-independent -> i.e. you don't need any light.

CGTalk Moderation
01-15-2006, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.