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

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!it-next2.bu.edu
  2. From: ambi@it-next2.bu.edu (Michael Amirault)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: RIBs, RenderMan, and Textures
  5. Message-ID: <101668@bu.edu>
  6. Date: 12 Nov 92 16:01:25 GMT
  7. References: <1drsutINNpea@news.aero.org>
  8. Sender: news@bu.edu
  9. Lines: 30
  10.  
  11. In article <1drsutINNpea@news.aero.org> strauss@aero.org (Daryll J.  
  12. Strauss) writes:
  13. > >
  14. > > Surface "SD_Simple_tx" "txmap" "/NextLibrary/Textures/brick.tex"
  15. > > Surface "texmap" "texname" "brick"
  16. > The minimal useful call to the texture map shader would be:
  17. >     Surface "texmap" "texname" "brick.tx"
  18. > Notice that you need the extension on the brick file and that the
  19. > extension is tx. RenderMan will complain that it doesn't know the token
  20. > "texname" if you do this, so you should declare it:
  21. >     Declare "texname" "string"
  22. > prior to the call to Surface.
  23.  
  24.  Ah, this is what I was looking for. Amazingly, I came very close to
  25. figuring this out through trial (and trial and trial...) and error.
  26.  
  27.  I think it was probably better if you *didn't* tell me how to do
  28. it - I have other things I'm *supposed* to be doing!  :-)
  29.  
  30.  Anyone noticed that the brick texture looks inside out?  I was 
  31. wondering if maybe I'm looking at the wrong side of the polygon??
  32. The brick does look nice on a plane facing the camera, but on one
  33. that's diagonal, it doesn't seem to draw individual bricks - just
  34. rows.
  35.  
  36. ambi
  37.