POV-Ray : Newsgroups : povray.binaries.images : YATM Server Time
1 Aug 2024 20:13:52 EDT (-0400)
  YATM (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: m a r c
Subject: Re: YATM
Date: 3 Jun 2008 06:17:16
Message: <48451a2c@news.povray.org>

web.4844954f30a3ddbea5d4a01d0@news.povray.org...
> Yet
> Another
> Tree
> Macro
>

Niiice !
That's pretty convincing and a superb add-on for close-up trees!
KUTGW ;-)

Marc


Post a reply to this message

From: Paolo Gibellini
Subject: Re: YATM
Date: 3 Jun 2008 06:38:59
Message: <48451f43$1@news.povray.org>
The best POV-trunk I've ever seen until now!
I'm not an expert but my suggestion is this: on a such tree I'm expect 
now to see roots outcropping on the ground...
;-)
Paolo

 >Kirk Andrews wrote:
> Yet
> Another
> Tree
> Macro
> 
> I've been using POV-Tree and I've tried various other methods, and I just can't
> get a tree with which I'm satisfied for close-ups.  So, now I'm trying to make
> my own tree macro, inspired in part from Bill's weathered objects macros.  I've
> only been working on the trunk so far, but I'm happy with the results at this
> point.
> 
> I'll be working on this for a while, suggestions and pointers from the experts
> are welcome!
> 
> 
> 
> 
> ------------------------------------------------------------------------
>


Post a reply to this message

From: Doctor John
Subject: Re: YATM
Date: 3 Jun 2008 11:01:32
Message: <48455ccc$1@news.povray.org>
Kirk Andrews wrote:
> Yet
> Another
> Tree
> Macro

As ever, I stand in awe

John

-- 
I will be brief but not nearly so brief as Salvador Dali, who gave the
world's shortest speech. He said, "I will be so brief I am already
finished," then he sat down.


Post a reply to this message

From: Kirk Andrews
Subject: Re: YATM
Date: 3 Jun 2008 12:45:00
Message: <web.484574a0de6841fda5d4a01d0@news.povray.org>
Thanks everyone!

Yes, I'll be working on branches (and roots are on the list, too) as I have
time.  When I'm done, I'll post the code.


Post a reply to this message

From: Alain
Subject: Re: YATM
Date: 3 Jun 2008 14:05:34
Message: <484587ee$1@news.povray.org>
Kirk Andrews nous illumina en ce 2008-06-02 20:51 -->
> Yet
> Another
> Tree
> Macro
> 
> I've been using POV-Tree and I've tried various other methods, and I just can't
> get a tree with which I'm satisfied for close-ups.  So, now I'm trying to make
> my own tree macro, inspired in part from Bill's weathered objects macros.  I've
> only been working on the trunk so far, but I'm happy with the results at this
> point.
> 
> I'll be working on this for a while, suggestions and pointers from the experts
> are welcome!
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
Most excellent! With the current texture, it looks like the old weathered trunk 
of a dead tree that is missing all of it's bark.
The lone crack near the middle just add some more realism.
Put a few of those in front, then some more "regular" trees from pov-tree behind.

-- 
Alain
-------------------------------------------------
Get a new car for your spouse. It'll be a great trade!


Post a reply to this message

From: Blue Herring
Subject: Re: YATM
Date: 4 Jun 2008 09:40:38
Message: <48469b56$1@news.povray.org>
Wowie zowie!! Just incredible, I must say.

Not criticism at all, and perhaps its just me, but the landscape under 
it makes the tree look colossal.  It would look really neat to perhaps 
put some little houses around it or something like that.

-- 
-The Mildly Infamous Blue Herring


Post a reply to this message

From: Kirk Andrews
Subject: Re: YATM
Date: 5 Jun 2008 22:00:00
Message: <web.48489920de6841fda5d4a01d0@news.povray.org>
Ok, here's my problem right now:

My tree and branches are made by following along a spline, placing vertices at a
specified radius in a circle around the spline.  In order for the branches to
have a consistent radius, I need the plane on which each circle of vertices
rests to be perpendicular to the the direction of the spline.

I thought that would be simple enough, but I'm having trouble.  I've been trying
to use vcross() to get an perpendicular axis to rotate a vector around, but
every time the spline changes direction, the axis will flip and therefore so
does the order of my vertices.  The result is an effect similar to twisting a
tube balloon.

Am I making any sense?  Any help?  Any simple solution that I'm just not seeing?


Post a reply to this message

From: Chris B
Subject: Re: YATM
Date: 6 Jun 2008 02:32:02
Message: <4848d9e2$1@news.povray.org>
"Kirk Andrews" <kir### [at] tektonartcom> wrote in message 
news:web.48489920de6841fda5d4a01d0@news.povray.org...
> Ok, here's my problem right now:
>
> My tree and branches are made by following along a spline, placing 
> vertices at a
> specified radius in a circle around the spline.  In order for the branches 
> to
> have a consistent radius, I need the plane on which each circle of 
> vertices
> rests to be perpendicular to the the direction of the spline.
>
> I thought that would be simple enough, but I'm having trouble.  I've been 
> trying
> to use vcross() to get an perpendicular axis to rotate a vector around, 
> but
> every time the spline changes direction, the axis will flip and therefore 
> so
> does the order of my vertices.  The result is an effect similar to 
> twisting a
> tube balloon.
>
> Am I making any sense? Any help?  Any simple solution that I'm just not 
> seeing?

Yes. Keep a running note of the vector that you used to start the previous 
circular sweep. Then use the VPerp_Adjust function in math.inc to adjust it 
so that it is perpendicular to the direction of the spline for the next 
step. This avoids suddenly getting a vector that points in completely the 
opposite direction and should therefore avoid the irritating twisting 
effect.

Regards,
Chris B.


Post a reply to this message

From: Kirk Andrews
Subject: Re: YATM
Date: 6 Jun 2008 14:50:00
Message: <web.484985d0de6841fdb555cae70@news.povray.org>
> Yes. Keep a running note of the vector that you used to start the previous
> circular sweep. Then use the VPerp_Adjust function in math.inc to adjust it
> so that it is perpendicular to the direction of the spline for the next
> step. This avoids suddenly getting a vector that points in completely the
> opposite direction and should therefore avoid the irritating twisting
> effect.
>
> Regards,
> Chris B.

Ah!  Thank you.  Works great.  I didn't think to look in math.inc for more
vector functions.


Post a reply to this message

From: Chris B
Subject: Re: YATM
Date: 6 Jun 2008 15:21:51
Message: <48498e4f$1@news.povray.org>
"Kirk Andrews" <kir### [at] tektonartcom> wrote in message 
news:web.484985d0de6841fdb555cae70@news.povray.org...
>> Yes. Keep a running note of the vector that you used to start the 
>> previous
>> circular sweep. Then use the VPerp_Adjust function in math.inc to adjust 
>> it
>> so that it is perpendicular to the direction of the spline for the next
>> step. This avoids suddenly getting a vector that points in completely the
>> opposite direction and should therefore avoid the irritating twisting
>> effect.
>>
>> Regards,
>> Chris B.
>
> Ah!  Thank you.  Works great.  I didn't think to look in math.inc for more
> vector functions.

My pleasure. I remember it took me quite some time a few years ago to 
discover it when I wanted to add some clothing around a limb and I don't 
think I've ever used it for anything else since :o)


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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