POV-Ray : Newsgroups : povray.binaries.images : Matrix Intro Server Time
6 Nov 2024 06:22:24 EST (-0500)
  Matrix Intro (Message 1 to 5 of 5)  
From: Bathurstfreak
Subject: Matrix Intro
Date: 25 Feb 2005 05:35:01
Message: <web.421efe9e6fddcaeb127a3fdf0@news.povray.org>
This little piece of script creates a matrix style intro with characters
flowing down the screen to create a title, this frame is the last of 100

// Persistence of Vision Ray Tracer Scene Description File
// File: Matrix.pov
// Vers: 3.5
// Desc: Matrix Entry Code
// Date: 24/02/05
// Auth: James Scandrett
//

#version 3.5;

#include "colors.inc"

global_settings {
  assumed_gamma 1.0
}

// ----------------------------------------

camera {
  location  <0, 0, -60 + clock * 40>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0, 0, 0>
}


// ----------------------------------------

#declare alphabet = array[54] {
        "a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
        "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
        "u", "v", "v", "w", "x", "y", "z", "0", "1", "2",
        "3", "4", "5", "6", "7", "8", "9", "!", "@", "#",
        "$", "%", "^", "&", "*", "(", ")", "~", " ", "<",
        ">", "[", "]", "?" }

#declare wordlen = 16;

#declare slogan = array[wordlen] {
        "E", "N", "T", "E",
        "R", " ", "T", "E",
        "X", "T", " ", "H",
        "E", "R", "E", "!"}

#declare R1 = seed(54);
#declare R2 = seed(50);
#declare textrow = 0;
#declare rows = 40;
#declare textcol = 0;
#declare cols = 53;

#declare textlevel = 0;
#declare levels = 3;
#declare letters = 20;
#declare baseamb = 0.15;

    #while (textcol<cols + 1)
        #declare starthei = 50 * rand(R2) + 25;
        #while (textrow<rows + 1)

            #declare height = clock * 100;
            #declare brightpos = starthei - height;
            #declare xpos = -cols/2 + textcol;
            #declare ypos = -rows/2 + textrow;

            #if (brightpos > ypos)
                #if ( (brightpos - ypos) < letters )
                    #declare ambval = ((brightpos - ypos) / letters) +
baseamb;
                #else
                    #declare ambval = baseamb;
                #end
            #else
                #declare ambval = baseamb;
            #end

            #declare fcount = 0;
            #while (clock*250>=fcount)
                #declare letter1 = 54 * rand(R1);
                #declare fcount = fcount + 1;
            #end

            #if (ypos = 0)
                #if (xpos > -wordlen/2)
                    #if (xpos <= wordlen/2)
                        #if (brightpos < ypos)
                            text {ttf "Linedraw.ttf", slogan[xpos +
wordlen/2],
                                0.1, 0 pigment {rgb <1,1,0>} translate
                                <xpos, ypos, 0> finish {ambient 5}}
                        #else
                            text {ttf "Linedraw.ttf", alphabet[letter1],
0.1, 0
                                pigment {rgb <1,1,0>} translate <xpos, ypos,
0>
                                finish {ambient ambval}}
                        #end
                    #else
                        text {ttf "Linedraw.ttf", alphabet[letter1], 0.1,
                            0 pigment {rgb <1,1,0>} translate <xpos, ypos,
0>
                            finish {ambient ambval}}
                    #end
                #else
                    text {ttf "Linedraw.ttf", alphabet[letter1], 0.1,
                        0 pigment {rgb <1,1,0>} translate <xpos, ypos, 0>
                        finish {ambient ambval}}
                #end
            #else
                text {ttf "Linedraw.ttf", alphabet[letter1], 0.1, 0
                    pigment {rgb <1,1,0>} translate <xpos, ypos, 0>
                    finish {ambient ambval}}
            #end

            #declare textrow = textrow + 1;
        #end
        #declare textcol = textcol + 1;
        #declare textrow = 0;
    #end


Post a reply to this message


Attachments:
Download 'matrix intro.jpg' (81 KB)

Preview of image 'matrix intro.jpg'
matrix intro.jpg


 

From: Mike Raiford
Subject: Re: Matrix Intro
Date: 25 Feb 2005 10:01:45
Message: <421f3dd9$1@news.povray.org>
Bathurstfreak wrote:

IMO, the Matrix lookalikes are played out.

BTW: I think they used japanese (or similar, eastern language) characters.

-- 
~Mike

Things! Billions of them!


Post a reply to this message

From: LightBeam
Subject: Re: Matrix Intro
Date: 25 Feb 2005 10:19:44
Message: <421f4210@news.povray.org>
Mike Raiford wrote:
> Bathurstfreak wrote:
> 
> IMO, the Matrix lookalikes are played out.

...So what do you propose ? ;-p

> BTW: I think they used japanese (or similar, eastern language) characters.

Yes, some katakana, somehow reversed too...


Post a reply to this message

From: Marc Jacquier
Subject: Re: Matrix Intro
Date: 25 Feb 2005 11:59:18
Message: <421f5966$1@news.povray.org>

news:421f3dd9$1@news.povray.org...
> Bathurstfreak wrote:
>
> IMO, the Matrix lookalikes are played out.

"No Stairway to Heaven please"


Marc


Post a reply to this message

From: Jim Holsenback
Subject: Re: Matrix Intro
Date: 26 Feb 2005 05:16:49
Message: <42204c91$1@news.povray.org>
"Marc Jacquier" <jac### [at] wanadoofr> wrote in message 
news:421f5966$1@news.povray.org...
>

> news:421f3dd9$1@news.povray.org...
>> Bathurstfreak wrote:
>>
>> IMO, the Matrix lookalikes are played out.
>
> "No Stairway to Heaven please"
>

or Free Bird ..... haha


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.