Article View: comp.lang.postscript
Article #7573Does 'prpost' really work?
From: Robert Seals
Date: Thu, 10 Nov 1988 15:06
Date: Thu, 10 Nov 1988 15:06
27 lines
1230 bytes
1230 bytes
Yo gang -
A while ago, some kind person posted a program called 'prpost' that
was intended to read a datafile produced by mtv's raytracer and
spit out a postscript program to print it. Well, I got it then and
it didn't work right, and I forgot about it.
It compiles fine, and it runs, but the PS code don't do nuthin. The
header is simple enough, but I don't know enough about doing bitmaps
in PS to know what's wrong.
It was compiled with gcc on a uVax II under Ultrix 1.2, and this is what
results from a 4x4 (wow!) picture (balls.nff):
%!
save
54 144 translate
504 504 scale
/DataString 4 string def
4 4 8 [ 4 0 0 4 0 0 ]
{
currentfile DataString readhexstring pop
} bind image
18161c271a092affffffe65a4cffffffbbffffffe80c0affffffd6ffffffe8showpage
Any ideas anybody?
rob
Technical Details
Message-ID:
<1234@leah.Albany.Edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!cmcl2!rutgers!mailrus!ncar!boulder!sunybcs!bingvaxu!leah!rds95Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!husc6!cmcl2!rutgers!mailrus!ncar!boulder!sunybcs!bingvaxu!leah!rds95 From: rds95@leah.Albany.Edu (Robert Seals) Newsgroups: comp.lang.postscript,comp.graphics Subject: Does 'prpost' really work? Keywords: mtv raytracer, postscript, prpost Message-ID: <1234@leah.Albany.Edu> Date: 10 Nov 88 15:06:48 GMT Organization: The University at Albany, Computer Services Center Lines: 27