POV-Ray : Newsgroups : povray.binaries.images : Mosaic Server Time
12 Aug 2024 03:24:53 EDT (-0400)
  Mosaic (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: Roberto A 
Subject: Re: Mosaic
Date: 16 Dec 2003 11:34:47
Message: <3fdf3427@news.povray.org>
Fantastic. Cheers!


Post a reply to this message

From: Aaron Gillies
Subject: Re: Mosaic
Date: 16 Dec 2003 19:19:53
Message: <3fdfa129$1@news.povray.org>
I'm not sure that the code would be very valuable.
This is essentially a grid of randomly-sized superellipsoid tiles.
The placement of the tiles is offset by the corresponding positions
on two splines aligned along the X and Y axes.

The pigment for the tiles is specified by sampling a bitmap
using the eval_pigment function.

Aaron


Post a reply to this message

From: Jeremy M  Praay
Subject: Re: Mosaic
Date: 16 Dec 2003 19:37:56
Message: <3fdfa564$1@news.povray.org>
"Aaron Gillies" <bee### [at] snickerorg> wrote in message
news:3fdfa129$1@news.povray.org...
> I'm not sure that the code would be very valuable.
> This is essentially a grid of randomly-sized superellipsoid tiles.
> The placement of the tiles is offset by the corresponding positions
> on two splines aligned along the X and Y axes.
>
> The pigment for the tiles is specified by sampling a bitmap
> using the eval_pigment function.
>


Sometimes I think you overestimate our abilities, and perhaps underestimate
your own.

This rocks! (by the way)

-- 
Jeremy


Post a reply to this message

From: Aaron Gillies
Subject: Re: Mosaic
Date: 16 Dec 2003 19:45:26
Message: <3fdfa726$1@news.povray.org>
Source posted in p.b.s-f.

Not sure if it is really all that helpful, but maybe someone will
find some value in it.  It's a bit of a mess, looking back at it
after a couple of days.

Aaron


Post a reply to this message

From: Renderdog
Subject: Re: Mosaic
Date: 17 Dec 2003 13:30:02
Message: <web.3fe0a0416b903b863e7f78a60@news.povray.org>
Aaron Gillies wrote:
>Source posted in p.b.s-f.
>
>Not sure if it is really all that helpful, but maybe someone will
>find some value in it.  It's a bit of a mess, looking back at it
>after a couple of days.

Thanks for posting the source; I'm enjoying looking at the effect with
different images.


Post a reply to this message

From: Jeremy M  Praay
Subject: Re: Mosaic
Date: 17 Dec 2003 13:40:33
Message: <3fe0a321$1@news.povray.org>
Thanks!  I'm also hesitant to post some of my messy stuff.  I always start
out with good source, but in the end, only I can understand it.  :-/  Even
so, sometimes it's nice just to figure out how one certain effect is
achieved.

Thanks again.  For relative newbies like me, p.b.s-f is a treasure.  :-)

-- 
Jeremy
"Aaron Gillies" <bee### [at] snickerorg> wrote in message
news:3fdfa726$1@news.povray.org...
> Source posted in p.b.s-f.
>
> Not sure if it is really all that helpful, but maybe someone will
> find some value in it.  It's a bit of a mess, looking back at it
> after a couple of days.
>
> Aaron
>
>


Post a reply to this message

From: Spock
Subject: Re: Mosaic
Date: 17 Dec 2003 22:12:55
Message: <3fe11b37$1@news.povray.org>
I'm enjoying it.  Thanks!

What resolution is the jpg you use?  Mine seems to wrap strangely.

Aaron Gillies wrote:
> Source posted in p.b.s-f.
> 
> Not sure if it is really all that helpful, but maybe someone will
> find some value in it.  It's a bit of a mess, looking back at it
> after a couple of days.
> 
> Aaron
> 
>


Post a reply to this message

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 3 Messages Goto Initial 10 Messages

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