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