POV-Ray : Newsgroups : povray.general : PoV-Ray 3.5: Sin() works incorrect Server Time
4 Aug 2024 14:22:18 EDT (-0400)
  PoV-Ray 3.5: Sin() works incorrect (Message 11 to 19 of 19)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: The Brain
Subject: Re: What if...
Date: 24 May 2003 11:45:44
Message: <3ecf93a8$1@news.povray.org>
> 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

From: Christopher James Huff
Subject: Re: What if...
Date: 24 May 2003 11:46:12
Message: <cjameshuff-6A1C7D.10471824052003@netplex.aussie.org>
In article <3ecf4548@news.povray.org>, "The Brain" <rag### [at] univalde> 
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] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Xilo Musimene
Subject: Re: PoV-Ray 3.5: Sin() works incorrect
Date: 24 May 2003 17:29:48
Message: <3ECFE44B.3040903@hotpop.com>
> 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

From: Mark Weyer
Subject: Re: What if...
Date: 25 May 2003 06:04:47
Message: <3ED0956A.9020000@informatik.uni-freiburg.de>
> 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

From: The Brain
Subject: Re: What if...
Date: 25 May 2003 06:48:27
Message: <3ed09f7b@news.povray.org>
lol, i'm a newbe. Don't make my head explode with that expert-formulars
:))))


Post a reply to this message

From: Peter Hertel
Subject: Re: What if...
Date: 25 May 2003 12:59:42
Message: <3ed0f67e@news.povray.org>
> 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

From: gonzo
Subject: Re: What if...
Date: 25 May 2003 17:12:52
Message: <3ed131d4$1@news.povray.org>
Mark Weyer <wey### [at] informatikuni-freiburgde> wrote in message
news:3ED### [at] informatikuni-freiburgde...

> > 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

From: The Brain
Subject: Re: What if...
Date: 26 May 2003 14:21:54
Message: <3ed25b42$1@news.povray.org>
^^ 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

From: Peter Hertel
Subject: Re: What if...
Date: 26 May 2003 17:29:26
Message: <3ed28736@news.povray.org>
> ^^ 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

<<< Previous 10 Messages Goto Initial 10 Messages

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