|
|
Marc-Hendrik Bremer wrote:
> Oh, that sounds very interesting. Can we see the source, please?
You know I was making all that up, right? Seriously, this one *is* made
from an isosurface, and I've included the source to prove it.
--
signature{
"Grey Knight"
contact{ email "gre### [at] yahoocom" }
site_of_week{ url "http://mathworld.wolfram.com" }
}
Post a reply to this message
Attachments:
Download 'us-ascii' (2 KB)
Download 'rsocp2.png' (41 KB)
Preview of image 'rsocp2.png'
|
|
|
|
s1631001 schrieb in Nachricht <3C0768DC.90F54459@namtar.qub.ac.uk>...
>You know I was making all that up, right?
Of course :-)
> Seriously, this one *is* made from an isosurface, and I've included the
source to prove it.
To be honest I had to look at the Isosurface manual to find out, what a
strophoid is. Not bad, as this one is a bit differed reflective sphere over
checkered floor. Just reports 1 object, 0 infinitives in the stats, doesn't
it?
Anyone willing to beat that?
Marc-Hendrik
Post a reply to this message
|
|
|
|
well that proves that I need to read the docs some more, I believed you :-)
Gary
boy do I feel stupid.
s1631001 <s16### [at] namtarqubacuk> wrote in message
news:3C0768DC.90F54459@namtar.qub.ac.uk...
> Marc-Hendrik Bremer wrote:
> > Oh, that sounds very interesting. Can we see the source, please?
>
> You know I was making all that up, right? Seriously, this one *is* made
> from an isosurface, and I've included the source to prove it.
>
> --
> signature{
> "Grey Knight"
> contact{ email "gre### [at] yahoocom" }
> site_of_week{ url "http://mathworld.wolfram.com" }
> }
----------------------------------------------------------------------------
----
> file://@--------Include
Files----------------------------------------------------------
>
> #version unofficial MegaPov 0.7;
> #declare View_POV_Include_Stack=1; file://comment this line to deactivate
>
> #include "colors.inc"
> #include "metals.inc"
>
>
file://@--------Camera------------------------------------------------------
-----------
>
> #declare CamPos = <-5, 5,-20>;
> #declare CamLook = < 0, 0, 0>;
>
> camera{
> location CamPos
> look_at CamLook
> }
> light_source{
> CamPos + < 0, 0, 0>
> White
> }
>
>
file://@--------Lighting----------------------------------------------------
-----------
>
>
>
>
file://@--------Textures----------------------------------------------------
-----------
>
> #declare SkyPig =
> pigment{
> bozo
> turbulence 0.65
> pigment_map{
> [ 0.00 White ]
> [ 0.25 White ]
> [ 0.50 SkyBlue ]
> [ 1.00 SkyBlue ]
> }
> rotate 90*y
> scale <.5, .2, .5>
> scale .5
> }
> #declare GroundTex =
> texture{
> pigment{
> checker Black,White
> }
> scale .5
> }
> #declare SphereTex = texture{ T_Chrome_3B }
>
>
file://@--------Functions---------------------------------------------------
-----------
>
> #declare h=100;
> #declare rsocpFunc =
> function{
> "strophoid" <.2,2,0,.9>
> }
>
>
file://@--------Objects-----------------------------------------------------
-----------
>
> isosurface{
> function{ rsocpFunc(-y,x,z) }
> contained_by{ box{ <-h,-1,-h>,<h,2,h> } }
> max_gradient 35.573
> eval
> sign -1
> method 2
> accuracy .0001
> texture{
> gradient y
> translate -.5*y
> scale <0,5,0>
> texture_map{
> [ 0.0 GroundTex ]
> [ 0.5 GroundTex ]
> [ 0.5 SphereTex ]
> [ 1.0 SphereTex ]
> }
> }
> scale 4
> }
>
>
file://@--------Environment-------------------------------------------------
-----------
>
> background{ Black }
> sky_sphere{ pigment{ SkyPig } }
>
>
file://@--------------------------------------------------------------------
-----------
----------------------------------------------------------------------------
----
Post a reply to this message
|
|