POV-Ray : Newsgroups : povray.binaries.images : colored leaves Server Time
10 Oct 2026 08:10:19 EDT (-0400)
  colored leaves (Message 1 to 21 of 21)  
From: Norbert Kern
Subject: colored leaves
Date: 15 Mar 2012 15:30:00
Message: <web.4f624250b5209546dc4ffc880@news.povray.org>
Hi,

i want to share a nice trick.
One of the disadvantages of tree modelers using imagemap based leaf textures is
the uniformity of the foliage.
On the other hand the first leaves getting colored in autumn are the outer ones.
So the task was to get an existing mesh recolored based on a pattern like onion
or projection (mlpov or megapov).
Using a texture_pattern was awfully slow, so I decided to find a way to save the
color information.
So I used an old Poseray version, which opens mesh2 files and is able to save in
the old mesh formate (Poseray 3.8.7).
Then I read the first triangle coordinate and saved the color value derived by
the projection pattern in a different file. After some copy and paste I had a
mesh with three different imagemap based leaf textures (red, yellow and green).

As a demonstration file I used a nice backlit scene inspired by a romantic
painting I found on the web long time ago.
Only the two big trees use the projection pattern trick.


Norbert Kern


Post a reply to this message

From: Norbert Kern
Subject: Re: colored leaves
Date: 15 Mar 2012 15:35:04
Message: <web.4f6243b5985f1ee4dc4ffc880@news.povray.org>
hmm, here is the image...


Post a reply to this message


Attachments:
Download 'colored_trees.jpg' (369 KB)

Preview of image 'colored_trees.jpg'
colored_trees.jpg


 

From: clipka
Subject: Re: colored leaves
Date: 15 Mar 2012 15:48:22
Message: <4f624786$1@news.povray.org>
Am 15.03.2012 20:32, schrieb Norbert Kern:
> hmm, here is the image...

Nice one; what did you use to make this picture - acrylic or oil colors? :-D

Honestly, this is fantastic.


Post a reply to this message

From: BertvdB
Subject: Re: colored leaves
Date: 15 Mar 2012 16:15:01
Message: <web.4f624d37985f1ee4d25d21bf0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 15.03.2012 20:32, schrieb Norbert Kern:
> > hmm, here is the image...
>
> Nice one; what did you use to make this picture - acrylic or oil colors? :-D
>
> Honestly, this is fantastic.

Hm, seems to be povray
fantastic


Post a reply to this message

From: Thomas de Groot
Subject: Re: colored leaves
Date: 16 Mar 2012 03:59:03
Message: <4f62f2c7$1@news.povray.org>
Excellent technique and very beautiful image indeed!

On 15-3-2012 20:29, Norbert Kern wrote:
> Hi,
>
> i want to share a nice trick.
> [snip]
> So I used an old Poseray version, which opens mesh2 files and is able to save in
> the old mesh formate (Poseray 3.8.7).

Ah this is nice! Might be a good reason to ask FlyerX to add a 
mesh/mesh2 save option, with mesh2 as default.

> Then I read the first triangle coordinate and saved the color value derived by
> the projection pattern in a different file. After some copy and paste I had a
> mesh with three different imagemap based leaf textures (red, yellow and green).

I am not entirely sure how you did this but the result is spectacular 
and convincing.
>
> As a demonstration file I used a nice backlit scene inspired by a romantic
> painting I found on the web long time ago.
> Only the two big trees use the projection pattern trick.


Thomas


Post a reply to this message

From: Paolo Gibellini
Subject: Re: colored leaves
Date: 16 Mar 2012 04:33:03
Message: <4f62fabf@news.povray.org>
> Only the two big trees use the projection pattern trick.
>
>
> Norbert Kern
>
Impressive.
Paolo


Post a reply to this message

From: Norbert Kern
Subject: Re: colored leaves
Date: 18 Mar 2012 05:00:01
Message: <web.4f65a3c1985f1ee41dab3f8c0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

> Nice one; what did you use to make this picture - acrylic or oil colors? :-D
>
> Honestly, this is fantastic.

thank you very much!


Post a reply to this message

From: Norbert Kern
Subject: Re: colored leaves
Date: 18 Mar 2012 05:00:03
Message: <web.4f65a3eb985f1ee41dab3f8c0@news.povray.org>
"BertvdB" <ber### [at] kpnmailnl> wrote:

> Hm, seems to be povray
> fantastic


Thanx!!


Post a reply to this message

From: Norbert Kern
Subject: Re: colored leaves
Date: 18 Mar 2012 05:10:01
Message: <web.4f65a5fb985f1ee41dab3f8c0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

> I am not entirely sure how you did this but the result is spectacular
> and convincing.

I will add a simple demonstration file to povray.binaries.scene-files, where the
several steps are shown.
As you can see, saving a mesh saves a lot of render time, but there is a
disatvantage too - sharp leaf texture changes can happen within one leaf.

Of course this trick can be useful for several kinds of slow textures applied to
a mesh...


Norbert


Post a reply to this message


Attachments:
Download 'projection pattern trick.jpg' (142 KB)

Preview of image 'projection pattern trick.jpg'
projection pattern trick.jpg


 

From: Norbert Kern
Subject: Re: colored leaves
Date: 18 Mar 2012 05:10:02
Message: <web.4f65a627985f1ee41dab3f8c0@news.povray.org>
Paolo Gibellini <p.g### [at] gmailcom> wrote:

> Impressive.
> Paolo

thank you very much!


Post a reply to this message

