POV-Ray : Newsgroups : povray.binaries.images : Bamboo test 1. Server Time
19 Aug 2024 14:17:06 EDT (-0400)
  Bamboo test 1. (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Sigmund Kyrre Aas
Subject: Re: Bamboo test 1.
Date: 11 Dec 2000 06:55:53
Message: <jdb93tcekq10samukhuo5gm21v0cfbo3jv@4ax.com>
On Mon, 11 Dec 2000 07:31:21 +0100, Rob Verweij
<rg.### [at] worldonlinenl> wrote:

>I have some difficulties on deciding what the best way of "modeling" is for
>the segments. Texturing them is easy but "modeling" them isn't (well at least
>for me it isn't). I thought I could do it by using a gradient bump map but

I've tested my function posted in p.a-u and it works ok. I Threw in
some variable names just so you know what to tweak. The
R*(.995-y*.005) part is used to make the straw thinner at the top.

$R=3;
$Segment_curve=2;
$Segment_length=5;
isosurface {
    function {
sqrt(Segment_curve*cos(y/Segment_length))+x^2+z^2-R*(.995-y*.005)}
    accuracy 0.001
    contained_by{box{-<R,50,R>,<R,50,R>}}
    pigment {rgb .9} finish {phong 0.5 phong_size 10}
}

sig
-- 
ICQ 74734588


Post a reply to this message

From: Greg M  Johnson
Subject: Re: Bamboo test 1.
Date: 11 Dec 2000 15:53:02
Message: <3A353D36.5B331066@my-dejanews.com>
Sigmund Kyrre Aas wrote:

> $R=3;
> $Segment_curve=2;
> $Segment_length=5;
> isosurface {
>     function {
> sqrt(Segment_curve*cos(y/Segment_length))+x^2+z^2-R*(.995-y*.005)}
>     accuracy 0.001
>     contained_by{box{-<R,50,R>,<R,50,R>}}
>     pigment {rgb .9} finish {phong 0.5 phong_size 10}
> }

This doesn't quite convey the structure I'm used to seeing.
  http://www.artmarquetry.com/gallery/mretter/mr-p07.html
is much closer.

I saw a lot of wild bamboo growing up in Virginia in the US of all places   . . .


Post a reply to this message

From: Bob H 
Subject: Re: Bamboo test 1.
Date: 12 Dec 2000 02:47:27
Message: <3a35d80f@news.povray.org>
"Greg M. Johnson" <gre### [at] my-dejanewscom> wrote in message
news:3A353D36.5B331066@my-dejanews.com...
>
> This doesn't quite convey the structure I'm used to seeing.
>   http://www.artmarquetry.com/gallery/mretter/mr-p07.html
> is much closer.
>
> I saw a lot of wild bamboo growing up in Virginia in the US of all places   .
. .
>

Maybe this is better, less curvature, I went about tweaking on the script code
by Sigmund.  Added a color gradient pattern.

$R=3;
$Segment_curve=.2;
$Segment_length=5;
isosurface {
    function {
sqrt((Segment_curve/4)*cos(y*1.5/Segment_length)/.15)+(x^2+z^2)-R*(1-y*.005)}
    accuracy 0.001
    contained_by{box{-<R,50,R>,<R,50,R>}}
    pigment {gradient y color_map {
        [.05 color rgb <.35,.55,.35>]
        [.1 color rgb <.4,.75,.55>]
        } scallop_wave translate .49*y scale Segment_length*2.1
    }
    finish {diffuse .7 phong 0.5 phong_size 10}
}

I too have seen bamboo around here, from fishing poles to the living stuff, and
it can vary a lot I guess depending on where and what species it is.  Although
it always has the same segmentation characteristic of course.
The kind growing around here in northern Alabama US seems to like hillsides.  I
always think of bamboo as a swamp plant though but I can't ever recall seeing
any in swamps.
Here's a picture gallery of bamboo: http://www.lewisbamboo.com/plants.html


Post a reply to this message

From: Sigmund Kyrre Aas
Subject: Re: Bamboo test 1.
Date: 12 Dec 2000 07:36:09
Message: <j63c3tcj5gkfrfo3949rn8jsrfquas8r7o@4ax.com>
Yeah, that's probably better. Didn't know they could grow that big (as
in you link). My experience with bamboo is ski poles, never seen a
live one.

sig
-- 
ICQ 74734588


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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