POV-Ray : Newsgroups : povray.binaries.scene-files : SplineTree (possibly) improvements ... Server Time
2 Sep 2024 18:21:48 EDT (-0400)
  SplineTree (possibly) improvements ... (Message 1 to 1 of 1)  
From: Jan Walzer
Subject: SplineTree (possibly) improvements ...
Date: 24 Apr 2000 14:46:14
Message: <39049676@news.povray.org>
Ken asked me to repost my message from pov.advanced-users here again ...
so I do ...

----------------------------------------------------
Hi ..
Today I tried Splinetree by Andrew Clinton ...
a good thing, but I think the changes I did aren't so worse ...

My first problem was that I wasn't able to put some things at the branches,
hanging straight down (like fruits of a tree, or in my case some
EasterEggs). When declaring them as a leave, its rotated in some direction
..

So i declared an Array leafturb[] similar to leafprob[]. for every type you
can put an number for the Amount of rotating it. For 0 it is not rotated and
your leaf (or what ever, e.g. a fruit) is not rotated. If it is 1 then it
behaves like standard.

The other thing I changed, was something about the branching. By default all
the recursion depths of the tree are calculated, making it a very good
weighted tree.
Very nice if you want a optimal tree... but I think in reality very seldom
..

I added the optional variable branchlengthturb. If it is 0 you get your
standard tree.
If you increase it the recursion may be canceled earlier and you get a
unweighted tree.
May be you have to increase the subdivisions...

another minor change was the debugging system ...


But I think if you look at the Source You'll know what I mean ...
For using the attached Files you'll need to have the Bitmaps from the
original SplineTree-package of Andrew Clinton...
I think I'll post the Rendering to P.B.I.

Any comments ???


Post a reply to this message


Attachments:
Download 'leafdefs.inc.txt' (5 KB) Download 'Eastern.pov.txt' (4 KB) Download 'splinetree.inc.txt' (8 KB) Download 'easteregg.inc.txt' (5 KB)

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