POV-Ray : Newsgroups : povray.binaries.images : SETI@HOME-Fake (105KB BU) Server Time
3 Oct 2024 02:19:22 EDT (-0400)
  SETI@HOME-Fake (105KB BU) (Message 1 to 3 of 3)  
From: Hartmut Wagener
Subject: SETI@HOME-Fake (105KB BU)
Date: 29 Feb 2000 18:39:21
Message: <38bc58a9@news.povray.org>
Here is a picture made several months ago. I had not found a function for a
background-image, so the image and the fake-stuff had to be put before the
camera. The fake-stuff is a function in pov-ray (some fourier-functions).
The reason to fake this was to put something like a "alien-head" to the
data-line, but someone with photo-shop was faster ...

Hartmut

http://www.killozap.de


Post a reply to this message


Attachments:
Download 'Seti.jpg' (105 KB)

Preview of image 'Seti.jpg'
Seti.jpg


 

From: Joshua English
Subject: Re: SETI@HOME-Fake (105KB BU)
Date: 29 Feb 2000 23:47:04
Message: <38BCA0C0.E33678C6@spiritone.com>
It is possible to use a background image in POV-Ray. It requires some code
based on (I'm pretty sure) John VanSickles work:

#local CamE = <0.0,0,3.0>; //where the camera's look_at is
#local CamL = <1,0.5,-1>; //where the camera's location is
#local CamZ = 2; //the amount of camera zoom you want
#local CamA = 4/3; // camera aspect ratio
#local CamS = <0,1,0>;
#local CamD = vnormalize(CamE-CamL);
#local CamR = vnormalize(vcross(CamS,CamD));
#local CamU = vnormalize(vcross(CamD,CamR));

#local cam_dir = CamD * CamZ;
#local cam_right = CamR * CamA;

#declare fz = vlength(cam_dir);
#declare fx = vlength(cam_right)/2;
#declare fy = vlength(CamU)/2;

#local nz = vnormalize(CamE-CamL);
#local nx = vnormalize(vcross(CamS,nz));
#local ny = vcross(nz,nx);


camera {
  location CamL
  up CamU
  right CamR*CamA
  direction CamD*CamZ
}

union{
  triangle { <fx,fy,0> <-fx,fy,0> <-fx*1.1,-fy,0> }
  triangle { <fx,fy,0> <fx,-fy,0> <-fx*1.1,-fy,0> }
  texture { //texture information }
  translate fz*z
  scale 2000
  matrix <nx.x,nx.y,nx.z,
            ny.x,ny.y,ny.z,
            nz.x,nz.y,nz.z,
            CamL.x,CamL.y,CamL.z>
  no_shadow }

The scale can be anything. This should keep an image the same size when it's
rendered. Just keep track of where those triangles are, you have to place the
image map carefully.

Josh
Hartmut Wagener wrote:

> Here is a picture made several months ago. I had not found a function for a
> background-image, so the image and the fake-stuff had to be put before the
> camera. The fake-stuff is a function in pov-ray (some fourier-functions).
> The reason to fake this was to put something like a "alien-head" to the
> data-line, but someone with photo-shop was faster ...
>
> Hartmut
>
> http://www.killozap.de
>
>  [Image]


Post a reply to this message

From: Hartmut Wagener
Subject: Re: SETI@HOME-Fake (105KB BU)
Date: 1 Mar 2000 17:00:31
Message: <38bd92ff@news.povray.org>
Thanks,

i will try this, perhaps the background can be done more lightended with
this, and without the anoing search for the best camera-point ...

Hartmut

Joshua English schrieb in Nachricht <38BCA0C0.E33678C6@spiritone.com>...
>It is possible to use a background image in POV-Ray. It requires some code
>based on (I'm pretty sure) John VanSickles work:
>
>#local CamE = <0.0,0,3.0>; //where the camera's look_at is
>#local CamL = <1,0.5,-1>; //where the camera's location is
>#local CamZ = 2; //the amount of camera zoom you want
>#local CamA = 4/3; // camera aspect ratio
>#local CamS = <0,1,0>;
>#local CamD = vnormalize(CamE-CamL);
>#local CamR = vnormalize(vcross(CamS,CamD));
>#local CamU = vnormalize(vcross(CamD,CamR));
>
>#local cam_dir = CamD * CamZ;
>#local cam_right = CamR * CamA;
>
>#declare fz = vlength(cam_dir);
>#declare fx = vlength(cam_right)/2;
>#declare fy = vlength(CamU)/2;
>
>#local nz = vnormalize(CamE-CamL);
>#local nx = vnormalize(vcross(CamS,nz));
>#local ny = vcross(nz,nx);
>
>
>camera {
>  location CamL
>  up CamU
>  right CamR*CamA
>  direction CamD*CamZ
>}
>
>union{
>  triangle { <fx,fy,0> <-fx,fy,0> <-fx*1.1,-fy,0> }
>  triangle { <fx,fy,0> <fx,-fy,0> <-fx*1.1,-fy,0> }
>  texture { //texture information }
>  translate fz*z
>  scale 2000
>  matrix <nx.x,nx.y,nx.z,
>            ny.x,ny.y,ny.z,
>            nz.x,nz.y,nz.z,
>            CamL.x,CamL.y,CamL.z>
>  no_shadow }
>
>The scale can be anything. This should keep an image the same size when
it's
>rendered. Just keep track of where those triangles are, you have to place
the
>image map carefully.
>
>Josh
>Hartmut Wagener wrote:
>
>> Here is a picture made several months ago. I had not found a function for
a
>> background-image, so the image and the fake-stuff had to be put before
the
>> camera. The fake-stuff is a function in pov-ray (some fourier-functions).
>> The reason to fake this was to put something like a "alien-head" to the
>> data-line, but someone with photo-shop was faster ...
>>
>> Hartmut
>>
>> http://www.killozap.de
>>
>>  [Image]
>


Post a reply to this message

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