POV-Ray : Newsgroups : povray.binaries.images : This is not a Rollex WATCH Server Time
4 Oct 2024 07:13:08 EDT (-0400)
  This is not a Rollex WATCH (Message 19 to 28 of 28)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: bankspad
Subject: Re: This is not a Rollex WATCH
Date: 27 Apr 1999 04:24:27
Message: <37216D8D.754F3783@pacbell.net>
Thank You!!!!!!!    ;-]

KB-

Ph Gibone wrote:

> >Hmm.. I have been trying to make a horn for some while, without any success
> at
> >all. i'll make some scans of the object I'm trying to create, and I'd like
> to
> >know a bit more of the procedure you used when you made yours.(yep, I know
> it's
> >a program, but I still want to know more:-)
>
> I saw the answer by Ken, and he's right (sorry for this pleonasm), but
> personaly, I prefer Math (don't call me perverted !). My opinion (very
> personal and not a dogma) is : if you can do it with pure math do it so, if
> you're stuck, try something else (of course it is depending on the math
> skills of the current speaker).
>
> Of course you can melt the two ways and use your math to create the two
> pathes used in the Gilles Macro)
>
> So back to math : the Horn is made of a shrinking circle circling around a
> fixed point and
> here is the equation :
>
> x = a*cos(u)+b*cos(c*u)*cos(u)*cos(v)
> y = a*sin(u)+b*cos(c*u)*sin(u)*cos(v)
> z = b*cos(c*u)*sin(v)
>
> (of course you can switch x, y and z, here, the big circle is in the xy
> plane)
>
> Where a = 10 (Radius of the big circle), b = 3 (radius of the little
> rotating circle), c = .6 (this one is a little more complicated to
> understand, it measures how fast the little circle vanishes, see below)
>
> (u and v in degrees here)
> u in [0, 150] (this ending value gives you the angle at which the small
> circle vanishes, it it strongly correlated with the c parameter because c =
> 90 / ending angle)
> v in [0, 360]
>
> What it particularly interesting with these maths is that you know what are
> the parameters for, and it's very easy to modify them, if you want a very
> thin horn just decrease b, if you want the horn to vanish after a half
> circle put ending angle = 180 (Half circle) and c = 90/180 = 0.5
>
> >As for the image, It looks good, although I have noo idea about what it
> is...
> >Ok, a clock of sorts, with precision.. ok, how did you say I was to use it?
> >(what time is it in the image?)
>
> 4 h 0 m 40 s, or may be 8 h 0 m 20 s
>
> Philippe


Post a reply to this message

