POV-Ray : Newsgroups : povray.general : Flower power : Re: Flower power Server Time
4 Nov 2024 19:22:18 EST (-0500)
  Re: Flower power  
From: Anthony D  Baye
Date: 22 Oct 2003 17:41:19
Message: <3F96F97F.FB04E35D@Rapidnet.com>
I was thinking, like a rose or something.

                                            Anthony D. Baye

"Hughes, B." wrote:

> "Anthony D. Baye" <ban### [at] Rapidnetcom> wrote in message
> news:3F962693.84387F65@Rapidnet.com...
> > Does anybody know how to design a flower using an IsoSurface? (Is this
> > even possible?)
> > I only need the flower itself, not the stem.
>
> How elaborate a flower? Unrealistic daisy is simple. Realistic rose much
> more difficult. At least from what I'm thinking it would be.
>
> The daisy could be a radial pattern, like so:
>
> function {
>  pattern {
>   radial
>   scallop_wave frequency 6 // shape and number of petals
>   rotate 90*x
>  }
> }
>
> Then used as:
>
> isosurface {
>  function {
>   (x*x+y*y+z*z) // sphere shape
>   -
>   FlowerPattern(x,y,z)
>  }
>  contained_by {
>   box {<-1,-1,-0.1>,<1,1,0.1>} // middle slice
>  }
>     pigment {
>         spherical
>             color_map {
>                 [0.75 color rgb <1,1,1>]
>                 [0.8 color rgb <1,1,0>]
>             }
>         }
> }
>
> --
> Bob H.
> http://www.3digitaleyes.com


Post a reply to this message

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