home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: 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
-
- 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)
-
-