POV-Ray : Newsgroups : povray.general : 1:1 Image Map Server Time
6 Nov 2024 20:21:40 EST (-0500)
  1:1 Image Map (Message 1 to 3 of 3)  
From: How Camp
Subject: 1:1 Image Map
Date: 20 Mar 2004 18:32:06
Message: <cukp50d58r42bqrk4dgb7i2rmethm1ur8n@4ax.com>
Just to make sure I've got this right, I'm currently attempting to
render an image_map on a box in my scene.  It's imperitave that the
resulting image is traced so each pixel of the image_map fills exactly
one pixel of my new picture.  Would this be the proper settings?

camera {
  orthographic
  location <0,0,-1>
  look_at  <0,0,0>
  right 1*x
  up 1*y
}

box {
   <-0.5, -0.5, 0.001>, <0.5, 0.5, 0.001> 
   ...
}


My image_map will of course need to be translated -0.5 to get it
centered in my box properly, but am I right in assuming this will
reproduce my image exactly?

- How


Post a reply to this message

From: Tim Nikias v2 0
Subject: Re: 1:1 Image Map
Date: 20 Mar 2004 19:01:49
Message: <405cdb6d@news.povray.org>
> Just to make sure I've got this right, I'm currently attempting to
> render an image_map on a box in my scene.  It's imperitave that the
> resulting image is traced so each pixel of the image_map fills exactly
> one pixel of my new picture.  Would this be the proper settings?

As far as I can tell, your approach will work fine, as long as you just want
to layer images on top of each other for some effect.

<shameless plug>
If you want to layer other real objects in front of the camera, you might
want to have a look at my Glare-Macros. They provide an easy setup for the
"standard" camera (only look_at, location, optional sky and aspect_ratio)
and will position an image in front of the camera, filling the entire
viewing frustrum. The Glare-Macros are meant to layer a specular-layer on
top of the original image in order to get the glaring effect, but there's
also a macro which will just take a pigment and place it in front of the
camera.
The link is here:
http://www.nolights.de/download.html#Glare Macros

</shameless plug>

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de


Post a reply to this message

From: How Camp
Subject: Re: 1:1 Image Map
Date: 20 Mar 2004 19:14:31
Message: <9lnp501asro4bu6ff1i8vvnmr2nov7rbug@4ax.com>
On Sun, 21 Mar 2004 00:58:44 +0100, "Tim Nikias v2.0" <tim.nikias (@)
nolights.de> wrote:

>> Just to make sure I've got this right, I'm currently attempting to
>> render an image_map on a box in my scene.  It's imperitave that the
>> resulting image is traced so each pixel of the image_map fills exactly
>> one pixel of my new picture.  Would this be the proper settings?
>
>As far as I can tell, your approach will work fine, as long as you just want
>to layer images on top of each other for some effect.

Yep, that's exactly what I'm doing.

>The link is here:
>http://www.nolights.de/download.html#Glare Macros

Hey, thanks - this could come in very handy!

- How


Post a reply to this message

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