home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / misc / 21904 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  4.9 KB

  1. Path: sparky!uunet!ogicse!emory!sol.ctr.columbia.edu!usc!snorkelwacker.mit.edu!news.media.mit.edu!news
  2. From: wave@waits.media.mit.edu (Michael B. Johnson)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Re: RenderMan-High resolution rendering?
  5. Message-ID: <1992Nov12.050629.26616@news.media.mit.edu>
  6. Date: 12 Nov 92 05:06:29 GMT
  7. Article-I.D.: news.1992Nov12.050629.26616
  8. References: <1992Nov10.183835.12858@socrates.umd.edu>
  9. Sender: news@news.media.mit.edu (USENET News System)
  10. Organization: MIT Media Laboratory
  11. Lines: 98
  12.  
  13. Charles Fletcher writes
  14. > I have a question about RenderMan (specifically prman, which I would guess
  15. > will be answered by MJ-hi Michael-but I'm  posting it since I thought there
  16. > might be general interest.)
  17.  
  18. Hi Charles.
  19.  
  20. >     How can you get high resolution images out of the NeXT?Well, first I'll  
  21. assume you're either 3D competent (i.e. you understand the 3DKit and can list 3  
  22. reasons why what Dave Springer did is hard) or you're using one of the 3D apps  
  23. that are beginning to appear.  My personal favorite so far is 3D Reality  
  24. (blatant plug) from Stone Design.  Either way, let's say you've modeled  
  25. something, have applied a shader, and have now saved it out to a RIB file.  A  
  26. RIB file is the RenderMan equivalent of a PS file in PostScript - it's an ASCII  
  27. file you hand to RenderMan (the same way you have an ASCII file which you send  
  28. to a PostScript interpreter) and ask it to give you back bits.  
  29.  
  30. OK, so now you have a rib file, let's say foo.rib.  Since it's just an ASCII  
  31. file, you can edit it with your favorite text editor.  Open it up.  The first  
  32. line you'll probably see will be something like:
  33.  
  34. Display "/u/wave/tmp/foo.tiff" "file" "rgba"
  35.  
  36. Where foo.tiff will be the name of the file that will be written out.  A few  
  37. lines later you'll see a line like:
  38.  
  39. Format 256 128 1.000000
  40.  
  41. Here's where you could change the resolution of your image from, say, 256x128  
  42. to whatever you'd like (2048x2048?).  
  43.  
  44. A little bit later, you'll see a line like:
  45.  
  46. ShadingRate 10
  47.  
  48. This is the number which (basically) tells prman how many times to call your  
  49. shader in its shading loop.  The smaller the number, the higher quality the  
  50. image.  The lowest number you should ever use is 0.25.  My understanding of  
  51. this number says that 4 samples per pixel will be taken (i.e. 1/4 == 0.25),  
  52. given a wicked sweet anti-aliased image.  Unless you have very high frequency  
  53. shaders and/or you need really clean output, use a higher number (like 10 or  
  54. so) to get a feel for your image before the final rendering.
  55.  
  56. >     That is,
  57. >     images that are photo quality (and saved on slides or film, or
  58. >     Kodak Photo CD to touch on another thread.) Are there bureaus that
  59. >     do this as a service? 
  60.  
  61. Photo Quality is a slippery term.  That really depends on your output device,  
  62. which really depends on your equipment (or service bureau).  Some take 8Kx8K,  
  63. some take 2Kx2K (and make it look like 8Kx8K...), or whatever.  Still images  
  64. always want higher resolution than moving imagery, so that matters too.  
  65.  
  66. In other words, it depends...
  67.  
  68. Also realize that PhotoCD is takes an analog image (film) and puts it in a  
  69. digital form (5 varying resolution images on a CD-ROM).  This is the opposite  
  70. of what you're talking about doing, which is taking digital imagery and putting  
  71. it to an analog form.  Kodak has yet to address this with PhotoCD (other than  
  72. to say you could go to a photofinishing store and specify your reprints there).
  73.  
  74.  
  75. > Should the image be converted to PS first?
  76.  
  77. Check with the service bureau, but off the top of my head, I'd say No.  If  
  78. you're going to a service bureau, TIFF will probably be as acceptable (or more  
  79. so since it can be compressed, which makes it easier for you to transport it  
  80. there in the first place).
  81.  
  82.  
  83. >     This may actually be a moot point: My second question--How much
  84. >     (disk) space is required to do a high resolution image (say, 
  85. >     1000 to 2000 dpi range)? (BTW-what is the resolution of the images
  86. >     in the RenderMan Companion?) I have yet to render even a simple
  87. >     scene at 400 dpi without running out of swap space (I have a single
  88. >     330M disk with about 50M free for swapping). Any tricks (like tiling)
  89. >     to help do this? Maybe I should run off my OD and simply use the
  90. >     HD for swapping!-)
  91.  
  92. Charlie - supress the urge to do things at 400dpi, unless you are doing things  
  93. that are only an inch or two wide.  For rendering, think in pixels, not dpi.   
  94. You screen is probably (at most) something like 1200 x 900.  RenderMan is  
  95. piggish, but remember that Tin-Toy was done on 8 meg to 32 meg machines.  There  
  96. are some "tiling" commands in RenderMan, but off the top of my head, I don't  
  97. remember them (all my RMan doc is at home).  I'll try to remember to post them.  
  98.  
  99. Hope this helps.  
  100.  
  101.  
  102. --
  103.  
  104. -->  Michael B. Johnson
  105. -->  MIT Media Lab      --  Computer Graphics & Animation Group
  106. -->  (617) 253-0663     --  wave@media-lab.media.mit.edu
  107. -->  NeXT Mail accepted at  wave@nordine.media.mit.edu
  108.