 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Can anyone suggest an equation that gives the distance to a unit
circle lying in the x-z plane? It should look like an wood pattern
whose axis is not +z but a circle. Any ideas?
TIA.
---------
Peter Popov
ICQ: 15002700
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
This is untested but I'm fairly sure it's right.
Assume X, Y, Z are the coords of the point in question.
D is the distance to the unit circle.
D = sqrt( pow(Y,2) + pow(sqrt(pow(X,2)+pow(Z,2))-1,2) )
Good luck.
Gordon
<gbe### [at] birdcameron com au>
Peter Popov wrote in message <3c796fc0.8500773@news.povray.org>...
>Can anyone suggest an equation that gives the distance to a unit
>circle lying in the x-z plane? It should look like an wood pattern
>whose axis is not +z but a circle. Any ideas?
>
>TIA.
>
>
>---------
>Peter Popov
>ICQ: 15002700
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
just a question :
Your system date appear to be 24 Feb 2002.
The question is : what are the new features of POV-Ray 4.2 ?
Cheers,
Fabien.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Can you send a copy ???
Fabien Mosen wrote:
>
> just a question :
> Your system date appear to be 24 Feb 2002.
> The question is : what are the new features of POV-Ray 4.2 ?
>
> Cheers,
> Fabien.
--
//Spider
( spi### [at] bahnhof se ) [ http://www.bahnhof.se/~spider/ ]
#declare life = rand(seed(42))*sqrt(-1);
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sun, 28 Feb 1999 10:32:22 +0100, Fabien Mosen
<101### [at] compuserve com> wrote:
>just a question :
>Your system date appear to be 24 Feb 2002.
>The question is : what are the new features of POV-Ray 4.2 ?
>
>Cheers,
>Fabien.
Reinstalled IE4.0 :)
At least now I know I am y2k prepared.
---------
Peter Popov
ICQ: 15002700
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Peter Popov wrote in message <3c796fc0.8500773@news.povray.org>...
>Can anyone suggest an equation that gives the distance to a unit
>circle lying in the x-z plane? It should look like an wood pattern
>whose axis is not +z but a circle. Any ideas?
If you have Superpatch, just use this macro (I just wrote this,
haven't tried it yet.)
#macro TorusWood ( Major )
function { sqrt(x*x+y*y+z*z-Major*(2*sqrt(x*x+z*z)-Major)) }
#end
Put it where you'd normally have the name of the pattern, as in:
pigment {
TorusWood( 5 )
color_map {
[0/3 color Red]
[1/3 color Green]
[2/3 color Blue]
[3/3 color Red]
}
}
Here are some other pattern macros:
// A torus-shaped density pattern, from which the above was derived.
#macro Toroidal ( Major ) // minor radius always 1
function { max(0,1-sqrt(x*x+y*y+z*z-Major*(2*sqrt(x*x+z*z)-Major))) }
#end
// Two point-to-point cones around the y-axis, similar to the cylindrical
// pattern except the width of the cylinder at any point is the same as
// the y-coordinate value. (untested)
#macro Conical ( )
function { max(0,1-sqrt(x*x+z*z)/abs(y)) }
#end
// A variable number of concentric cones, can be used with the radial
// pattern to create longitude-latitude lines on a sphere.
#macro Latitudes ( Frequency )
#local Pi = pi; // don't ask, some "feature" of Superpatch
function { Frequency*asin(y/sqrt(x*x+y*y+z*z))/Pi+Frequency/2 }
#end
More coming as soon as I finish my finals and have time for raytracing
again..
--
Ilmari Karonen (ilt### [at] sci fi)
http://www.sci.fi/~iltzu/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Argh.. it this thread going to perpetually sit at the very top/bottom of our
newsreaders? :P
Matt
Peter Popov wrote in message <3c796fc0.8500773@news.povray.org>...
>Can anyone suggest an equation that gives the distance to a unit
>circle lying in the x-z plane? It should look like an wood pattern
>whose axis is not +z but a circle. Any ideas?
>
>TIA.
>
>
>---------
>Peter Popov
>ICQ: 15002700
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
No. His other post is at the bottom now. He has reached 2003 already...
Margus
Matthew Bennett wrote in message <36e57742.0@news.povray.org>...
>Argh.. it this thread going to perpetually sit at the very top/bottom of
our
>newsreaders? :P
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Margus Ramst" <mar### [at] peak edu ee> wrote:
>No. His other post is at the bottom now. He has reached 2003 already...
Maybe he's doing some Y2K testing on POV-Ray ...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Tue, 9 Mar 1999 19:30:42 -0000, "Matthew Bennett"
<ben### [at] btinternet com> wrote:
>Argh.. it this thread going to perpetually sit at the very top/bottom of our
>newsreaders? :P
>
>Matt
Gee, guys, I am *really* sorry for the inconvenience! It all started
when I had to reinstall Internet Exploder 4 . It somehow messed up my
windoze clock and now it's gone completely nuts! I swear I set it back
to 1999 yesterday *and* this morning too, and two minutes ago it
showed 2003! I really hope it does not rewind to 1994 because windoze
95 might just as well kill itself as it will realise it will not have
been born yet. (Arrgh, verb tenses become a real problem when it comes
to time travelling). In fact that's already happened to me once -- all
files that were created/modified after the date indicated by the
system clock were swept away by a routine M$ ScumDisk check :(
Once again, I am really sorry for the date problem. I will make sure
the stupid mf (sorry) knows what date today is before I post anything.
---------
Peter Popov
ICQ: 15002700
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
microsoft's y2k fixes for win98 will not now be ready until 1/1/1900
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I heard they were delayed until 2/3/1901.
Tom Melly wrote:
> microsoft's y2k fixes for win98 will not now be ready until 1/1/1900
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
he he, I wonder if they'll release Windows 2000 before or after 2000? he he
he, then they wouldn't HAVE to fix their Y2K problems... they'd just have to
search and replace all "19"s with "20"s he he he
--
Lance.
---
For the latest 3D Studio MAX plug-ins, images and much more, go to:
The Zone - http://come.to/the.zone
For a totally different experience, visit my Chroma Key Website:
Colorblind - http://www.fortunecity.com/skyscraper/parallax/359/colorblind
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Lance Birch wrote in message <3711faf0.0@news.povray.org>...
>he he, I wonder if they'll release Windows 2000 before or after 2000? he
he
>he, then they wouldn't HAVE to fix their Y2K problems... they'd just have
to
>search and replace all "19"s with "20"s he he he
>
Or simply change it to Windows 1900.
Margus
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
They can just do a serach and replace routine on the code. I hear that someone
serached for "Microsoft" in all of the documentation on Windows 95, and the help
files and all that... replaced every one of them with "M$" and found 14MB of
extra space had been made available to him...
Probably an urban legend, but it would be fun if it was true
Josh English
english/josh/strm
Lance Birch wrote:
> he he, I wonder if they'll release Windows 2000 before or after 2000? he he
> he, then they wouldn't HAVE to fix their Y2K problems... they'd just have to
> search and replace all "19"s with "20"s he he he
>
> --
> Lance.
>
> ---
> For the latest 3D Studio MAX plug-ins, images and much more, go to:
> The Zone - http://come.to/the.zone
> For a totally different experience, visit my Chroma Key Website:
> Colorblind - http://www.fortunecity.com/skyscraper/parallax/359/colorblind
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Tue, 13 Apr 1999 11:04:48 -0700, Josh English <eng### [at] spiritone com> wrote:
>They can just do a serach and replace routine on the code. I hear that someone
>serached for "Microsoft" in all of the documentation on Windows 95, and the help
>files and all that... replaced every one of them with "M$" and found 14MB of
>extra space had been made available to him...
Far easier to just delete all the documentation. None of it's useful anyway...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ron Parker wrote in message <37138d2a.0@news.povray.org>...
>
>Far easier to just delete all the documentation. None of it's useful
anyway...
May I suggest getting rid of the "troubleshooters" first. The purest form of
wasted space I've ever seen. The hovercraft example pales in comparson.
Margus
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I know I am >:)
--
This message brought to you by:
-=< Ian (the### [at] hotmail com >=-
Please visit my site at http://spectere2000.cjb.net! :)
povray.org admin team <new### [at] DESPAMpovray org> wrote in message
news:36e76475.9218281@news.povray.org...
> Maybe he's doing some Y2K testing on POV-Ray ...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
LOL! Look at the date on that. In OE5 on the header pane, it shows 99.
Interestingly enough, if you double-click on the header (using OE), the year
(in the 4-number format) appears to be 2099. Now how did THAT happen???
;)
--
This message brought to you by:
-=< Ian (the### [at] hotmail com >=-
Please visit my site at http://spectere2000.cjb.net! :)
Ian Burgmyer <the### [at] hotmail com> wrote in message
news:37f3e8f5@news.povray.org...
> I know I am >:)
>
> --
> This message brought to you by:
> -=< Ian (the### [at] hotmail com >=-
>
> Please visit my site at http://spectere2000.cjb.net! :)
>
> povray.org admin team <new### [at] DESPAMpovray org> wrote in message
> news:36e76475.9218281@news.povray.org...
> > Maybe he's doing some Y2K testing on POV-Ray ...
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 30 Sep 2050 18:52:50 -0400, "Ian Burgmyer"
<the### [at] hotmail com> wrote:
>LOL! Look at the date on that. In OE5 on the header pane, it shows 99.
>Interestingly enough, if you double-click on the header (using OE), the year
>(in the 4-number format) appears to be 2099. Now how did THAT happen???
>
>;)
Ian, get OUT of this thread or I am going to send that vase to your
parents!!!
Man, this post keeps getting back at me like a curse. Ahhh...
:)
P.S. Wait until Windows 1900 comes out as this phenomenon will be
covered in the manual <grin>
Peter Popov
ICQ: 15002700
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hmm, according to my browser, you posted both messages at exactly 6 PM on
12/31/69.
Ian Burgmyer wrote:
> LOL! Look at the date on that. In OE5 on the header pane, it shows 99.
> Interestingly enough, if you double-click on the header (using OE), the year
> (in the 4-number format) appears to be 2099. Now how did THAT happen???
>
> ;)
>
> --
> This message brought to you by:
> -=< Ian (the### [at] hotmail com >=-
>
> Please visit my site at http://spectere2000.cjb.net! :)
>
> Ian Burgmyer <the### [at] hotmail com> wrote in message
> news:37f3e8f5@news.povray.org...
> > I know I am >:)
> >
> > --
> > This message brought to you by:
> > -=< Ian (the### [at] hotmail com >=-
> >
> > Please visit my site at http://spectere2000.cjb.net! :)
> >
> > povray.org admin team <new### [at] DESPAMpovray org> wrote in message
> > news:36e76475.9218281@news.povray.org...
> > > Maybe he's doing some Y2K testing on POV-Ray ...
> >
> >
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Shows up on mine as 1950... LOL
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nooooooooooo!!!!
--
This message brought to you by:
-=< Ian (the### [at] hotmail com >=-
Please visit my site at http://spectere2000.cjb.net! :)
Peter Popov <pet### [at] usa net> wrote in message
news:1fTzNx8Ly4L0KNvjL2oJYpREA=jR@4ax.com...
> Ian, get OUT of this thread or I am going to send that vase to your
> parents!!!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
What browser do you use?! It sounds like a suspiciously non-Y2K complient,
or maybe a Y2K complient browser who's creators were crazy about 69.
*shudder*
--
This message brought to you by:
-=< Ian (the### [at] hotmail com >=-
Please visit my site at http://spectere2000.cjb.net! :)
Larry Fontaine <lfo### [at] isd net> wrote in message
news:37F40A95.C86C1475@isd.net...
> Hmm, according to my browser, you posted both messages at exactly 6 PM on
> 12/31/69.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ian Burgmyer <the### [at] hotmail com> wrote in message
news:37f430c5@news.povray.org...
> What browser do you use?! It sounds like a suspiciously non-Y2K
complient,
> or maybe a Y2K complient browser who's creators were crazy about 69.
> *shudder*
LOL, probably. With a directory in Windows called CatRoot, who knows?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Netscape Communicator 4.61
Ian Burgmyer wrote:
> What browser do you use?! It sounds like a suspiciously non-Y2K complient,
> or maybe a Y2K complient browser who's creators were crazy about 69.
> *shudder*
>
> --
> This message brought to you by:
> -=< Ian (the### [at] hotmail com >=-
>
> Please visit my site at http://spectere2000.cjb.net! :)
>
> Larry Fontaine <lfo### [at] isd net> wrote in message
> news:37F40A95.C86C1475@isd.net...
> > Hmm, according to my browser, you posted both messages at exactly 6 PM on
> > 12/31/69.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Not to shift the blame anywhere, but I think the problem is on the news
server. I have never seen that in other news servers and I've noticed posts
like that going back several monthes. I will alert CNN to this horrendous
Y2k glitch!
HH
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Mon, 24 Jul 2000 16:25:36 -0400, Halbert wrote:
>Not to shift the blame anywhere, but I think the problem is on the news
>server. I have never seen that in other news servers and I've noticed posts
>like that going back several monthes. I will alert CNN to this horrendous
>Y2k glitch!
By the way, the post you're replying to is nine months old.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Peter Popov wrote:
> Can anyone suggest an equation that gives the distance to a unit
> circle lying in the x-z plane? It should look like an wood pattern
> whose axis is not +z but a circle. Any ideas?
well, off the top of my head,
s = sqrt(x*x+z*z)-1
dist = sqrt(y*y+s*s)
--
Anton Sherwood -- br0### [at] p0b0x com -- http://ogre.nu/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
You know, this thread is merely 2-Years old ? ....
But nice, you still remember the function of the torus ...
--
background{rgb 1}camera{location<1,5,-2>look_at 0}#macro m(a,b,i)#local d=(b-a)
/8;#local e=vcross(d,y);#if(i)m(a-e,a+e+2*d,i-1)m(a+e,a+2*d-e,i-1)m(a+3*d-e,a+e
+3*d,i-1)m(a+3*d-e,a+5*d-e,i-1)m(a+6*d-e,a+e+6*d,i-1)m(a+8*d-e,a+e+8*d,i-1)#else
cylinder{a,b,vlength(d)/3 pigment{rgb 0}}#end#end m(-4*x,2*x,4) // Jan Walzer
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Peter Popov" <pet### [at] usa net> wrote in message
news:3c796fc0.8500773@news.povray.org...
> Can anyone suggest an equation that gives the distance to a unit
> circle lying in the x-z plane? It should look like an wood pattern
> whose axis is not +z but a circle. Any ideas?
When will this thread DIE???? :-)
Geez, this reminds me back in the day when I had a vase/bad texture fetish
and everyone threatened to send my early works to the newspapers...man,
those were the days :-D
--
#macro S(M)cylinder{E(M)<A,C,5>,<B,D,5>,.1,15}#end#macro E(P)#if(div(P,16)
)#declare B=-1;#declare D=-2;#end#if(div(P,32))#declare A=1;#declare C=0;#
end#if(div(P,64))#declare B=-1;#declare D=0;#end#if(div(P,128))#declare A=
1;#declare C=2;#end#end blob{S(192)S(96)S(48)pigment{rgb 8*z}} /** Ian **/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 28 Dec 2001 05:50:27 -0500, "Ian Burgmyer" <the### [at] yahoo com>
wrote:
>
> When will this thread DIE???? :-)
probably soon, I hope after 2 months :-)
But note this thread is very actual to POV 3.5 :-)
( http://news.povray.org/ucgnut4njiqe7d8jf8up226l7gqf6lqqn9@4ax.com )
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"W³odzimierz ABX Skiba" <abx### [at] babilon org> wrote in message
news:1rjo2u07rt89kiulhug4gmdgqblo6v1n9m@4ax.com...
> > When will this thread DIE???? :-)
>
> probably soon, I hope after 2 months :-)
LOL, good point :-)
> But note this thread is very actual to POV 3.5 :-)
> ( http://news.povray.org/ucgnut4njiqe7d8jf8up226l7gqf6lqqn9@4ax.com )
Hahaha :-)
On a side note, isn't it odd to see how hyper and crazy I was back in 1999?
I am so much more calm now :-p
--
#macro S(M)cylinder{E(M)<A,C,5>,<B,D,5>,.1,15}#end#macro E(P)#if(div(P,16)
)#declare B=-1;#declare D=-2;#end#if(div(P,32))#declare A=1;#declare C=0;#
end#if(div(P,64))#declare B=-1;#declare D=0;#end#if(div(P,128))#declare A=
1;#declare C=2;#end#end blob{S(192)S(96)S(48)pigment{rgb 8*z}} /** Ian **/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Soon be getting rid of this...
Peter Popov wrote:
>
> Can anyone suggest an equation that gives the distance to a unit
> circle lying in the x-z plane? It should look like an wood pattern
> whose axis is not +z but a circle. Any ideas?
>
> TIA.
>
> ---------
> Peter Popov
> ICQ: 15002700
--
signature{
"Grey Knight"
contact{ email "gre### [at] yahoo com" }
site_of_week{ url "http://enphilistor.users4.50megs.com/" }
}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 16 Jan 2002 12:43:24 +0000, Grey Knight
<s16### [at] namtar qub ac uk> wrote:
>Soon be getting rid of this...
>Peter Popov wrote:
Why can't I see it, I wonder? I have all messages on this server
archived for off-line indexing and searching. Hmm...
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vip bg
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ahhhh! Felt so weird seeing messages above this one! I thought the day would
never come! Yay! :)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
What are you talking about?
"Tony[B]" <ben### [at] catholic org> wrote in message
news:3c79a2c4@news.povray.org...
> Ahhhh! Felt so weird seeing messages above this one! I thought the day
would
> never come! Yay! :)
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Mon, 25 Feb 2002 11:09:31 -0800, Harold Baize wrote:
> What are you talking about?
He has a toy newsreader that trivially sorts by date, and he keeps all old
messages. The one he's replying to was posted a long time ago with the wrong
date.
--
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> He has a toy newsreader that trivially sorts by date, and he keeps all old
> messages. The one he's replying to was posted a long time ago with the
wrong
> date.
Hmph... it gets the job done... and I like it sorted the way it is, and I
like seeing all messages.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I know what you mean; I'm glad to get rid of the thing as well!
It'll be a while before we get rid of the Tsutomu Higo gallery post
though.
--
signature{
"Grey Knight" contact{ email "gre### [at] yahoo com" }
site_of_week{ url "http://digilander.iol.it/jrgpov" }
}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
If you ask me, the newsgroup administrator should artificially change the
date of it. Oh, well... it's only 17 years or so...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Tue, 26 Feb 2002 08:55:50 -0500, Tony[B] wrote:
> If you ask me, the newsgroup administrator should artificially change the
> date of it. Oh, well... it's only 17 years or so...
You could artificially delete it from your local view.
--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Sun, 24 Feb 2002 21:41:28 -0500, "Tony[B]" <ben### [at] catholic org>
wrote:
>Ahhhh! Felt so weird seeing messages above this one! I thought the day would
>never come! Yay! :)
For Pete's sake, guys, gimme a break!
Strangely enough I've never had problems with this particular
thread... then again, I've been OE-free for years now.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vip bg
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Peter Popov" <pet### [at] vip bg> wrote in message
news:nrgm7uk3lpbsnl76o8kpi9nn61anqknna3@4ax.com...
> >Ahhhh! Felt so weird seeing messages above this one! I thought the day
would
> >never come! Yay! :)
>
> For Pete's sake, guys, gimme a break!
Not a chance, Petey! :-)
--
#macro S(M)cylinder{E(M)<A,C,5>,<B,D,5>,.1,15}#end#macro E(P)#if(div(P,16)
)#declare B=-1;#declare D=-2;#end#if(div(P,32))#declare A=1;#declare C=0;#
end#if(div(P,64))#declare B=-1;#declare D=0;#end#if(div(P,128))#declare A=
1;#declare C=2;#end#end blob{S(192)S(96)S(48)pigment{rgb 8*z}} /** Ian **/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
the### [at] hotmail com news:37f3e8f5@news.povray.org
[...]
will this post stey at top of news group until year 2100 ?
Please Cancel it. (and I personaly suggets using normal news client, not
OE)
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hello,
I've embarked on a rather crazy project: to bring together all the
macros I've written over the decades. I hesitated over the choice of
language and finally opted for Perl, but that's not the point.
To recognize the start of a macro, it's easy with the #macro keywords.
But, for the ending, I have to "count" the #end.
I've identified these structures that terminate with #end :
#if - #ifdef - #ifndef - #switch - #while - #for
Are there any others I've forgotten?
Merci d'avance
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
kurtz le pirate <kur### [at] free fr> wrote:
> Hello,
>
> I've embarked on a rather crazy project: to bring together all the
> macros I've written over the decades. I hesitated over the choice of
> language and finally opted for Perl, but that's not the point.
>
> To recognize the start of a macro, it's easy with the #macro keywords.
> But, for the ending, I have to "count" the #end.
> I've identified these structures that terminate with #end :
>
> #if - #ifdef - #ifndef - #switch - #while - #for
>
> Are there any others I've forgotten?
#else, #elseif.
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> ...
> > Are there any others I've forgotten?
> #else, #elseif.
</sigh> ignore.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |