|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I've been playing with the macro I did for the gardens entry and rewrote
the tree macro to use splines. I'm surprised I didn't think of this
before...for the entry I used 3 clumsy macros to do mainly the same
thing. For this, the render time wasn't bad, but the parsing was
horrid. Let me know what you think.
I also picked up a macro from these groups (called Reorient I think?) to
orient the blob components on the slope of the spline. I'm not sure who
wrote it. Let me know so I can give credit!
Andrew C
Post a reply to this message
Attachments:
Download 'splinetree.jpg' (61 KB)
Preview of image 'splinetree.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The trunk curves kind of wierd so it looks like a branch rather than a whole
tree, but it is quite realistic.
> I also picked up a macro from these groups (called Reorient I think?) to
> orient the blob components on the slope of the spline. I'm not sure who
> wrote it. Let me know so I can give credit!
If it's reposition(vector1,vector2) it might be mine.
--
Homepage: http://www.faricy.net/~davidf/
___ ______________________________
| \ |_ <dav### [at] faricynet>
|_/avid |ontaine <ICQ 55354965>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oh, that looks natural. Are you going to share that macro? Please?
rc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
It looks natural to me. I couldn't tell you what type
of plant/tree/bush is is like, but I wouldn't think
it odd to see it in a landscape. Is there any chance that
you will be releasing the code to the public?
Andrew Clinton wrote:
>
> I've been playing with the macro I did for the gardens entry and rewrote
> the tree macro to use splines. I'm surprised I didn't think of this
> before...for the entry I used 3 clumsy macros to do mainly the same
> thing. For this, the render time wasn't bad, but the parsing was
> horrid. Let me know what you think.
>
> I also picked up a macro from these groups (called Reorient I think?) to
> orient the blob components on the slope of the spline. I'm not sure who
> wrote it. Let me know so I can give credit!
>
> Andrew C
>
> ------------------------------------------------------------------------
> [Image]
--
Mr. Art
"Often the appearance of reality is more important
than the reality of the appearance."
Bill DeWitt 2000
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
<<... And so the POV Community reached another level of realism...>> Verse
rand(seed(333))*100, Chapter rand(seed(777))*10 of the Book of POV...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
That's amazing! This is just how 'dwarf birch' (?) here in Norway looks.
It grows at high altitude, even above the timberline, so it's often more
weather beaten and crumpled than this.
sig.
Andrew Clinton wrote:
>
> I've been playing with the macro I did for the gardens entry and rewrote
> the tree macro to use splines. I'm surprised I didn't think of this
> before...for the entry I used 3 clumsy macros to do mainly the same
> thing. For this, the render time wasn't bad, but the parsing was
> horrid. Let me know what you think.
>
> I also picked up a macro from these groups (called Reorient I think?) to
> orient the blob components on the slope of the spline. I'm not sure who
> wrote it. Let me know so I can give credit!
>
> Andrew C
>
> ------------------------------------------------------------------------
> [Image]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This is the macro:
#macro instslope (Axis1,Axis2)
#local vX1=vnormalize(Axis1);
#local vX2=vnormalize(Axis2);
#local vY=vnormalize(vcross(vX1,vX2));
#local vZ1=vnormalize(vcross(vX1,vY));
#local vZ2=vnormalize(vcross(vX2,vY));
matrix < vX1.x, vY.x,vZ1.x,
vX1.y,vY.y,vZ1.y,
vX1.z,vY.z, vZ1.z,
0,0,0>
matrix < vX2.x,vX2.y,vX2.z,
vY.x,vY.y, vY.z,
vZ2.x,vZ2.y,vZ2.z,
0,0,0>
#end
I can't even find the original message anymore but I think it was called
Reorient (I renamed it). I can think of many more uses for this, not only for
trees!
Thanks for the comments,
Andrew C
David Fontaine wrote:
> The trunk curves kind of wierd so it looks like a branch rather than a whole
> tree, but it is quite realistic.
>
> > I also picked up a macro from these groups (called Reorient I think?) to
> > orient the blob components on the slope of the spline. I'm not sure who
> > wrote it. Let me know so I can give credit!
>
> If it's reposition(vector1,vector2) it might be mine.
>
> --
> Homepage: http://www.faricy.net/~davidf/
> ___ ______________________________
> | \ |_ <dav### [at] faricynet>
> |_/avid |ontaine <ICQ 55354965>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Very good, Andrew, and since it seems to grow in Norway, it should be put in
the gallery of famous pictures (whose was that again?).
Decidedly beautiful and natural looking.
--
Regards,
Sander
Andrew Clinton <cli### [at] ibmnet> schreef in berichtnieuws
387688B0.72A80EFA@ibm.net...
> I've been playing with the macro I did for the gardens entry and rewrote
> the tree macro to use splines. I'm surprised I didn't think of this
> before...for the entry I used 3 clumsy macros to do mainly the same
> thing. For this, the render time wasn't bad, but the parsing was
> horrid. Let me know what you think.
>
> I also picked up a macro from these groups (called Reorient I think?) to
> orient the blob components on the slope of the spline. I'm not sure who
> wrote it. Let me know so I can give credit!
>
> Andrew C
>
----------------------------------------------------------------------------
----
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks! Certainly, I'll be putting it on my website sometime (and maybe I'll
post it in these groups.) I'm working on a few more things, mainly adding the
option to define many leaves/flowers/fruit before calling the macro, and their
probabilities of appearing on the endpoint of a segment.
I'm also trying to make it so you don't need a PhD to run this thing...the
arrays that are needed to define before running it may seem daunting.
Andrew C
"mr.art" wrote:
> It looks natural to me. I couldn't tell you what type
> of plant/tree/bush is is like, but I wouldn't think
> it odd to see it in a landscape. Is there any chance that
> you will be releasing the code to the public?
>
> Andrew Clinton wrote:
> >
> > I've been playing with the macro I did for the gardens entry and rewrote
> > the tree macro to use splines. I'm surprised I didn't think of this
> > before...for the entry I used 3 clumsy macros to do mainly the same
> > thing. For this, the render time wasn't bad, but the parsing was
> > horrid. Let me know what you think.
> >
> > I also picked up a macro from these groups (called Reorient I think?) to
> > orient the blob components on the slope of the spline. I'm not sure who
> > wrote it. Let me know so I can give credit!
> >
> > Andrew C
> >
> > ------------------------------------------------------------------------
> > [Image]
>
> --
> Mr. Art
>
> "Often the appearance of reality is more important
> than the reality of the appearance."
> Bill DeWitt 2000
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 08 Jan 2000 10:41:51 -0500, Andrew Clinton <cli### [at] ibmnet> wrote:
>This is the macro:
>
>#macro instslope (Axis1,Axis2)
> #local vX1=vnormalize(Axis1);
> #local vX2=vnormalize(Axis2);
> #local vY=vnormalize(vcross(vX1,vX2));
> #local vZ1=vnormalize(vcross(vX1,vY));
> #local vZ2=vnormalize(vcross(vX2,vY));
> matrix < vX1.x, vY.x,vZ1.x,
> vX1.y,vY.y,vZ1.y,
> vX1.z,vY.z, vZ1.z,
> 0,0,0>
> matrix < vX2.x,vX2.y,vX2.z,
> vY.x,vY.y, vY.z,
> vZ2.x,vZ2.y,vZ2.z,
> 0,0,0>
>#end
>
>I can't even find the original message anymore but I think it was called
>Reorient (I renamed it). I can think of many more uses for this, not only for
>trees!
>
Reorient is from John van Sickle's macro zip file
http://users.erols.com/vansickl/macs.htm
and as you say it is an extremely useful macro.
Your tree is looking quite good, but I think the branches need a bit more randomness
in
the angle they make with the trunk.
David
----------------------------
dav### [at] cwcomnet
http://www.hamiltonite.mcmail.com
----------------------------
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|