Return-Path: strauss
Return-Path: <wisdom@geom.umn.edu>
Received: from aerospace.aero.org by antares.aero.org (4.1/AMS-1.0)
	id AA23323 for  /u/strauss/bin/mail_handler.pl strauss; Wed, 10 Mar 93 15:00:47 PST
Received: from cameron.geom.umn.edu by aerospace.aero.org with SMTP (5.65c/6.0.GT)
	id AA07059 for strauss@antares.aero.org; Wed, 10 Mar 1993 15:00:44 -0800
Posted-Date: Wed, 10 Mar 93 17:00:38 -0600
Received: from fuchs.geom.umn.edu by cameron.geom.umn.edu; Wed, 10 Mar 1993 17:00:42 -0600
Date: Wed, 10 Mar 93 17:00:38 -0600
From: wisdom@geom.umn.edu
Message-Id: <9303102300.AA16707@fuchs.geom.umn.edu>
Received: by fuchs.geom.umn.edu; Wed, 10 Mar 93 17:00:38 -0600
Received: by NeXT.Mailer (1.87.1)
Received: by NeXT Mailer (1.87.1)
To: rman@aero.org
Subject: Re: QuickRenderMan on ther NeXT


I vote RiLineStyle goes into the spec 

:-)

Seriously, I see line support as being important in a 3D library. As  
it is now, we have to simulate lines in Photorealistic RenderMan. We  
do this by one of two methods:

1. Using thin cylinders. This slows the rendering process when we  
have lots of lines, and it looks pretty bad when the camera is  
sufficiently close to a cylinder-line (especially at one of the two  
end points).

2. Using polygons. The end points of the line are projected to screen  
space. We compute a screen space polygon that 'fits around' the line  
at a given width. Then we project back into world space to get 3d  
coordinates of the polygon (2 near coincidental vertices at each  
endpoint for thin lines). This works pretty well and yields good  
render speeds, but the line emulation is completely dependent on  
camera placement, so if you're fond of changing the camera  
orientation directly in the RIB file you'll get some pretty odd  
results to say the least - but it looks cool :-)

It would be really nice to see RiLine support in Photorealistic  
RenderMan, and to see RiLineStyle supported in both Quick and  
Photorealistic RenderMan. I can imagine that there would be a bit of  
a performance hit in Quick Renderman, though, for anything other than
just a simple line.

Crossing My Fingers,

SW
wisdom@geom.umn.edu

