|
|
kurtz le pirate <kur### [at] gmailcom> wrote:
> On 28/05/2023 22:06, Bald Eagle wrote:
> > Once again, I'm asking WHY?
>
> apologies...
>
> I didn't describe what I wanted to do very well.
> I'll try to be clearer.
>
> a) I recover the color of a point <x,0,z> of a source image.
> b) I transform this point into a new point <x1,0,z1>.
> c) I give this new point the color taken in a)
>
> In fact, I already have a code that does this, but only with the checker
> pattern. Not very sexy !
>
> For the moment the plan is drawn like this :
> plane {
> y,0
> pigment { function { fnPigment(x,z) } }
> }
>
> hence my request for a function()
>
> Instead of the checker, the original distorted image.
>...
Hi Kurtz
The code here may be relevant for what you are trying to achieve:
From: Tor Olav Kristensen
Subject: Source code for "Using functions to distort images"
Date: 2006-05-12 18:48:59
http://news.povray.org/povray.text.scene-files/thread/%3C4470ee5b%40news.povray.org%3E
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
|
|