#3DS -> RDS
More RDSGEN stuff…
I forgot to add an addendum, excerpts from a note from a very helpful fellow on
the GRAPHDEV forum:
—————————————————————
#: 55850 S10/3D/RDS Sources
12-Mar-94 10:29:25
Sb: #55783-3DS -> RDS
Fm: Dan Richardson 72537,1341
To: JKJ (John K. Jordan) 71174,711 (X)
Here's some touchup on the RDSGEN docs and source….
I don't think the docs mention that -e and -o are meaningless with
algorithm 3.
Use -s for algorithm 1 and -w for everyone else.
Algorithm 1 provides substantially more depth at a given -f setting,
although that may be a byproduct of my attempting to match up -s and
-w settings.
Algorithm 4 is virtually algorithm 2. I'd be interested in seeing
any settings that make them produce different output. It's not quite
pixel for pixel identical in my tests, but very nearly.
Pixel extrapolation (-e) works quite well on gradients. When it
fails, it sure fails spectacularly.
It'll accept -w0, which gives you a divide by zero, and -w1, which
is like -s1, meaningless.
Indexing triangles (-i) are broken for -a2 and -a4. The fix is
simple. Somewhere around line 476, stripw = scale >> 1; needs to be
moved out of the algorithm == 3 test. I put it in an algorithm != 1
test and it looks OK.
I believe the TGA in and out is screwed up, but since I always use
gray GIFs for input I haven't spent any time on it.
*/ Have fun.
— Dan Richardson Northampton, MA, US 12-Mar-94 10:02a —
—————————————————————
BTW, one problem with using 3DS targas seems to be with their flavor, something
to do with bottom-up versus top-down. GIFs are a lot smaller anyway.
J K J