POV-Ray : Newsgroups : povray.binaries.images : render2painting : Re: render2painting Server Time
15 May 2024 02:44:02 EDT (-0400)
  Re: render2painting  
From: Norbert Kern
Date: 5 Oct 2014 11:15:01
Message: <web.54315ff846a0060ac537925b0@news.povray.org>
"Nekar Xenos" <nek### [at] gmailcom> wrote:

> What I did was to render the normal scene with high ambient and diffuse to
> get a flat looking image with only the colours and no shadows.
>
> I then mapped this image to a flat box in the same scene, aligned to the
> camera similar to a picture plane  (see
> http://www.fromoldbooks.org/Richter-NotebooksOfLeonardo/section-2/item-83.html).
> It had to be aligned exactly so that the image on the picture-plane
> correlates to the scene behind it when viewed through the camera. Then I
> set the picture-plane box to no-image.
>
> Then I traced at random points through the picture-plane on to the scene.
> I had to group the whole scene for this. Using eval_pigment() on the
> picture-plane I was able to get the colour information and us it as the
> colour for a blob traced onto the corresponding part of the scene.(It
> would have been so much easier if eval_pigment() worked with uv mapped
> meshes). Each blob was scaled smaller in the direction of the normal of
> the object.
>
> In later scenes I traced a drip or a brush action for each blob and added
> colour variations as well. In the pursuit of more realistic looking paint
> I messed up the ocde somewhere so my spaghetti code is broken at the
> moment. I will have to start from scratch in a more orderly fashion.
>
> If you feel like unscrambling my broken code I can post it for you.
>
> At the moment I won't be able to fix my code soon. I have been
> commissioned to do a 2m x 1.2m painting of jazz musicians. Normally I
> paint on 1.2m x 0.9m canvasses, I had to have the canvas specially made up
> because no-one stocks 2m stretched canvasses.
>
> --
> -Nekar Xenos-


Hi Nekar,

To render the color information only is new to me and very smart. Lighting is so
much easier then.
It's exactly the "drip or brush action" I'm interested in.
So I'ld be glad to unscramble your code - please post it - many thanks in
advance...


Norbert


Post a reply to this message

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