![](/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,
I was wondering if there were a command for bending/curving/etc a cylinder or a
cone? Where should i look in the manual for such command? I'm currently
putting a lot of little cylinders/cones and rotate them all with a script to
give a good curving effect... but this slows the render a bit since there is
like 200 cylinders for one...
Any help will be greatly apreciated!
Simon
--
+-------------------------+----------------------------------+
| Simon Lemieux | Website : http://www.666Mhz.net |
| Email : Sin### [at] 666Mhz net | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+
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) |
In article <39D79DE8.C3F35E29@yahoo.com> , Simon Lemieux
<lem### [at] yahoo com> wrote:
> I was wondering if there were a command for bending/curving/etc a cylinder or
> a cone? Where should i look in the manual for such command? I'm currently
> putting a lot of little cylinders/cones and rotate them all with a script to
> give a good curving effect... but this slows the render a bit since there is
> like 200 cylinders for one...
Did you consider using torii for this? You can cut them into smaller pieces
using CSG.
Thorsten
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) |
> Did you consider using torii for this? You can cut them into smaller pieces
> using CSG.
The donut-like object? nah... It would be a bit complicated to calculate the
scales in every dimension to get the exact curve I want, cut the segment I want
and translate it where I want...
I guess this means there are no such command as "curve" or "bend" or "twist"...
I'll have to experiment with a few methods and see which is the best...
Thanks,
Simon
--
+-------------------------+----------------------------------+
| Simon Lemieux | Website : http://www.666Mhz.net |
| Email : Sin### [at] 666Mhz net | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+
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) |
On Sun, 01 Oct 2000 18:01:56 -0400 Simon Lemieux wrote:
>I guess this means there are no such command as "curve" or "bend" or "twist"...
>I'll have to experiment with a few methods and see which is the best...
This is correct. Try Chris Colefax's Object Bender include file, which
can be found at:
http://www.geocities.com/ccolefax/
--
Alan - ako### [at] povray org - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
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) |
Simon Lemieux wrote:
>
> Hi,
> I was wondering if there were a command for bending/curving/etc a cylinder
or a
> cone?
You could try the sphere_sweep object in the unofficial version of POV-Ray
called MegaPOV. I think it should do what you need (see MegaPOV docs for more
info)
Windows version is available at http://nathan.kopp.com/patched.htm
Unix/Linux version at http://www.mailbag.com/users/mtgordon/megapov.html
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
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) |
> This is correct. Try Chris Colefax's Object Bender include file, which
> can be found at:
>
> http://www.geocities.com/ccolefax/
Woa, thanks a lot!
--
+-------------------------+----------------------------------+
| Simon Lemieux | Website : http://www.666Mhz.net |
| Email : Sin### [at] 666Mhz net | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+
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) |
Simon Lemieux <lem### [at] yahoo com> wrote:
:> This is correct. Try Chris Colefax's Object Bender include file, which
:> can be found at:
:>
:> http://www.geocities.com/ccolefax/
: Woa, thanks a lot!
Don't get too excited. Since the include file uses the same technique as
you do, it will be as slow (if not even slower) than yours.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
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) |
> Don't get too excited. Since the include file uses the same technique as
> you do, it will be as slow (if not even slower) than yours.
Oh really? I haven't examined it yet... I was wondering, but this might go in
"povray.programation" or "povray.advanced-users", I was wondering how to
implement a new object algorithm in povray... I mean I just can't create an
object with multiple objects... that would be too much work and too slow to
render, I was looking to add my own object library to povray, such as cylindered
infinite spirals that can move, etc...
For this I could use many cylinders (many many for an almost-infinite), but I
could simply design an algorithm like for the sphere; does the ray touches the
sphere (center+radius), yes, good what color is it?... etc... Well it could be
does the ray passes through the algorithm given for the spiral, yes, good what
color is it... etc...
How could I do this?
Thanks
--
+-------------------------+----------------------------------+
| Simon Lemieux | Website : http://www.666Mhz.net |
| Email : Sin### [at] 666Mhz net | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+
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) |
On 2 Oct 2000 11:02:42 -0400, Warp wrote:
>Simon Lemieux <lem### [at] yahoo com> wrote:
>:> This is correct. Try Chris Colefax's Object Bender include file, which
>:> can be found at:
>:>
>:> http://www.geocities.com/ccolefax/
>
>: Woa, thanks a lot!
>
> Don't get too excited. Since the include file uses the same technique as
>you do, it will be as slow (if not even slower) than yours.
I bet you're really happy when Christmas comes to an end;-)
--
Cheers
Steve email mailto:ste### [at] zeropps uklinux net
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
5:29pm up 3 days, 19:48, 2 users, load average: 2.12, 2.20, 2.12
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) |
Simon Lemieux wrote:
>> Did you consider using torii for this? You can cut them into smaller
>> pieces using CSG.
>
>The donut-like object? nah... It would be a bit complicated to
>calculate the scales in every dimension to get the exact curve I want,
>cut the segment I want and translate it where I want...
>
>I guess this means there are no such command as "curve" or "bend" or
>"twist"... I'll have to experiment with a few methods and see which is
>the best...
If triangles are ok, you could have a look at the Striscia macro.
http://members.nbci.com/dvarrazzo/
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |