home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / programm / 7969 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.6 KB  |  41 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!dubhe.anu.edu.au!csis!pwm
  3. From: pwm@csis.dit.csiro.au (Peter Milne)
  4. Subject: Getting Renderman examples involving RiLightSource to work?
  5. Message-ID: <1993Jan4.000209.14805@csis.dit.csiro.au>
  6. Organization: CSIRO Division of Information Technology
  7. Date: Mon, 4 Jan 1993 00:02:09 GMT
  8. Lines: 31
  9.  
  10. Following advice from other recent posters I managed to get the simple
  11. Renderman example on page 18 of "The Renderman Companion" to work.
  12. Unfortunately thought, I haven't been able to get the next example on
  13. page 20 to work.  This example involves a RiLightSource call.
  14. When I execute this example I get the following warning msg:
  15.  
  16.     Warning in context RMContext00001 in command RiLightSource :
  17.     nullpointer: 'light' == 0
  18.  
  19. and nothing involving the specification of the lightsource gets written into
  20. the .rib file.
  21.  
  22. Now I've tried it with and without the following RiOption
  23.  
  24.     RiOption(RI_ARCHIVE, "outputversion", &v31, RI_NULL);
  25.  
  26. The release notes for 3DKit say not to use this form of RiOption because
  27. the version number doesn't get correctly written to the .rib file
  28. and that instead you should use RiComment("\nversion 3.1");  Trouble is
  29. RiComment doesn't seem to be in Media_s or NeXT_s and isn't commented
  30. anywhere that I could find.
  31.  
  32. The release notes also say that this form of RiOption causes RiLightSource
  33. to generate invalid sequence numbers and that it should be avoided.
  34.  
  35. Has anyone succeeded in getting the page 20 example to work?  Is so how
  36. did you do it?
  37.  
  38. Cheers,
  39.     Peter    (milne@csis.dit.csiro.au)
  40.  
  41.