FlagOfKids

[알림판목록 I] [알림판목록 II] [글목록][이 전][다 음]
[ FlagOfKids ] in KIDS
글 쓴 이(By): soliton (김 찬주)
날 짜 (Date): 1993년08월17일(화) 18시05분42초 KDT
제 목(Title): [Re] stereogram 에 대한 모든(?) 것

다음은 usenet news article중의 몇개를 모은 것입니다.

아마 원하시는 것의 대부분을 찾을 수 있을 겁니다. 원리, 프로그램, 실행파일이

있는 곳, 여러가지 그림의 예 등등...

참고로 말씀드리자면 usenet newsgroup중에 alt.3d라는 group이 있는데 거기서는

stereogram을 포함하여 3차원 image에 대해 중점적으로 토론하고 정보를 교환

하므로 관심이 있으면 보시기 바랍니다.

****************************

From han.hana.nm.kr!agate!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!news.byu.edu!news.provo.novell.com!thale.Test.NPD.Provo.Novell.COM!thale Mon Aug  9 18:46:23 1993
Newsgroups: alt.3d
Path: han.hana.nm.kr!agate!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!news.byu.edu!news.provo.novell.com!thale.Test.NPD.Provo.Novell.COM!thale
From: thale@novell.com (Todd D. Hale)
Subject: Quick FAQ Posting
Message-ID: <thale.25.743876379@novell.com>
Lines: 297
Sender: usenet@Provo.Novell.COM (USENET News)
Nntp-Posting-Host: thale.test.npd.provo.novell.com
Organization: Novell, Inc., Provo, UT, USA
Date: Wed, 28 Jul 1993 16:19:39 GMT

Hello all,

We really need someone to do a FAQ (complete with table of contents,
etc...).  Below, you'll find a where's-it list with explanations
from E.Thompson, a SIRDS book listed by E.Thompson, a couple simple 
ascii stereograms and some C code from D.Thomas, and a great letter 
of encouragement to those who still can't see random dot stereograms
from W.C.Haga.

Enjoy!

Todd Hale

P.S. The rest is excerpts--my text ends here



****************************************************** Where's It?

From: E.Thompson@newcastle.ac.uk (E. Thompson)
Subject: Random Dot Stereograms
Date: Fri, 25 Jun 1993 07:19:47 GMT

General information on random dot stereograms - 
see also the readme.txt file included in version 2 of mindimages. 

RE : SIRDS software general summary
 
   FTP to Wuarchive (128.252.135.4) 
   They are as follows:

1) A SIRDS animation called Dynamic.exe : Kind of slow to start since it
   first generated about 15-20 screens of SIRDS and then did some screen
   page swapping, but definitely interesting.
   /pub/MSDOS_UPLOADS/graphics/.
2) /graphics/graphics/mirrors/sugrfx.acs.syr.edu/3d/randot/3drandot.zoo
3) /mirrors/msdos/graphics/mindim20.zip
4) /mirrors/msdos/graphics/perspect.zip
 
Perspect is good for experimenting to see how the colors translate to
depth, but allow limited development (very simple pictures only).
For beginners, this is a nice program to use.
 
MindImg version 2.0 is a wonderfully developed shell for ready-made 
.RLE images of SIRDS and the package contains many high-quality images.
The shell allows the user to view images Normal or Inverted (so that 
we cross-eye viewers can see the image roughly the same as you wide-eye
viewers, and vice-versa). 
It also allows the user to view the images in red-green
format for those unable to see them otherwise using R/G glasses.
And lastly, it allows the user to generate a postscript file of the
image to be printed out, AND with varied resolution of the pixels!

3dRandot takes a .GIF (or .PCX, maybe others, too) image and
generates a single image random dot stereogram on the screen.
Unfortunately, it has no save feature, unlike Perspect.  You must use
a screen capture program (I use Grabb384) to save the image.  I can
recommend two programs to generate images for 3dRandot:  Improc41, and
Fractint 17.2.  Both are available at WUARCHIVE in the directory
/mirrors/msdos/graphics/  (Grabb384 is in /mirrors/msdos/screen/)
Improces is a VGA paint program with some very nice features and effects.
And a lot of plasma fields created with Fractint, saved as .GIFs make
very interesting SIRDS.

An excellent source of information (sample RDS and source code)
is contained in Andrew A.Kinsman - Random Dot Stereograms
ISBN 0-9630142-1-8  $13.95 U.S.

Also there is a commercial RDS program which should be available as 
STW_DEMO.EXE in it's demo form, the full package will allow RDS creation.
The producers are : -
                    N.E.Thing Enterprises
                    P.O. Box 1827
                    Cambridge
                    MA 02139
Approx 40$                               

Lastly myself and my colleagues are looking at developing software which
will create our RLE format from images created with other packages.
e.g. BMP / GIF format.
 - this will be announced in newsgroup alt.3d, but may be some time as
   I am involved with two or three other projects.

Hope this long-winded note helps!
 
E-mail - E.Thompson@ncl.ac.uk



******************************************************** SIRDS Book!

From: E.Thompson@newcastle.ac.uk (E. Thompson)
Subject: Random Dot Stereograms
Date: Wed, 30 Jun 1993 07:18:37 GMT

There is a good reference on the subject :

Random Dot Stereograms by Andrew A. Kinsman
ISBN 0-9630142-1-8
Published by Kinsman Physics, P.O. Box 22682, Rochester, N.Y. 14692-2682

Source code included - disc available. 

$13.95 U.S.

Limited first print.

E.Thompson@ncl.ac.uk


