|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This is the result of a macro that I thought of on the way to work
yesterday. Each of these sphere_sweep knock-offs has 100 control points and
either will render on my machine in about 4 seconds without AA! (that won't
mean much to you if you haven't used sphere_sweep before, but if you
have...)
This isn't a replacement for sphere_sweep, but if all that is required is a
smooth curve controlled by a group of points, then this can be used to make
one very quickly.
-Shay
Post a reply to this message
Attachments:
Download 'Cheap_JPG.jpg' (19 KB)
Preview of image 'Cheap_JPG.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Cool. How do you set up the control points? Will you post your macro?
"Shay" <sah### [at] simcopartscom> wrote in message
news:3ca1eef4@news.povray.org...
>
> This is the result of a macro that I thought of on the way to work
> yesterday. Each of these sphere_sweep knock-offs has 100 control points
and
> either will render on my machine in about 4 seconds without AA! (that
won't
> mean much to you if you haven't used sphere_sweep before, but if you
> have...)
>
> This isn't a replacement for sphere_sweep, but if all that is required is
a
> smooth curve controlled by a group of points, then this can be used to
make
> one very quickly.
>
> -Shay
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Spock <spo### [at] nospamcom> wrote in message news:3ca1ef67$1@news.povray.org...
> Cool
Thank you.
> How do you set up the control points?
The user puts the control points into an array. (I *think* I understood the
question) Then the macro then builds a CSG "sweep."
> Will you post your macro?
I will post the code for the macro, but posting three buggy versions of
another macro to pbs-f a week or two ago has taught me a lesson. I will use
the macro for a while first to make SURE that I have not missed and
mistakes.
-Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hugo <hua### [at] post3teledk> wrote in message
news:3ca2244f$1@news.povray.org...
>
> I'm looking forward to see if these sweeps are made up of thousands of
small
> spheres, a few hundred cylinders, or a bunch of torus? Eventually torus's
> would be the best solution (?).
>
The sweeps are made up mostly of tori. The first sweep has only 196 objects,
not sure about the second. This is what makes the render so fast.
> I've seen a macro for this already, but it
> uses it's own kind of spline, that acts a little wierd.
>
Do you remember where you saw this? I would very much like to take a look.
-Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Do you remember where you saw this? I would very much like to take a look.
Of course you can have a look. :o)
I attached it to this mail.
Regards,
Hugo
Post a reply to this message
Attachments:
Download 'TorSpline.pov.txt' (4 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Wed, 27 Mar 2002 16:29:57 -0600, "Shay" <sah### [at] simcopartscom> wrote:
>> I'm looking forward to see if these sweeps are made up of thousands of small
>> spheres, a few hundred cylinders, or a bunch of torus? Eventually torus's
>> would be the best solution (?).
>
> The sweeps are made up mostly of tori. The first sweep has only 196 objects,
> not sure about the second. This is what makes the render so fast.
btw: have you seen http://www.ch.cam.ac.uk/MMRG/people/mdm/torpatch.html
iirc there was also include file equivalent torpatch.inc (by Ron Parker ?)
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I looked at Tor's code that Hugo posted and he uses a completely different
method. His method makes a torus segment with ends on two control points. My
method makes a torus segment which may pass through no control points and
has its ends at the midpoints between a point and its previous and next
points.
I considered Tor's method, but the method I chose is more appropriate for
the kinds of objects I designed it to create. (Cables, tubing, piping, etc.)
Attached is a picture showing the same set of control points and the output
of each macro. My macro produced the red sweep, Tor's the blue.
-Shay
news:jkj5au81gpdeinl89lg77i8n1qnrd6t36e@4ax.com...
Post a reply to this message
Attachments:
Download 'Shay_TorJPG.jpg' (12 KB)
Preview of image 'Shay_TorJPG.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 28 Mar 2002 09:20:10 -0600, "Shay" <sah### [at] simcopartscom> wrote:
> I looked at Tor's code ...
> My macro produced the red sweep, Tor's the blue.
I know we know one Tor. But afaik it's not Tor's code :-)
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
news:pdd6auo66m8l54b54hljva26jsis0j79i7@4ax.com...
> On Thu, 28 Mar 2002 09:20:10 -0600, "Shay" <sah### [at] simcopartscom> wrote:
> > I looked at Tor's code ...
> > My macro produced the red sweep, Tor's the blue.
>
> I know we know one Tor. But afaik it's not Tor's code :-)
>
> ABX
My mistake. I saw the title TorSpline.pov and just assumed.
Proper credit belongs to
********************
// Auth: Ronald L. Parker
********************
-Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The red line is much better! It's predictable. I'm looking forward to your
macro.
Regards,
Hugo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |