POV-Ray : Newsgroups : povray.text.scene-files : Eyeball code. Server Time
25 Dec 2024 12:43:54 EST (-0500)
  Eyeball code. (Message 1 to 10 of 40)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Samuel Benge
Subject: Eyeball code.
Date: 19 Jun 1999 22:17:34
Message: <376C4FA8.2641B48D@aol.com>
Well, I downloaded Netscape's newsreader. Microsoft's was freaking out.

Here's the code, in 3.1 format. Please notify me of any glitches in the
code.

//********************** Warning! Messy Code Ahead
**********************

camera{location<0,0,-25>look_at<0,0,0> angle 10 }

light_source{<100000,200000,-50000>,<1.2 1.2 1>}
light_source{<-100000,0,-50000>,<.2 .3 .4> shadowless}

//****************The sky:

background{rgb<.3 .5 .9>}
fog{rgb<.5 .7 1> distance 200 fog_type 2 fog_alt 5 fog_offset 0}
plane{y,100 pigment{bumps scale 170 translate z*190 turbulence 1
color_map{[0 rgb 1.5][1 rgbf<1 1 1 1>]}}normal{bumps .001}finish{diffuse

}no_shadow hollow}
plane{y,90 pigment{bumps scale 170 translate z*190 turbulence 1
color_map{[0 rgb .4][.8 rgbf<1 1 1 1>]}}normal{bumps .001}finish{diffuse

1}hollow}

//****************The Ground:

plane{y,-4 pigment{rgb 1}normal{granite 2 scale 5}hollow}

//****************The eye:

union{

//****************The white, iris and pupil:

blob{threshold 1
sphere{<0,0,0>,2,2}
sphere{<0,0,0>,.5,-.7 scale z*.7 translate z*-1}
texture{wood scale 2 texture_map{
[.16 pigment{rgb 0}]   //*****************pupil
[.17 pigment{rgb<.47 .77 .47>}finish{specular .05 brilliance
.2}normal{granite .05 scale .2 sine_wave warp{black_hole<0,0,0>,.5
strength
4}}]
[.25 pigment{rgb<.5 .8 .5>}finish{specular .3 brilliance
.2}normal{granite
.05 scale<1,1,8> frequency 2 sine_wave
warp{black_hole<0,0,0>,.5 strength 4}}]
[.39 pigment{rgb<.5 .5 .4>}]
[.43 pigment{rgb .4}]
[.52 pigment{gradient z turbulence .25 translate z*.5 scale 1.5
color_map{[.3 rgb<1 .7 .7>][.5 rgb 1]}}finish{diffuse .8}]
}
}}

//******************The shiny, clear coating + lens. Also a proud
supporter
of Veins!

blob{threshold 1
sphere{<0,0,0>,2,2}
//sphere{<0,0,-1>,.5,.7}
sphere{<0,0,0>,.5,.7 scale z*.75 translate z*-.9}
texture{wood scale 2 texture_map{
[.36 pigment{rgbf<1 1 1 1>}finish{phong 1 phong_size 100 reflection .2}]

[.4 pigment{crackle ramp_wave turbulence .25 color_map{[0 rgbf<1 .9 .8
1>][.005 rgbf<1 1 1 1>]}
}finish{phong 1 phong_size 100 reflection .2}normal{granite .015 scale
.15
turbulence .5}]}}
interior{ior 1.1}
scale 1.011}
}


Post a reply to this message

From: David Cook
Subject: Re: Eyeball code.
Date: 19 Jun 1999 23:22:53
Message: <376c5e8d@news.povray.org>
ThanksalotSamuelItrieditoutanditworksfineexceptforonemissingparameterfordiff
usekeepupthegoodworkandthanksagainforpostingyoursource!

Samuel Benge <STB### [at] aolcom> wrote in message
news:376C4FA8.2641B48D@aol.com...
> Well, I downloaded Netscape's newsreader. Microsoft's was freaking out.
>
> Here's the code, in 3.1 format. Please notify me of any glitches in the
> code.


Post a reply to this message

From: Ken
Subject: Re: Eyeball code.
Date: 19 Jun 1999 23:43:04
Message: <376C605F.57AC0878@pacbell.net>
David Cook wrote:
> 
> ThanksalotSamuelItrieditoutanditworksfineexceptforonemissingparameterfordiff
> usekeepupthegoodworkandthanksagainforpostingyoursource!

