home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / programm / 7716 < prev    next >
Encoding:
Text File  |  1992-12-13  |  2.5 KB  |  66 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!arakis.fdn.org!gamb.fdn.org!lilliput!joseph
  3. From: joseph@lilliput.fdn.org (Joseph Goldstone)
  4. Subject: Re: _very_ basic RenderMan question
  5. Message-ID: <1992Dec13.110209.5345@lilliput.fdn.org>
  6. Keywords: renderman
  7. Sender: joseph@lilliput.fdn.org
  8. Organization: Lilliputian Pictures - Paris, France.
  9. References: <92346.164214U54876@uicvm.uic.edu>
  10. Date: Sun, 13 Dec 1992 11:02:09 GMT
  11. Lines: 53
  12.  
  13. <U54876@uicvm.uic.edu> writes
  14. > Hello -
  15. >   To all you experienced NeXT programmers out there, a very basic question
  16. > about RenderMan from someone who has just started programming.
  17. >   I have copied, verbatim, the "minimal program using RenderMan" from page 18
  18. > of The RenderMan Companion, saved it as test.c, and tried to compile it  
  19. using:
  20. > cc -lMedia_s test.c -o test
  21. > I get:
  22. > /bin/ld: Undefined symbols:
  23. > _RiBegin
  24. > _RiWorldBegin
  25. > _RiSurface
  26. > _RI_P
  27. > _RiPolygon
  28. > _RiWorldEnd
  29. > _RiEnd
  30. ...
  31.  
  32. You can't get there from here.
  33.  
  34. To compile the programs in the Companion you would need to be able to either  
  35. directly link in the renderer, or link in the RIB client library routines that  
  36. emit the RIB eaten by the renderer (which in this case is the renderer in  
  37. /usr/prman/prman).  But neither of these avenues are possible with what's  
  38. shipped by NeXT; you have to order a separate product from Pixar.  At the  
  39. bottom of Intro3DKit.rtf (search in Librarian with General Reference selected)  
  40. you will find the following enlightenment:
  41.  
  42. I3DK> Other components of the RenderMan Toolkit aren't
  43. I3DK> included in NeXTSTEP Release 3 the tutorials, a
  44. I3DK> linkable renderer, a RIB library, and so forth.  To get
  45. I3DK> these, you must purchase the RenderMan Toolkit from
  46. I3DK> Pixar.  If you've written programs using the RenderMan
  47. I3DK> Toolkit, they will not work in NeXTSTEP 3.0 directly;
  48. I3DK> you'll need to rewrite them to make use of the 3D Kit.
  49.  
  50. Note that even if you had, for example, librib.a, once you moved on to the more  
  51. ambitious examples in the book you would find there was a lot of missing  
  52. "scaffolding" code that you would need to make the programs work - routines to  
  53. position the camera for the scene, and so on.  The Developer's Toolkit comes  
  54. with all this stuff, plus a bunch of doc - a second copy of the companion, a  
  55. copy of the Interface spec, notes on all the RiOption calls that make sense for  
  56. prman, and a set of "PhotoRealistic RenderMan Application Notes".  Application  
  57. note #15, on making shadows, is 15 pages long!
  58.  
  59. Pixar's telephone number is (510) 236-4000; their fax is (510) 236-0388.
  60.  
  61. -- joseph
  62.