Return-Path: <jgg@proforma.com>
Received: from aerospace.aero.org by antares.aero.org (4.1/AMS-1.0)
	id AA21893 for  /u/strauss/bin/mail_handler.pl strauss; Thu, 22 Apr 93 10:18:06 PDT
Received: from relay2.UU.NET by aerospace.aero.org with SMTP (5.65c/6.0.GT)
	id AA05299 for strauss@antares.aero.org; Thu, 22 Apr 1993 10:17:28 -0700
Posted-Date: Thu, 22 Apr 93 12:55:37 -0400
Received: from spool.uu.net (via LOCALHOST.UU.NET) by relay2.UU.NET with SMTP 
	(5.61/UUNET-internet-primary) id AA24211; Thu, 22 Apr 93 13:17:20 -0400
Received: from proforma.UUCP by spool.uu.net with UUCP/RMAIL
	(queueing-rmail) id 131440.11607; Thu, 22 Apr 1993 13:14:40 EDT
Received: by proforma.com (NX5.67d/NeXT-2.0)
	id AA00710; Thu, 22 Apr 93 12:55:37 -0400
Date: Thu, 22 Apr 93 12:55:37 -0400
From: jgg@proforma.com (J. G. Gregory)
Message-Id: <9304221655.AA00710@proforma.com>
Received: by NeXT.Mailer (1.94)
Received: by NeXT Mailer (1.94)
To: rman@aero.org
Subject: My shader is never getting called

Here is an easy one for the shader-cogniscenti:

My shader is never getting called.  I put in a printf("Boo") and it  
never gets run.

This is using the NeXT implementation of prman:

In Shape:

...
	edgeShader = [[N3DShader alloc] initWithShader:"edgeShader"];
	[self setShader:edgeShader];
...

Stopping execution after the first line shows that the shader was  
apparently found.  It knows that it is a surface shader.

The screen picture is unchanged, as expected (Interactive Renderman does  
not use custom shaders).  I print to an EPS file, and get the "standard"  
picture (that which you would get if you did nothing).  The Shape is a  
polygon, and its rendering method calls RiGeneralPolygon().  Polygons  
call shaders, don't they?

I must be forgetting to do something, but I can't figure out what.

Thanks in advance.
--J Gregory

