Article View: comp.sys.next.programmer
Article #2013Getting Renderman examples involving RiLightSource to work?
From: Peter Milne
Date: Mon, 04 Jan 1993 00:02
Date: Mon, 04 Jan 1993 00:02
30 lines
1635 bytes
1635 bytes
Following advice from other recent posters I managed to get the simple
Renderman example on page 18 of "The Renderman Companion" to work.
Unfortunately thought, I haven't been able to get the next example on
page 20 to work. This example involves a RiLightSource call.
When I execute this example I get the following warning msg:
Warning in context RMContext00001 in command RiLightSource :
nullpointer: 'light' == 0
and nothing involving the specification of the lightsource gets written into
the .rib file.
Now I've tried it with and without the following RiOption
RiOption(RI_ARCHIVE, "outputversion", &v31, RI_NULL);
The release notes for 3DKit say not to use this form of RiOption because
the version number doesn't get correctly written to the .rib file
and that instead you should use RiComment("\nversion 3.1"); Trouble is
RiComment doesn't seem to be in Media_s or NeXT_s and isn't commented
anywhere that I could find.
The release notes also say that this form of RiOption causes RiLightSource
to generate invalid sequence numbers and that it should be avoided.
Has anyone succeeded in getting the page 20 example to work? Is so how
did you do it?
Cheers,
Peter (milne@csis.dit.csiro.au)
Technical Details
Message-ID:
<1993Jan4.000209.14805@csis.dit.csiro.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel.anu.edu.au!dubhe.anu.edu.au!csis!pwmShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!manuel.anu.edu.au!dubhe.anu.edu.au!csis!pwm From: pwm@csis.dit.csiro.au (Peter Milne) Subject: Getting Renderman examples involving RiLightSource to work? Message-ID: <1993Jan4.000209.14805@csis.dit.csiro.au> Organization: CSIRO Division of Information Technology Date: Mon, 4 Jan 1993 00:02:09 GMT Lines: 31