David,

 Pleaseuseyour"SPACE"  bar  :  )

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: David Cook
Subject: Re: Eyeball code.
Date: 19 Jun 1999 23:54:38
Message: <376c65fe@news.povray.org>
Sorry Ken, I was making a wry comment about Samuel's code style. Have a boo
and I think you'll get it.

Ken <tyl### [at] pacbellnet> wrote in message
news:376C605F.57AC0878@pacbell.net...
>
>
> David Cook wrote:
> >
> >
ThanksalotSamuelItrieditoutanditworksfineexceptforonemissingparameterfordiff
> > usekeepupthegoodworkandthanksagainforpostingyoursource!
>
> David,
>
>  Pleaseuseyour"SPACE"  bar  :  )
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

From: Ken
Subject: Re: Eyeball code.
Date: 20 Jun 1999 00:17:54
Message: <376C6888.29D1A19B@pacbell.net>
David Cook wrote:
> 
> Sorry Ken, I was making a wry comment about Samuel's code style. Have a boo
> and I think you'll get it.

  Actually his non indented code looks perfectly natural to me. It drives
other people nuts though especialy people with a programming background.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Samuel Benge
Subject: Re: Eyeball code.
Date: 20 Jun 1999 00:40:38
Message: <376C712F.42631FF7@aol.com>
Did I not warn you about the messy code? I know my code writing style probably
isn't all that great, but it is still readable by pov. By the way, if you
guessed 1 for diffuse, your'e right.

David Cook wrote:

> Sorry Ken, I was making a wry comment about Samuel's code style. Have a boo
> and I think you'll get it.
>
> Ken <tyl### [at] pacbellnet> wrote in message
> news:376C605F.57AC0878@pacbell.net...
> >
> >
> > David Cook wrote:
> > >
> > >
> ThanksalotSamuelItrieditoutanditworksfineexceptforonemissingparameterfordiff
> > > usekeepupthegoodworkandthanksagainforpostingyoursource!
> >
> > David,
> >
> >  Pleaseuseyour"SPACE"  bar  :  )
> >
> > --
> > Ken Tyler
> >
> > mailto://tylereng@pacbell.net


Post a reply to this message

From: Samuel Benge
Subject: Re: Eyeball code.
Date: 20 Jun 1999 00:42:43
Message: <376C71AF.142C9287@aol.com>
>   Actually his non indented code looks perfectly natural to me.

Thanks, it's good to know I'm not the only one who thinks so.

> It drives
> other people nuts though especialy people with a programming background.

I used to program in basic, but I don't think that counts.


Post a reply to this message

From: David Cook
Subject: Re: Eyeball code.
Date: 20 Jun 1999 01:24:53
Message: <376c7b25@news.povray.org>
Again, I apologize for my sarcasm. I appreciated your posting Samuel, I was
just being a wise guy. Very interesting code, after I reformatted it to my
own preferences.

And I'm anxiously awaiting the Fake/Real Caustics scene-file postings!

Samuel Benge <STB### [at] aolcom> wrote in message
news:376C712F.42631FF7@aol.com...
> Did I not warn you about the messy code? I know my code writing style
probably
> isn't all that great, but it is still readable by pov. By the way, if you
> guessed 1 for diffuse, your'e right.


Post a reply to this message

From: David Cook
Subject: Re: Eyeball code.
Date: 20 Jun 1999 01:37:27
Message: <376c7e17@news.povray.org>
yourabsolutelyrightkenimgladyouagreewithme

Ken <tyl### [at] pacbellnet> wrote in message
news:376C6888.29D1A19B@pacbell.net...
>
>
> David Cook wrote:
> >
> > Sorry Ken, I was making a wry comment about Samuel's code style. Have a
boo
> > and I think you'll get it.
>
>   Actually his non indented code looks perfectly natural to me. It drives
> other people nuts though especialy people with a programming background.
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net


Post a reply to this message

From: Nieminen Mika
Subject: Re: Eyeball code.
Date: 20 Jun 1999 04:18:08
Message: <376ca3c0@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
:   Actually his non indented code looks perfectly natural to me.

  Did you even try to understand how the texture was done? If yes, how many
minutes did you spend on that?
  Try the same thing with a properly indented code.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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