![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi Remco,
Thanks, I agree too that you would use these carefully
in a scene, and certainly no reason to build a background
from them, just not worth it there. These would be for a
foreground or macro environment.
There are quite a number of variables to control the shape,
size, leaf shape, colors, leaf and branch probability, upward
force to sky, number of starting stems, tightness of grouping,
maximum child branch level, leaf starting region and level,
branch radius, radius percentage at the end of a branch,
number of segments to use in creating branches, percentages
for child branch segment size and quantity, X/Y/Z angle of change
per segment, branch division, etc. It should be able to make
quite a variety of shrubs. Hopefully, I'll have a preliminary .INC
ready next week for review.
Thanks for your input, have a great day!
=Bob=
"Remco de Korte" <rem### [at] onwijs com> wrote in message
news:3A2A5074.754C1C1A@onwijs.com...
: Looks great and obviously it's very fast but you wouldn't want to have
many of
: these in a scene. What are the possibilities to tweak the bush?
: Remco
[My previous post deleted]
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
=Bob= wrote:
>
> Hi Christoph,
>
> Thanks! I do plan to publish the code when
> I get all the variables under control and properly
> documented.
>
> =Bob=
>
Yeah, that's a good idea, i just tried to dig through some code i made 4
days ago ;-)
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
=Bob= schrieb in Nachricht <3a2a5dbd@news.povray.org>...
[.... lots and lots of variables]
Ups, ....
please define some working defaults for every variable, so that even I can
make some of these beauties for my scenes. :-)
These look realy usefull and good!
Marc-Hendrik
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
That's what I'm working on now, I'm making 14
different shrubs using different variables in each,
with some explanations for the variables and
the data assigned to them. It's going to take
a while. So far, I have all the working defaults
defined and commented, plus I've implemented
a macro that resets them to their default values
so multiple shrubs can be used in a scene. When
I made the recent changes to the code, it set me
back a bit as it affected my samples in a significant
manner. I'm hoping to have something next week
though. I'll try to post another sample using some
different controls later today as I'm working.
Thanks for your interest and input on this project.
Have a grand and wonderful day!
=Bob=
"Marc-Hendrik Bremer" <Mar### [at] t-online de> wrote in message
news:3a2a9d9e@news.povray.org...
: =Bob= schrieb in Nachricht <3a2a5dbd@news.povray.org>...
: [.... lots and lots of variables]
:
: Ups, ....
:
: please define some working defaults for every variable, so that even I can
: make some of these beauties for my scenes. :-)
:
: These look realy usefull and good!
: Marc-Hendrik
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
=Bob= wrote:
>
> Hi Remco,
>
> Thanks, I agree too that you would use these carefully
> in a scene, and certainly no reason to build a background
> from them, just not worth it there. These would be for a
> foreground or macro environment.
>
> There are quite a number of variables to control the shape,
> size, leaf shape, colors, leaf and branch probability, upward
> force to sky, number of starting stems, tightness of grouping,
> maximum child branch level, leaf starting region and level,
> branch radius, radius percentage at the end of a branch,
> number of segments to use in creating branches, percentages
> for child branch segment size and quantity, X/Y/Z angle of change
> per segment, branch division, etc. It should be able to make
> quite a variety of shrubs. Hopefully, I'll have a preliminary .INC
> ready next week for review.
>
> Thanks for your input, have a great day!
> =Bob=
>
That should keep us busy for some time ;)
I hope it's possible to skip parameters so that they get a default value.
Remco
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi Remco,
The way I have it set up, there's a macro to
set the variables to their default values. PovRay
doesn't allow enough parameters to a macro to
handle them all, so I had no choice but to make
most of them global anyway. So what I've been
doing is calling the macro to set default values
then changing just the ones I want. Does that
sound like a good way to do it? I couldn't think
of better way.
=Bob=
"Remco de Korte" <rem### [at] onwijs com> wrote in message
news:3A2AC3E8.B12D07DD@onwijs.com...
[My previous post deleted]
: That should keep us busy for some time ;)
: I hope it's possible to skip parameters so that they get a default value.
: Remco
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
=Bob= wrote:
>
> Hi Remco,
>
> The way I have it set up, there's a macro to
> set the variables to their default values. PovRay
> doesn't allow enough parameters to a macro to
> handle them all, so I had no choice but to make
> most of them global anyway. So what I've been
> doing is calling the macro to set default values
> then changing just the ones I want. Does that
> sound like a good way to do it? I couldn't think
> of better way.
>
> =Bob=
>
Seems fair (if I understand it right).
The way I often do it is use the main variables as parameters for the macro and
declare (#local) the others in the macro if they aren't already declared
(IFNDEF).
Remco
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
=Bob= wrote:
> I look forward to your comments.
Sorry mostly questions :) ^^^^^^^^^^
I love the way the branches grow now
Is there a way to change the amount of influence the sun has on growing
direction?
Can you add more than 1 sun position?
Any plans for flower infloresences & fruit?
Animatable?
--
Bye
Pabs
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi Pabs,
"Pabs" <pab### [at] hotmail com> wrote in message
news:3A2B2CEC.9E4682B6@hotmail.com...
: =Bob= wrote:
: > I look forward to your comments.
:
: Sorry mostly questions :) ^^^^^^^^^^
: I love the way the branches grow now
But that's a comment, and one I like :^)
: Is there a way to change the amount of influence the sun has on growing
: direction?
So far, only up, but the influence is definable. 0 would be like growing in
a
vacuum, 1 would cause all branches to grow perfectly vertical.
: Can you add more than 1 sun position?
Are you saying multiple suns? Not sure what a plant would look like
under those conditions.
: Any plans for flower infloresences & fruit?
That's in my mind, but not sure when it will come out. I was thinking
about berries first.
: Animatable?
I think so. When I think about how I coded it, you could probably
animate it. Have to think about it more and maybe do some trials.
: Bye
: Pabs
Thanks for the comments and discourse, I look forward to
releasing a beta for review.
Have a great day!
=Bob=
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"=Bob=" <Bob### [at] threestrands com> wrote in message
news:3a2c523b@news.povray.org...
: So far, only up, but the influence is definable. 0 would be like growing
in
: a vacuum, 1 would cause all branches to grow perfectly vertical.
I meant to say in zero g. <g>
=Bob=
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |