POV-Ray : Newsgroups : povray.binaries.images : Mosaic Server Time
12 Aug 2024 03:27:33 EDT (-0400)
  Mosaic (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Aaron Gillies
Subject: Re: Mosaic
Date: 17 Dec 2003 23:48:22
Message: <3fe13196$1@news.povray.org>
Thanks, guys ...

The original source image was some multiple of 100 pixels wide by 70 high.
I think I multiplied by two for some reason in the source (probably to bring
the bird head into view).

You should use the actual dimensions of your source image as follows:

#local I =

  pigment {
    image_map {
      jpeg "mozaik.jpg"
      }
    translate <0, -.5, 0>
    scale <Width, Height, 1>
    }

where Width is the width and Height is the height, etc.

Aaron

Post some of your own images that you used my script on?  I'm sort
of curious.


Post a reply to this message

From: Renderdog
Subject: Re: Mosaic
Date: 18 Dec 2003 02:50:01
Message: <web.3fe15b496b903b865bbd07b60@news.povray.org>
Aaron Gillies wrote:
>    translate <0, -.5, 0>

I had to use translate <-0.5, -0.5, 0> to center my images.

>Post some of your own images that you used my script on?  I'm sort
>of curious.

I'd like to see some as well. I'll post one, but my access
to a news server is on another computer so it will be later.


Post a reply to this message

From: Aaron Gillies
Subject: Re: Mosaic
Date: 18 Dec 2003 03:59:41
Message: <3fe16c7d$1@news.povray.org>
Yep.  <-.5, -.5, 0> completely centers the image.

The bird in my mosaic was not in the center of the source image, so
I adjusted it a bit.

Aaron



"Renderdog" <slo### [at] hiwaaynet> wrote in message
news:web.3fe15b496b903b865bbd07b60@news.povray.org...
> Aaron Gillies wrote:
> >    translate <0, -.5, 0>
>
> I had to use translate <-0.5, -0.5, 0> to center my images.
>
> >Post some of your own images that you used my script on?  I'm sort
> >of curious.
>
> I'd like to see some as well. I'll post one, but my access
> to a news server is on another computer so it will be later.
>
>


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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