 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"The Brain" <rag### [at] unival de> wrote in message
news:3ecf4d8f@news.povray.org...
> Thx. As from now I wont ask stupid questions.
> I want to make several cylinders, linked with spheres.
Gee, try not to get paranoid or anything ;-) ingo was just wondering, I'm
sure.
But anyway, stupid questions belong in the povray.newusers group. Only
joking! Second time within a matter of minutes. Seriously though, it seems
you might have actually overlooked that group so thought I'd point it out.
And if you believe the question merits asking in povray.general instead
anyway, at least you didn't post it to povray.advanced. :-)
Bob H.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> There are no stupid questions. It's just sometimes difficult to
> interpret what's going on in someone others brain through a line in a
> message.
I know. It was only a joke. I know that my questions are intelligent :))
(sometimes to intelligent ;))
> You could put a sphere and a cylinder in a union, that way you don't
> have to use vrotate.
Would be possible, but remember that I want to start a new cylinder in the
rotated point. So I need it anyway.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
In article <3ecf4548@news.povray.org>, "The Brain" <rag### [at] unival de>
wrote:
> And what if I use the Rotate_Around_Trans macro instead of the simple
> rotate?
From the other messages in this thread, it looks like you've figured out
how to do what you need using CSG, but if you ever need to do stuff like
this you can use the vtransform() macro in transforms.inc.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> Now to my question(s):
> How can i rotate a cylinder manually without the sin()-command?
> And (because the answer of the first question will be: its impossible) can I
> detect the new coordinates of the cap point when I use the rotate-command?
When doing a 2D rotation:
X = Radius*cos(radAngle)
Y = Radius*sin(radAngle)
Where Radius is the distance from origin you want and radAngle the angle
of rotation in radians.
HTH,
Xilo
--
Dedicated to audio/visual and interactive artwork.
http://www.geocities.com/simonlemieux/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> Thx. As from now I wont ask stupid questions.
> I want to make several clinders, linked with spheres.
That sounds to me like sphere_sweep with linear_spline.
In any case it suffices to ONLY know the points.
--
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}// Mark Weyer
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
lol, i'm a newbe. Don't make my head explode with that expert-formulars
:))))
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> lol, i'm a newbe. Don't make my head explode with that
expert-formulars
S-U-P-E-R-E-L-L-I-P-S-O-I-D
;-)
It seems like you know a lot already, and be sure to look into splines
sometime, they're very handy.
-Peter
PS: I know superellipsoid is not an expert-only thing, but it sounds
hard if you haven't heard of it.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Mark Weyer <wey### [at] informatik uni-freiburg de> wrote in message
news:3ED### [at] informatik uni-freiburg de...
> > I want to make several clinders, linked with spheres.
>
> That sounds to me like sphere_sweep with linear_spline.
> In any case it suffices to ONLY know the points.
>
Actually, Mark's suggestion sounds like exactly what you describe... and not
an expert subject at all. Sphere_sweeps are quite simple, they're actually
the first object I learned in POV (And I'm definitely NOT an expert!) As he
said, you only need the points. No rotations, no math.
Check the docs, section 6.5.1.10 Spheresweep
RG
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
^^ I mean all the i's and the *'s and the ('s and the )'s, and the
combination of all :))
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> ^^ I mean all the i's and the *'s and the ('s and the )'s, and the
> combination of all :))
Oh, (assuming you don't know) that's a signature. Copy it to a new file
in POV-Ray and render it. There are a lot of cool ones around!
-Peter
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |