[geeks] Postscript question

Joshua D Boyd jdboyd at cs.millersville.edu
Tue Nov 19 16:40:27 CST 2002


On Tue, Nov 19, 2002 at 04:34:59PM -0600, Jonathan C. Patschke wrote:
> On Tue, 19 Nov 2002, Joshua D Boyd wrote:
> 
> > Sigh.  I mean, I have a box like this:
> >
> > R--P--G
> > |     |
> > Q     |
> > |     |
> > B-----Y
> 
> Oh!  You want OpenGL-style vertex blending!

Basically, yes.  I want to use postscript converted to pdfs to view the
results from certain types of math calculations, rather than rendering
everything to bitmaps myself.  And since the end goal is often likely to
be precomputing datasets that will be used in GL...
 
> To do this in PostScript, you much construct your square from many short
> line segments, and do the gradient calculations and segment calculations
> iteratively.
> 
> I did a similar sort of iteration to construct a generic "function
> grapher" in PostScript.  I can post the (unoptimized, I'm sure) code, if
> you want to see how something like that would be done.

Yeah, it would be really cool to see that.  I don't know much about
postscript, but I'm interested in learning more.

-- 
Joshua D. Boyd



More information about the geeks mailing list