|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi all,
Is there a way to do simple polygon/spline sweep rather than sphere
sweep? By this, I mean sweeping a 2D object along a 3D spline. I feel like
it should be there but I did not see this in the docs.
Thanks
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <403a4c62@news.povray.org>,
"bongotastic" <cbl### [at] csdalca> wrote:
> Is there a way to do simple polygon/spline sweep rather than sphere
> sweep? By this, I mean sweeping a 2D object along a 3D spline. I feel like
> it should be there but I did not see this in the docs.
There is no built in primitive that does this. However, you can do it by
using the scripting language to build an appropriate mesh, and someone
may have done an include file for this already.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
bongotastic wrote:
> Hi all,
>
> Is there a way to do simple polygon/spline sweep rather than sphere
> sweep? By this, I mean sweeping a 2D object along a 3D spline. I feel like
> it should be there but I did not see this in the docs.
>
> Thanks
you could create two splines, one for the position and the other one for
rotation and simply create many instances of your mesh along the spline.
the problem is that you need an awful lot of objects to make it look
smooth. i did this a while ago to make something like a woven piece of
cloth and it had about 5k objects just for one strand of wool, so it's a
rather ineffective way...
bye,
Marc
--
---------------------------------
and god said: let there be a light_source { location SUN look_at EARTH,
rgb SUNLIGHT }
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wasn't it Christopher James Huff who wrote:
>In article <403a4c62@news.povray.org>,
> "bongotastic" <cbl### [at] csdalca> wrote:
>
>> Is there a way to do simple polygon/spline sweep rather than sphere
>> sweep? By this, I mean sweeping a 2D object along a 3D spline. I feel like
>> it should be there but I did not see this in the docs.
>
>There is no built in primitive that does this. However, you can do it by
>using the scripting language to build an appropriate mesh, and someone
>may have done an include file for this already.
Now that the web interface to news is back up, I can tell you that you
can get my SweepSpline macro which does that from
http://news.povray.org/povray.binaries.scene-files/thread/%3C3fb73d9e%40news.povray.org%3E/
(The trick for finding the message-id, and thereby writing more direct
and shorter URLs seems to not be present any more, so you'll have to
make do with this long threadwise URL.)
For a polygon to work properly, you should make it a linear_spline and
ensure that its control points take values that are multiples of
1/Vpoints. E.g. if you tell the mesh to use 20 points around the
circumference, then you can set your control points to multiples
of 0.05
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Williams wrote:
>
http://news.povray.org/povray.binaries.scene-files/thread/%3C3fb73d9e%40news.povray.org%3E/
>
> (The trick for finding the message-id, and thereby writing more direct
> and shorter URLs seems to not be present any more, so you'll have to
> make do with this long threadwise URL.)
Use - http://tinyurl.com/
This -
http://news.povray.org/povray.binaries.scene-files/thread/%3C3fb73d9e%40news.povray.org%3E/
Becomes this -
http://tinyurl.com/2u4ox
--
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks, I will try this later on today.
bongo
"Mike Williams" <nos### [at] econymdemoncouk> wrote in message
news:a3Z+xHA### [at] econymdemoncouk...
> Wasn't it Christopher James Huff who wrote:
> >In article <403a4c62@news.povray.org>,
> > "bongotastic" <cbl### [at] csdalca> wrote:
> >
> >> Is there a way to do simple polygon/spline sweep rather than sphere
> >> sweep? By this, I mean sweeping a 2D object along a 3D spline. I feel
like
> >> it should be there but I did not see this in the docs.
> >
> >There is no built in primitive that does this. However, you can do it by
> >using the scripting language to build an appropriate mesh, and someone
> >may have done an include file for this already.
>
> Now that the web interface to news is back up, I can tell you that you
> can get my SweepSpline macro which does that from
>
>
http://news.povray.org/povray.binaries.scene-files/thread/%3C3fb73d9e%40news.povray.org%3E/
>
> (The trick for finding the message-id, and thereby writing more direct
> and shorter URLs seems to not be present any more, so you'll have to
> make do with this long threadwise URL.)
>
> For a polygon to work properly, you should make it a linear_spline and
> ensure that its control points take values that are multiples of
> 1/Vpoints. E.g. if you tell the mesh to use 20 points around the
> circumference, then you can set your control points to multiples
> of 0.05
>
> --
> Mike Williams
> Gentleman of Leisure
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <a3Z+xHA### [at] econymdemoncouk> , Mike Williams
<nos### [at] econymdemoncouk> wrote:
>
>
http://news.povray.org/povray.binaries.scene-files/thread/%3C3fb73d9e%40news
.povray.o
> rg%3E/
>
> (The trick for finding the message-id, and thereby writing more direct
It will be back in a few days.
> and shorter URLs seems to not be present any more, so you'll have to
> make do with this long threadwise URL.)
<http://news.povray.org/*/thread/%3C3fb73d9e%40news.povray.org%3E/>
or for the message
<http://news.povray.org/%3C3fb73d9e%40news.povray.org%3E>
will also work.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |