🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1522

Re: RIBs, RenderMan, and Textures

#1522
From: Daryll J. Strauss
Date: Wed, 11 Nov 1992 21:11
25 lines
1413 bytes
In article <101558@bu.edu> ambi@it-next2.bu.edu writes:
>
> I've been messing around with Renderman and RIB files for a couple
>of days and need some help. I can pretty much get everything to work
>except textures.  I've tried everything and can't get a simple texture
>to display from a RIB file I created. I can use 3DReality and add a
>texture fine, but I can't do it from my RIB file.
>
> I've tried things like:
>
> 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.

You can compile your own shaders with the "shader" program in
/usr/prman. Doing 'man shader' should tell you all you need to use it.
Technical Details
Message-ID: <1drsutINNpea@news.aero.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!hela.iti.org!usc!news.aero.org!strauss
References: <101558@bu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!hela.iti.org!usc!news.aero.org!strauss
From: strauss@aero.org (Daryll J. Strauss)
Newsgroups: comp.sys.next.programmer
Subject: Re: RIBs, RenderMan, and Textures
Date: 11 Nov 1992 21:11:57 GMT
Organization: The Aerospace Corporation
Lines: 26
Message-ID: <1drsutINNpea@news.aero.org>
References: <101558@bu.edu>
NNTP-Posting-Host: armadillo.aero.org