![](/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) |
In article <3d9a0f2c@news.povray.org>,
"Andrew Coppin" <orp### [at] btinternet com> wrote:
> I hate Perl. I can't get it to work at all. It's nasty. I've had more sucess
> with C, although it's just too dam hard to read... (I was actually trying to
> write an object engine... *you* try manipulating pointers to pointers to
> arrays of pointers to functions! Very hard when you don't have any sort of
> manual ;-)
You are probably making things too difficult. And function pointers are
very weird at first, but they will make more sense eventually.
> Not to mention the danger of leaving pointers dangling... I
> wouldn't *dare* try it with anything other than Linux 8-D (But then... I've
> never heard of a C compiler that works on anything but Linux. I'm sure such
> things must _exist_, but I've never come across one...)
Huh? The vast majority of C compilers were for non-Linux platforms. C
itself existed long before Linux, and is as old as Unix (it was created
to make developing Unix easier...the first Unix was written in PDP-11
assembler, but was rewritten in C two years later, in 1973). One of the
main goals in its design was portability.
--
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
As I said guys, I know that compilers must _exist_ for other platforms (what
with the number of C programmers they want for Windows projects and so
forth)... Actually, now I strain my brain a bit, we used a Borland C++
compiler at college (DOS-based thingy - but then, we were using Win 3.11
anyway!) But let's face it, you'd be hard pressed to find a Linux distro
with no C compiler; how many Windows install CDs have one? ;-) How many
*free* ones are there? Linux (and probably UNIX) is just _built_ to compile
C; Windows needs more effort. (In many other things too... ;-)
Andrew.
"If there's one thing more complicated than C, it's UNIX!"
PS. Drifting kinda off-topic here ;-)
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) |
Andrew Coppin wrote:
> As I said guys, I know that compilers must _exist_ for other platforms (what
> with the number of C programmers they want for Windows projects and so
> forth)... Actually, now I strain my brain a bit, we used a Borland C++
> compiler at college (DOS-based thingy - but then, we were using Win 3.11
> anyway!) But let's face it, you'd be hard pressed to find a Linux distro
> with no C compiler;
That's just because the distributors bundle one with it. The C, C++,
Fortran and Pascal compilers that come with most distributions are
really separate pieces of software.
Some Unices do (or did) not come with a bundled C compiler.
> how many Windows install CDs have one? ;-) How many
> *free* ones are there?
GCC is available for many platforms, including Windows.
> Linux (and probably UNIX) is just _built_ to compile C;
No. Just because most Linux distros also include an older version of
POV-Ray doesn't mean that Linux was made for POVing.
> PS. Drifting kinda off-topic here ;-)
Indeed. follow-ups set.
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* videotron.ca */}camera{orthographic location<6,1.25,-6>look_at a }
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) |
Andrew Coppin <orp### [at] btinternet com> wrote:
> Windows needs more effort.
Windows itself is written mostly in C (at least win3.x was; probably also
win9x used a lot of the same C code; currently windows is probably written
mostly in C++).
> "If there's one thing more complicated than C, it's UNIX!"
Unix is user-friendly. It's just selective about who its friends are. ;)
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - 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) |
There was a company named "Microsoft" that came out with a C compiler about
15 years ago for DOS. I don't know what's happened to them since, must have
fallen into obscurity...
Based on my experience, and this is not meant as a criticism towards anyone
specific, overly complex or unreadable C or C++ is the fault of the
programmer, not the language.
> wouldn't *dare* try it with anything other than Linux 8-D (But then...
I've
> never heard of a C compiler that works on anything but Linux. I'm sure
such
> things must _exist_, but I've never come across one...)
>
> Andrew.
>
>
>
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) |
Andrew Coppin wrote:
>PS. I gotta get me one! :-|
Me too...and there it is! ...Well almost. =)
light_source{0 color 1}cone{-z,0.1,z,0 pigment{wrinkles color_map{[0 rgb
0][0.5 rgbf<1,0,0,1>][0.6 rgbf<0,1,0,1>][1 rgb 0]}scale 0.1}}plane{z,1
pigment{color rgb 1}}
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) |
Can be somewhat shorter...
light_source{0 color 1}cone{-z,.1,z,0 pigment{wrinkles color_map{[0 rgb
0][.5 rgbf<1,0,0,1>][.6 rgbf<0,1,0,1>][1 rgb 0]}scale .1}}plane{z,1
pigment{rgb 1}}
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmx de
> Andrew Coppin wrote:
> >PS. I gotta get me one! :-|
>
> Me too...and there it is! ...Well almost. =)
>
> light_source{0 color 1}cone{-z,0.1,z,0 pigment{wrinkles color_map{[0 rgb
> 0][0.5 rgbf<1,0,0,1>][0.6 rgbf<0,1,0,1>][1 rgb 0]}scale 0.1}}plane{z,1
> pigment{color rgb 1}}
>
>
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 Mon, 14 Oct 2002 20:05:38 +0200, "Tim Nikias" <tim### [at] gmx de> wrote:
> Can be somewhat shorter...
>
> light_source{0 color 1}cone{-z,.1,z,0 pigment{wrinkles color_map{[0 rgb
> 0][.5 rgbf<1,0,0,1>][.6 rgbf<0,1,0,1>][1 rgb 0]}scale .1}}plane{z,1
> pigment{rgb 1}}
It is much too long
light_source{0on}cone{-z.1z,0pigment{wrinkles color_map{[0rgb 0][.5rgbf
x+t][.6rgbf y+t][1rgb 0]}scale .1}}plane{z,1pigment{rgb 1}}
Idea of heaving POV sig is not only to have a nice image there but also to put
something to recognize who is owner of the sig. So could be nice to include
nick there. Not talking about the cryptic nature of signatures :-)
ABX
--
disc{z,-z#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e 1))/10-4#declare
e=e-1;#end#local e=26;5pigment{#local g=function(_){ceil(_)-_}function#local
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e)<O()O()>.01#
end}}}}{k(g(atan2(x,y)),g(ln(pow(x+y,2)+1e-5)),0)}}finish{ambient 1}}//ABX35
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) |
"ABX" <abx### [at] abx art pl> schreef in bericht
news:tq2mquolujdpajd67q0gd1al2l3dgrcurk@4ax.com...
>
> It is much too long
>
> light_source{0on}cone{-z.1z,0pigment{wrinkles color_map{[0rgb 0][.5rgbf
> x+t][.6rgbf y+t][1rgb 0]}scale .1}}plane{z,1pigment{rgb 1}}
>
Sorry to respond after more than a week, but this is a matter of life and
death... The thing is that yet another superfluous character remains in Pyry's
nice and short sig. Being a very compulsive person, my rest of days would have
had mere shallow meaning if this issue was left unattended.
light_source{0on}cone{-z.1z,0pigment{wrinkles color_map{[0rgb 0][.5rgbf
x+t][.6rgbf y+t][1rgb 0]}scale.1}}plane{z,1pigment{rgb 1}}
JM
--
#macro J(M)V()<V()V()V()>#if(M)J(M)#end#end#local _=20;#macro V()asc(substr
("IIMYKIIYMMKQOIMYQEEYSCEYUEGQWEHYYIGQ[HEY]IGY_JGQaJEYcKGYeKGQgLEYiMKIs!K "
73-M,1))/2-36.5#declare M=M-1;#end#local a=spline{cubic_spline J(72)}#while
(_)sphere{a(_).1pigment{rgb(a(_)+(x+y)*3.5)}}#local _=_-.02;#end//JM
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) |
Jan Maarten van der Valk wrote:
>"ABX" <abx### [at] abx art pl> schreef in bericht
>news:tq2mquolujdpajd67q0gd1al2l3dgrcurk[at]4ax.com...
>>
>> It is much too long
>>
>> light_source{0on}cone{-z.1z,0pigment{wrinkles color_map{[0rgb 0][.5rgbf
>> x+t][.6rgbf y+t][1rgb 0]}scale .1}}plane{z,1pigment{rgb 1}}
>>
>
>Sorry to respond after more than a week, but this is a matter of life and
>death... The thing is that yet another superfluous character remains in Pyry's
>nice and short sig. Being a very compulsive person, my rest of days would have
>had mere shallow meaning if this issue was left unattended.
>
>light_source{0on}cone{-z.1z,0pigment{wrinkles color_map{[0rgb 0][.5rgbf
>x+t][.6rgbf y+t][1rgb 0]}scale.1}}plane{z,1pigment{rgb 1}}
>
>
>JM
>--
>#macro J(M)V()<V()V()V()>#if(M)J(M)#end#end#local _=20;#macro V()asc(substr
>("IIMYKIIYMMKQOIMYQEEYSCEYUEGQWEHYYIGQ[HEY]IGY_JGQaJEYcKGYeKGQgLEYiMKIs!K "
>73-M,1))/2-36.5#declare M=M-1;#end#local a=spline{cubic_spline J(72)}#while
>(_)sphere{a(_).1pigment{rgb(a(_)+(x+y)*3.5)}}#local _=_-.02;#end//JM
>
Thanks for shortening my signature, but I can't really use it because:
-It doesn't have my name or anything about me on it.
-Now that you people have shortened it, it isn't really *my* signature and
IMO it would be wrong to use it.(You might disagree, but this is the way I
feel and I think that what is mine must be made by me.)
But thanks anyway. =)
I'll keep on POVing and maybe one day I'll come up with a new signature.
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) |