From: Thomas de Groot
Subject: Re: colored leaves
Date: 18 Mar 2012 08:12:58
Message: <4f65d14a$1@news.povray.org>
On 18-3-2012 10:08, Norbert Kern wrote:
> I will add a simple demonstration file to povray.binaries.scene-files, where the
> several steps are shown.
> As you can see, saving a mesh saves a lot of render time, but there is a
> disatvantage too - sharp leaf texture changes can happen within one leaf.

It is not such a disadvantage I believe as one can see sometimes those 
kind of texture changes in nature as well.

>
> Of course this trick can be useful for several kinds of slow textures applied to
> a mesh...

Sure. Now we just need that old Poseray version again... or an addition 
to the latest version. My old versions have all been deleted ages ago. :-)

Thomas


Post a reply to this message

From: Norbert Kern
Subject: Re: colored leaves
Date: 18 Mar 2012 09:50:00
Message: <web.4f65e6f5985f1ee41dab3f8c0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

> Sure. Now we just need that old Poseray version again... or an addition
> to the latest version. My old versions have all been deleted ages ago. :-)


I will post 3.8.7 to the binairies.scenefiles group

Norbert


Post a reply to this message

From: Stephen
Subject: Re: colored leaves
Date: 18 Mar 2012 11:45:01
Message: <4f6602fd@news.povray.org>
On 18/03/2012 12:12 PM, Thomas de Groot wrote:
> Sure. Now we just need that old Poseray version again... or an addition
> to the latest version. My old versions have all been deleted ages ago. :-)

I see that Norbert posted the Zip file. You could have used the Wayback 
Machine.
http://web.archive.org/web/20051024040348/http://mysite.verizon.net/sfg0000/

2005 Version 3.8.15


-- 
Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: colored leaves
Date: 18 Mar 2012 11:49:24
Message: <4f660404$1@news.povray.org>
On 18-3-2012 16:44, Stephen wrote:
> I see that Norbert posted the Zip file. You could have used the Wayback
> Machine.
> http://web.archive.org/web/20051024040348/http://mysite.verizon.net/sfg0000/
>
>
> 2005 Version 3.8.15
>

Thanks Stephen! I site I have to note for future reference :-)

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: colored leaves
Date: 18 Mar 2012 11:49:59
Message: <4f660427@news.povray.org>
On 18-3-2012 14:45, Norbert Kern wrote:
> I will post 3.8.7 to the binairies.scenefiles group
>

Thanks indeed, Norbert!

Thomas


Post a reply to this message

From: Norbert Kern
Subject: Re: colored leaves
Date: 18 Mar 2012 13:10:01
Message: <web.4f66167d985f1ee4f1ded9420@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 18-3-2012 14:45, Norbert Kern wrote:
> > I will post 3.8.7 to the binairies.scenefiles group
> >
>
> Thanks indeed, Norbert!

No problem, Thomas.

By the way, 3.8.15 doesn't have the option for mesh output instead of mesh2.

This special 3.8.7 option can be found at "Povray Output / Scene Options / Use
mesh for the geometry definitions. (Default is mesh2)".
Of course earlier Poseray versions export to mesh formate too, but they don't
have the useful possibility to import povray mesh2 files...


Norbert


Post a reply to this message

From: Stephen
Subject: Re: colored leaves
Date: 18 Mar 2012 13:21:45
Message: <4f6619a9$1@news.povray.org>
On 18/03/2012 3:49 PM, Thomas de Groot wrote:
> On 18-3-2012 16:44, Stephen wrote:
>> I see that Norbert posted the Zip file. You could have used the Wayback
>> Machine.
>> http://web.archive.org/web/20051024040348/http://mysite.verizon.net/sfg0000/
>>
>>
>>
>> 2005 Version 3.8.15
>>
>
> Thanks Stephen! I site I have to note for future reference :-)
>


There are a lot of the Geocities sites archived there.

-- 
Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: colored leaves
Date: 18 Mar 2012 13:24:08
Message: <4f661a38$1@news.povray.org>
On 18/03/2012 5:08 PM, Norbert Kern wrote:
> By the way, 3.8.15 doesn't have the option for mesh output instead of mesh2.

Oh! I did not notice that. Thanks and thanks for posting the file. I 
hope that FlyerX does not mind.

-- 
Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: colored leaves
Date: 19 Mar 2012 03:44:15
Message: <4f66e3cf$1@news.povray.org>
On 18-3-2012 18:21, Stephen wrote:
> There are a lot of the Geocities sites archived there.
>

I think I noted it down somewhere when the Geocities sites were beamed 
to Andromeda :-)  but I lost the reference  somehow.

Thomas


Post a reply to this message

From: Stephen
Subject: Re: colored leaves
Date: 19 Mar 2012 05:32:15
Message: <4f66fd1f$1@news.povray.org>
On 19/03/2012 7:44 AM, Thomas de Groot wrote:
> On 18-3-2012 18:21, Stephen wrote:
>> There are a lot of the Geocities sites archived there.
>>
>
> I think I noted it down somewhere when the Geocities sites were beamed
> to Andromeda :-) but I lost the reference somehow.
>
Ah! Well. Only 5.2 million years until it bounces back. :-)


-- 
Regards
     Stephen


Post a reply to this message

From: Dre
Subject: Re: colored leaves
Date: 8 Jun 2012 01:00:35
Message: <4fd186f3@news.povray.org>
On 3/16/2012 6:32 AM, Norbert Kern wrote:
> hmm, here is the image...

Wonderful image!

Did you model the 2 big trees yourself?  or use povtree/tomtree etc??

Cheers Dre


Post a reply to this message

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