POV-Ray : Newsgroups : povray.general : Beech leaf Server Time
9 Jan 2025 09:58:36 EST (-0500)
  Beech leaf (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Bald Eagle
Subject: Re: Beech leaf
Date: 5 Dec 2024 09:00:00
Message: <web.6751b1bb10d3d811a5a6be6925979125@news.povray.org>
"Chris R" <car### [at] comcastnet> wrote:

> Getting a different texture on the bottom and top of the leaf is a little
> trickier, but can be done by splitting the leaf shape function in half and
> applying a different texture on each half.

I haven't modeled a prototype leaf isosurface yet, but I was wondering:
If the leaf is "extruded" across the x=0, y=0 plane, then I suppose that the
isosurface values could be negated for the entire half of the leaf on one side
of that plane.  Then you could just specify texture and interior_texture to get
both sides of the leaf.

- BW


Post a reply to this message

From: Bald Eagle
Subject: Re: Beech leaf
Date: 5 Dec 2024 20:30:00
Message: <web.675252b410d3d8111f9dae3025979125@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> If the leaf is "extruded" across the x=0, y=0 plane, then I suppose that the
> isosurface values could be negated for the entire half of the leaf on one side
> of that plane.  Then you could just specify texture and interior_texture to get
> both sides of the leaf.

Yep, it works.

These are just prototype leaves, but it shows that you can flip the sign of the
isosurface and thereby get different textures on each side.

Left leaf is the isosurface, and right leaf is the same isosurface scaled by -z.

I'll have to think about if there's a way to bend the leaf but still retain this
effect / feature.

- BW


Post a reply to this message


Attachments:
Download 'isosurfaceleaf.png' (33 KB)

Preview of image 'isosurfaceleaf.png'
isosurfaceleaf.png


 

From: Chris R
Subject: Re: Beech leaf
Date: 10 Dec 2024 12:50:00
Message: <web.67587e4810d3d8113d0038515cc1b6e@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Chris R" <car### [at] comcastnet> wrote:
>
> > For these, I found an interesting 2-D polar function to start with and started
> > playing with it to get the edges I wanted.
>
> So, presumably you're doing something like this:
> https://math.stackexchange.com/questions/1587947/the-plot-of-a-leaf

Yes, although for the scene I referenced the leaf was much simpler.

-- Chris R


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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