*************************************************** ASCII Stereograms

From: dthomas@bbx.basis.com (Dave Thomas)
Subject: (long) ASCII stereograms
Date: Tue, 6 Jul 1993 16:49:13 GMT

First of all, here's a couple of hand-generated ones.

                                    O   O
        n   n   n   n   n   n   n   n   n   n   n   n   n   n   n   n
        f    f    f    f    f    f    f    f    f    f    f    f    f
        e   e   e   e   e   e   e   e   e   e   e   e   e   e   e   e
        a    a    a    a    a    a    a    a    a    a    a    a    a
        a   a   a   a   a   a   a   a   a   a   a   a   a   a   a   a
        r    r    r    r    r    r    r    r    r    r    r    r    r
        r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r
   


   g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g  g
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r
    e    e    e    e    e    e    e    e    e    e    e    e    e    e    e
   a     a     a     a     a     a     a     a     a     a     a     a     a
    t      t      t      t      t      t      t      t      t      t      t
   <<<<>>>><<<<>>>><<<<>>>><<<<>>>><<<<>>>><<<<>>>><<<<>>>><<<<>>>><<<<>>>>
    d      d      d      d      d      d      d      d      d      d      d
   e     e     e     e     e     e     e     e     e     e     e     e     e
    p    p    p    p    p    p    p    p    p    p    p    p    p    p    p
   t   t   t   t   t   t   t   t   t   t   t   t   t   t   t   t   t   t   t
   h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h  h


Wow.. I'd forgotten how much I enjoyed those!


**************************************** Random Character Stereogram Code

Now here's a hack of a hack I found on the net.  Basically it generates
stereograms from ascii diagrams.  Here's the program first:

#define DEPTH0  16
#define COLS    79

#include <stdio.h>

main()
    {
    long now;
    int col;
    char m[COLS+1],s[COLS+1];
    int i,e,c;

    /* seed random number generator */

    time (&now);
    srand (now);

    /* print fusion X's */

    for (col = 0; COLS - col >= DEPTH0; col += DEPTH0)
        {
        for (i = 0; i < DEPTH0-1; ++i)
            putchar (' ');
        putchar ('X');
        }
    putchar ('\n');

    /* process input image */

    while (memset(m,'\0',COLS+1),fgets (m, COLS+1, stdin))
        {
        e = 0;
        s[COLS] = 0;
        for(i=0; i<COLS; )
            {
            e = 0;
            while (i >= DEPTH0 && i < COLS &&
                    (c = m[i - DEPTH0]) >= '0' && c <= '9')
                {
                e = 1;
                s[i] = s[i-DEPTH0+c-'0'];
                ++i;
                }
            s[i++] = (e || i < DEPTH0) ? randasc() : s[i-DEPTH0];
            }
        puts (s);
        }
    }

randasc()
    {
#if 1
    return ('!'+rand()%92);
#else
    return ('a'+rand()%26);
#endif
    }

Try passing it this file as the standard input:
                                                              
                                                                        
          22222222222222222           11111111111111111111111
          2222222222222222222         11111111111111111111111
          22222222222222222222        11111111111111111111111
          22222          22222                 11111
          22222          22222                 11111
          22222          22222                 11111
          22222          22222                 11111
          22222          22222                 11111
          22222          22222                 11111
          22222222222222222222                 11111
          2222222222222222222                  11111
          22222222222222222                    11111
                                                              
                                                              
You'll get this output:

               X               X               X               X
"i`<$$Co6&`R(D(v"i`<$$Co6&`R(D(v"i`<$$Co6&`R(D(v"i`<$$Co6&`R(D(v"i`<$$Co6&`R(D
(
dZ<$wamwBy&>`,QFdZ<$wamwBy&>`,QFdZ<$wamwBy&>`,QFdZ<$wamwBy&>`,QFdZ<$wamwBy&>`,
Q
rHt&{:7Z,o:.sw5[rHt&{:7Z,osw5[rHt&{:7Z,osw505[rHt&{:7Zosw505[rHt&{:7Zosw505[rR
H
3C&B[8g"EzQy{lW_3C&B[8g"Ez{lW_3C&B[8g"Ez{lW_3S3C&B[8g"z{lW_3S3C&B[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ter

From: wchaga@vela.acs.oakland.edu (William C. Haga)
Subject: Grandma sees SIRDS
Date: 28 Jun 1993 04:18:32 -0400

Being one who has used wide-eyed vision on chain link fences ever
since I was a kid, I was able to see the images in SIRDS right
away. But I've had difficulty explaining the technique to 
friends. Today I had the latest Games magazine with me at my parents
house. Games is running another contest using SIRDS, so there are
three in the latest issue. This time I thought of the reflection
idea. So I opened mom's china cabinet, put the magazine against the
glass in the door, and told mom to keep looking at her own reflection
in the glass until the image appeared.

It took less than thirty seconds.

When she saw the 3d train engines, I was subjected to a squeal of
delight that I hadn't heard from her for a long time. "EEK! IT'S
COMING OUT AT ME! IS THIS EVER NEAT!".  Dad tried for about a minute
but gave up.

About an hour later, mom and I heard a shout. We went to
the dining area, and there was dad with the magazine against the
glass in the door. "Isn't that just the most amazing thing!", said he.

Later they were making jokes about teaching old dogs new tricks.

Bill (wchaga@vela.acs.oakland.edu)

[알림판목록 I] [알림판목록 II] [글 목록][이 전][다 음]
키 즈 는 열 린 사 람 들 의 모 임 입 니 다.