From: Gilles Tran
Subject: Re: This is not a Rollex WATCH (no, it's a horn now)
Date: 27 Apr 1999 08:51:35
Message: <3725A543.FB0CBE44@inapg.inra.fr>
Thanks for the reference Ken, but my spline macro may be overkill for that. Also, the
macro doesn't modify the size of the extruded shape (no pointy end), and splines with
that kind of perfect mathematical shape are hard to figure out. Perhaps a little
"connect-the-dot" macro would do (not putting this in scenes-files because it's
really too small).  It's not perfect but you get the idea.
Gilles
#include "colors.inc"
camera{location  <1.0, 5, -30.0> direction 1.5*z right 4/3*x  look_at   <0.0, 5,
0.0>}
light_source{<-30, 30, -30> color Cyan} light_source{<30, 30, -30> color White*2}
#macro mHorn(hradius,hsize,hangle,n)
union{
#local lseg=pi*hsize/n;
#local i=1;
#local r1=hradius;
#local P1=<0,0,0>;
#local P2=<lseg,0,0>;
#while (i<=n)
        #local r2=hradius*(n-i)/n;
        cone{P1,r1,P2,r2} sphere{P1,r1}
        cone{P1,r1,P2,r2 scale <-1,1,1>} sphere{P1,r1 scale <-1,1,1>}
        #local P1=P2;
        #local P2=P1+lseg*(vnormalize(vrotate(P1,z*hangle*i/n)));
        #local r1=r2;
#local i=i+1;
#end
}
#end

object{mHorn(2,5,80,200) texture{pigment{rgb<1,0.7,0.3>} finish{metallic brilliance 5
ambient 0.01 phong 1}}}
background{White}



Ken wrote:

> Spider wrote:
> >
> > Hmm.. I have been trying to make a horn for some while, without any success at
> > all. i'll make some scans of the object I'm trying to create, and I'd like to
> > know a bit more of the procedure you used when you made yours.(yep, I know it's
> > a program, but I still want to know more:-)
>
>  The macro that Gilles offers for extruding along a path can easily
> produce horn shaped objects.
>
> http://www.mediaport.net/Artichaud/Tran/sources/gtsrcee.htm
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

From: Ken
Subject: Re: This is not a Rollex WATCH (no, it's a horn now)
Date: 27 Apr 1999 09:24:17
Message: <3725AB9A.C64D37D5@pacbell.net>
Gilles Tran wrote:
> 
> Thanks for the reference Ken, but my spline macro may be overkill for that. Also,
the
> macro doesn't modify the size of the extruded shape (no pointy end), and splines
with
> that kind of perfect mathematical shape are hard to figure out. Perhaps a little
> "connect-the-dot" macro would do (not putting this in scenes-files because it's
> really too small).  It's not perfect but you get the idea.
> Gilles

 I somehow had the impression that your macro could change shape as it
progressed along it's path. From what you say I now get the impression
that this is not so. Sorry for my lack of understanding and I will give
your macro more study so as to acertain it's true functionality before
again refering it to others for a given task.

 Regarding as to whether the code should have been placed in this group
or the scene files group that is where I am forced to disagree. To you
it may seem like a trivial piece of Pov script but to others it may seem
like magic. Many learn by example but where that example is hidden or
obscured there is no knowlege to be gained. What is gained from writing
a book but refusing to publish it ? What good is a book of beginnings
with no one to admire it ?

 Who will be able to find it here in three months time ?
 Who will be able to find it in the scene-files group in three months time ?

 I think that answer to both questions is obvious.
 No one and everyone respectively with no disrespect intended.



-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Gilles Tran
Subject: Re: This is not a Rollex WATCH (no, it's a horn now)
Date: 27 Apr 1999 10:45:25
Message: <3725BFF4.F5F3AABD@inapg.inra.fr>
Ken wrote:

>  I somehow had the impression that your macro could change shape as it
> progressed along it's path. From what you say I now get the impression
> that this is not so. Sorry for my lack of understanding and I will give
> your macro more study so as to acertain it's true functionality before
> again refering it to others for a given task.

You had this impression because the very first version I posted did change the shape
along
the path with some fancy function (not a real bug but the ghost of a "specialized"
version). So that was not neither a figment of your imagination not a lack of
understanding
from your part. Daniele Vazarro's "striscia" macro looks like it can do the trick
(http://members.xoom.com/dvarrazzo/ipov.htm).

>  Regarding as to whether the code should have been placed in this group
> or the scene files group that is where I am forced to disagree. To you
> it may seem like a trivial piece of Pov script but to others it may seem
> like magic.

Hehe. It's just that I saw it more as a help for Spider than as the Incredibly Useful
Macro
That's Here to Stay. Ok, I'll post this little widget of a horn making macro in...
what's
best ? text.scene-files or binaries.utilities ?

G.


Post a reply to this message

From: Ken
Subject: Re: This is not a Rollex WATCH (no, it's a horn now)
Date: 27 Apr 1999 11:05:46
Message: <3725C35A.447C0830@pacbell.net>
Gilles Tran wrote:
> 
> Ken wrote:
> 
> >  I somehow had the impression that your macro could change shape as it
> > progressed along it's path. From what you say I now get the impression
> > that this is not so. Sorry for my lack of understanding and I will give
> > your macro more study so as to acertain it's true functionality before
> > again refering it to others for a given task.
> 
> You had this impression because the very first version I posted did change the shape
along
> the path with some fancy function (not a real bug but the ghost of a "specialized"
> version). So that was not neither a figment of your imagination not a lack of
understanding
> from your part. Daniele Vazarro's "striscia" macro looks like it can do the trick
> (http://members.xoom.com/dvarrazzo/ipov.htm).

I love it when I am right and wrong at the same time :)

> Hehe. It's just that I saw it more as a help for Spider than as the
> Incredibly Useful Macro That's Here to Stay. Ok, I'll post this little
> widget of a horn making macro in... what's best ? text.scene-files or
binaries.utilities ?
> 
> G.

 I know it's not that big a deal but hey when you are a new user or an
advanced user with missing or damaged brain cells these little things
help.

 povray.text.scene-files would be appropriate. If it is a large file or
zipped for space then the binaries would be more appropriate.

 Thank you for your concern.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: bankspad
Subject: Re: This is not a Rollex WATCH (no, it's a horn now)
Date: 27 Apr 1999 11:24:02
Message: <3725C45F.A28CFD43@pacbell.net>
I need to step in and back-up Ken here. What brought me to this group to begin with
was
this very thing - exrusions and splines - several months later I get the answer I'm
looking
for ( not the default "get a modeler like moray or spatch" ) , however it is tossed
rather
casually into a message buried in a thread that know one in 2 weeks time will remeber
that
it is even here. This I stumbled upon quite by accident  - but I wonder how many
thousands
that may look and lurk here between now and forever will not benefit from other's hard
work
and discoveries if that data is not stored in the places that claim to have that data
stored there - imagine your O/S putting files wherever it felt like and suddenly you
need
to find a file somewhere under some drive in some folder or sub-folder or sub-sub
folder on
your 8+ gig hard drive.    ;-]

KB-

Ken wrote:

> Gilles Tran wrote:
> >
> > Thanks for the reference Ken, but my spline macro may be overkill for that. Also,
the
> > macro doesn't modify the size of the extruded shape (no pointy end), and splines
with
> > that kind of perfect mathematical shape are hard to figure out. Perhaps a little
> > "connect-the-dot" macro would do (not putting this in scenes-files because it's
> > really too small).  It's not perfect but you get the idea.
> > Gilles
>
>  I somehow had the impression that your macro could change shape as it
> progressed along it's path. From what you say I now get the impression
> that this is not so. Sorry for my lack of understanding and I will give
> your macro more study so as to acertain it's true functionality before
> again refering it to others for a given task.
>
>  Regarding as to whether the code should have been placed in this group
> or the scene files group that is where I am forced to disagree. To you
> it may seem like a trivial piece of Pov script but to others it may seem
> like magic. Many learn by example but where that example is hidden or
> obscured there is no knowlege to be gained. What is gained from writing
> a book but refusing to publish it ? What good is a book of beginnings
> with no one to admire it ?
>
>  Who will be able to find it here in three months time ?
>  Who will be able to find it in the scene-files group in three months time ?
>
>  I think that answer to both questions is obvious.
>  No one and everyone respectively with no disrespect intended.
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

From: Gilles Tran
Subject: Re: This is not a Rollex WATCH (it's a horn picture)
Date: 27 Apr 1999 12:46:57
Message: <3725DC71.C1EBA894@inapg.inra.fr>
I surrendered. The Horn macro is in povray.text.scene-files file now.
Works better than the previous version of 2 hours ago.
G.


bankspad wrote:

> I need to step in and back-up Ken here. What brought me to this group to begin with
was
> this very thing - exrusions and splines - several months later I get the answer I'm
looking
> for ( not the default "get a modeler like moray or spatch" ) , however it is tossed
rather
> casually into a message buried in a thread that know one in 2 weeks time will
remeber that
> it is even here. This I stumbled upon quite by accident  - but I wonder how many
thousands
> that may look and lurk here between now and forever will not benefit from other's
hard work
> and discoveries if that data is not stored in the places that claim to have that
data
> stored there - imagine your O/S putting files wherever it felt like and suddenly you
need
> to find a file somewhere under some drive in some folder or sub-folder or sub-sub
folder on
> your 8+ gig hard drive.    ;-]
>
> KB-
>


Post a reply to this message


Attachments:
Download 'horn.jpg' (4 KB)

Preview of image 'horn.jpg'
horn.jpg


 

From: Spider
Subject: Re: This is not a Rollex WATCH
Date: 27 Apr 1999 13:48:39
Message: <3725A0D1.16490F@bahnhof.se>
You just proved that I really am interested in math. at least in it's 
"practical" form. I'm not too sure that I am grateful. (I have loathed the way
we learn it here, and I still do.) 

Well, I see your point(some fiddling in pascal made the "trick" :-) thankyou.


Ph Gibone wrote:
> 
> >Hmm.. I have been trying to make a horn for some while, without any success
> at
> >all. i'll make some scans of the object I'm trying to create, and I'd like
> to
> >know a bit more of the procedure you used when you made yours.(yep, I know
> it's
> >a program, but I still want to know more:-)
> 
> I saw the answer by Ken, and he's right (sorry for this pleonasm), but
> personaly, I prefer Math (don't call me perverted !). My opinion (very
> personal and not a dogma) is : if you can do it with pure math do it so, if
> you're stuck, try something else (of course it is depending on the math
> skills of the current speaker).
> 
> Of course you can melt the two ways and use your math to create the two
> pathes used in the Gilles Macro)
> 
> So back to math : the Horn is made of a shrinking circle circling around a
> fixed point and
> here is the equation :
> 
> x = a*cos(u)+b*cos(c*u)*cos(u)*cos(v)
> y = a*sin(u)+b*cos(c*u)*sin(u)*cos(v)
> z = b*cos(c*u)*sin(v)
> 
> (of course you can switch x, y and z, here, the big circle is in the xy
> plane)
> 
> Where a = 10 (Radius of the big circle), b = 3 (radius of the little
> rotating circle), c = .6 (this one is a little more complicated to
> understand, it measures how fast the little circle vanishes, see below)
> 
> (u and v in degrees here)
> u in [0, 150] (this ending value gives you the angle at which the small
> circle vanishes, it it strongly correlated with the c parameter because c =
> 90 / ending angle)
> v in [0, 360]
> 
> What it particularly interesting with these maths is that you know what are
> the parameters for, and it's very easy to modify them, if you want a very
> thin horn just decrease b, if you want the horn to vanish after a half
> circle put ending angle = 180 (Half circle) and c = 90/180 = 0.5
> 
> >As for the image, It looks good, although I have noo idea about what it
> is...
> >Ok, a clock of sorts, with precision.. ok, how did you say I was to use it?
> >(what time is it in the image?)
> 
> 4 h 0 m 40 s, or may be 8 h 0 m 20 s
> 
> Philippe

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

From: bankspad
Subject: Re: This is not a Rollex WATCH (it's a horn picture)
Date: 27 Apr 1999 13:57:04
Message: <3725E83D.1A036CA@pacbell.net>
Thank you.    ;-]

KB-

Gilles Tran wrote:

> I surrendered. The Horn macro is in povray.text.scene-files file now.
> Works better than the previous version of 2 hours ago.
> G.
>
> bankspad wrote:
>
> > I need to step in and back-up Ken here. What brought me to this group to begin
with was
> > this very thing - exrusions and splines - several months later I get the answer
I'm looking
> > for ( not the default "get a modeler like moray or spatch" ) , however it is
tossed rather
> > casually into a message buried in a thread that know one in 2 weeks time will
remeber that
> > it is even here. This I stumbled upon quite by accident  - but I wonder how many
thousands
> > that may look and lurk here between now and forever will not benefit from other's
hard work
> > and discoveries if that data is not stored in the places that claim to have that
data
> > stored there - imagine your O/S putting files wherever it felt like and suddenly
you need
> > to find a file somewhere under some drive in some folder or sub-folder or sub-sub
folder on
> > your 8+ gig hard drive.    ;-]
> >
> > KB-
> >
>
>   ------------------------------------------------------------------------
>  [Image]


Post a reply to this message

From: Spider
Subject: Re: This is not a Rollex WATCH (no, it's a horn now)
Date: 27 Apr 1999 16:04:46
Message: <3725F1BF.40675BC0@bahnhof.se>
Hey, are you speaking about windows... no, that dumps all the files with very
obscure filenames in one big DIRECTORY, so that can't be it... hmm, Linux? Well,
I must say that all the filenames are very describing, but where are they when
the newbie needs them? (hehe) Well........ I can say, i've learned how to use
the search functions now :-)



bankspad wrote:
> 
> I need to step in and back-up Ken here. What brought me to this group to begin with
was
> this very thing - exrusions and splines - several months later I get the answer I'm
looking
> for ( not the default "get a modeler like moray or spatch" ) , however it is tossed
rather
> casually into a message buried in a thread that know one in 2 weeks time will
remeber that
> it is even here. This I stumbled upon quite by accident  - but I wonder how many
thousands
> that may look and lurk here between now and forever will not benefit from other's
hard work
> and discoveries if that data is not stored in the places that claim to have that
data
> stored there - imagine your O/S putting files wherever it felt like and suddenly you
need
> to find a file somewhere under some drive in some folder or sub-folder or sub-sub
folder on
> your 8+ gig hard drive.    ;-]
> 
> KB-
> 
> Ken wrote:
> 
> > Gilles Tran wrote:
> > >
> > > Thanks for the reference Ken, but my spline macro may be overkill for that.
Also, the
> > > macro doesn't modify the size of the extruded shape (no pointy end), and splines
with
> > > that kind of perfect mathematical shape are hard to figure out. Perhaps a little
> > > "connect-the-dot" macro would do (not putting this in scenes-files because it's
> > > really too small).  It's not perfect but you get the idea.
> > > Gilles
> >
> >  I somehow had the impression that your macro could change shape as it
> > progressed along it's path. From what you say I now get the impression
> > that this is not so. Sorry for my lack of understanding and I will give
> > your macro more study so as to acertain it's true functionality before
> > again refering it to others for a given task.
> >
> >  Regarding as to whether the code should have been placed in this group
> > or the scene files group that is where I am forced to disagree. To you
> > it may seem like a trivial piece of Pov script but to others it may seem
> > like magic. Many learn by example but where that example is hidden or
> > obscured there is no knowlege to be gained. What is gained from writing
> > a book but refusing to publish it ? What good is a book of beginnings
> > with no one to admire it ?
> >
> >  Who will be able to find it here in three months time ?
> >  Who will be able to find it in the scene-files group in three months time ?
> >
> >  I think that answer to both questions is obvious.
> >  No one and everyone respectively with no disrespect intended.
> >
> > --
> > Ken Tyler
> >
> > mailto://tylereng@pacbell.net

-- 
//Spider
        [ spi### [at] bahnhofse ]-[ http://www.bahnhof.se/~spider/ ]
What I can do and what I could do, I just don't know anymore
                "Marian"
        By: "Sisters Of Mercy"


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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