POV-Ray : Newsgroups : povray.binaries.images : ZoomIn include file demonstration Server Time
18 Nov 2024 06:21:31 EST (-0500)
  ZoomIn include file demonstration (Message 1 to 6 of 6)  
From: Slime
Subject: ZoomIn include file demonstration
Date: 14 May 2002 22:47:40
Message: <3ce1cc4c@news.povray.org>
Well, this is a blatant plug for my include file, but I thought maybe it'd
raise a little interest. =)

I took abyss.pov (which is a sample scene included with POV-Ray 3.5,
originally made by Gilles Tran I believe) and zoomed in on interesting
areas. See the attached image.

In each section of the image, I've lightly outlined the part that the next
section has zoomed into. The first section of the image is the original
image. Notice that the final section of the image is an area so small that
it was a single pixel in the original image - now displayed in full detail.
=)

The advantages to this? It's meant to be used during production of a scene.
It makes it easy to place or examine small or far-away objects in your
scene. If, for example, you're working on a landscape, and there's a single
tree way in the distance that's floating in the air, and you want to know
why, you might use this include file to zoom in on that tree as you try to
make it behave correctly.

The final code that I used for this example was:

#include "zoomin.inc"
#declare ZoomIn_AssumedCameraAspectRatio = 8/3;
#declare ZoomIn_AssumedCameraAngle = 2*atan(8/3/4)/pi*180;
Set_Zoom_Area(PdV, <-20,30,0>, "+sc0.433490 +sr0.184100 +ec0.683881
+er0.493724") // first zoom
Zoom_Again("+sc0.538341 +sr0.209205 +ec0.613459 +er0.418410") // second zoom
Zoom_Again("+sc0.491393 +sr0.476987 +ec0.575900 +er0.610879") // third zoom
Update_Camera_Zoom()

(That was placed after the camera declaration in abyss.pov.)

The include file is currently available in povray.binaries.scene-files.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message


Attachments:
Download 'abysszoom.jpg' (156 KB)

Preview of image 'abysszoom.jpg'
abysszoom.jpg


 

From:
Subject: Re: ZoomIn include file demonstration
Date: 15 May 2002 02:15:19
Message: <h5v3eukp09l1agfb620q9u4dc3bs14rvbo@4ax.com>
On Tue, 14 May 2002 22:45:44 -0400, "Slime" <slm### [at] slimelandcom> wrote:
> Well, this is a blatant plug for my include file, but I thought maybe it'd
> raise a little interest. =)

very good piece of work

ABX


Post a reply to this message

From: Luis
Subject: Re: ZoomIn include file demonstration
Date: 15 May 2002 04:25:07
Message: <3ce21b63@news.povray.org>
WOW !!!!
Incredible !

--
Luis


****************************************************
Lightning Generator
http://lightning.generator.free.fr
http://LG666.ifrance.com

http://www.pov-wip.fr.st

http://www.pov-monde.org
Chan IRC sur eu.undernet.org : #povray-fr
****************************************************

3ce1cc4c@news.povray.org...
> Well, this is a blatant plug for my include file, but I thought maybe it'd
> raise a little interest. =)
>
> I took abyss.pov (which is a sample scene included with POV-Ray 3.5,
> originally made by Gilles Tran I believe) and zoomed in on interesting
> areas. See the attached image.
>
> In each section of the image, I've lightly outlined the part that the next
> section has zoomed into. The first section of the image is the original
> image. Notice that the final section of the image is an area so small that
> it was a single pixel in the original image - now displayed in full
detail.
> =)
>
> The advantages to this? It's meant to be used during production of a
scene.
> It makes it easy to place or examine small or far-away objects in your
> scene. If, for example, you're working on a landscape, and there's a
single
> tree way in the distance that's floating in the air, and you want to know
> why, you might use this include file to zoom in on that tree as you try to
> make it behave correctly.
>
> The final code that I used for this example was:
>
> #include "zoomin.inc"
> #declare ZoomIn_AssumedCameraAspectRatio = 8/3;
> #declare ZoomIn_AssumedCameraAngle = 2*atan(8/3/4)/pi*180;
> Set_Zoom_Area(PdV, <-20,30,0>, "+sc0.433490 +sr0.184100 +ec0.683881
> +er0.493724") // first zoom
> Zoom_Again("+sc0.538341 +sr0.209205 +ec0.613459 +er0.418410") // second
zoom
> Zoom_Again("+sc0.491393 +sr0.476987 +ec0.575900 +er0.610879") // third
zoom
> Update_Camera_Zoom()
>
> (That was placed after the camera declaration in abyss.pov.)
>
> The include file is currently available in povray.binaries.scene-files.
>
>  - Slime
> [ http://www.slimeland.com/ ]
>
>
>


Post a reply to this message

From: Hugo
Subject: Re: ZoomIn include file demonstration
Date: 15 May 2002 07:32:48
Message: <3ce24760$1@news.povray.org>
Definitely a useful include file!!  :o))  And btw, nice boat you've got
there, water etc.. I didn't know Gilles made it, or that it comes with
Pov3.5 ... never seen it..

Regards,
Hugo


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: ZoomIn include file demonstration
Date: 16 May 2002 04:09:16
Message: <3ce3692b@news.povray.org>
Slime wrote:

> Well, this is a blatant plug for my include file, but I thought maybe it'd
> raise a little interest. =)

  Excellent! The perfect tool for the lazy raytracer! Thanks...

-- 
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org


Post a reply to this message

From: Dave Bates
Subject: Re: ZoomIn include file demonstration
Date: 16 May 2002 14:43:34
Message: <3ce3fdd6@news.povray.org>
This comes with POV 3.5
Look in the Scenes folder under you Povray intall folder, and under advanced
You will see the file: abyss.pov

Cool file.. I will definately get that!

"Hugo" <hua### [at] post3teledk> wrote in message
news:3ce24760$1@news.povray.org...
> Definitely a useful include file!!  :o))  And btw, nice boat you've got
> there, water etc.. I didn't know Gilles made it, or that it comes with
> Pov3.5 ... never seen it..
>
> Regards,
> Hugo
>
>


Post a reply to this message

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