POV-Ray : Newsgroups : povray.binaries.images : Kepler CGSphere Server Time
1 Aug 2024 14:28:23 EDT (-0400)
  Kepler CGSphere (Message 21 to 24 of 24)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Blue Herring
Subject: Re: Kepler CGSphere
Date: 29 Sep 2008 08:19:28
Message: <48e0c7d0$1@news.povray.org>
Woody wrote:
> Interesting.
> 
> 
> Any chance you might be willing to share the source?
> 

Thanks.  Sure thing, just let me clean up some dependencies.  Be warned, 
  I'm pretty sure there is at least one flaw in my math so far, since a 
couple of those solids are protruding from their spheres.

-- 
// The Mildly Infamous Blue Herring
#version 3.61;#include"functions.inc"global_settings{assumed_gamma
2.2}isosurface{function{-f_strophoid(x/2-.45,y,z*3,1,1.2,1,1.5)-.05}
contained_by{box{<-2.1,-1,-1/3>,<1.4,1,1/3>}}max_gradient 12inverse
hollow pigment{rgbf 1}interior{media{samples 8 emission<3,80,150>/255
density{crackle metric 1color_map{[0rgb 6][.03rgb 0][1rgb 0]}scale<1,
2,1>warp{turbulence<.5,.75,.5>}scale 1/3}}}translate z*3}


Post a reply to this message

From: Blue Herring
Subject: Re: Kepler CGSphere
Date: 29 Sep 2008 09:37:05
Message: <48e0da01$1@news.povray.org>
Blue Herring wrote:
> Woody wrote:
>> Interesting.
>>
>>
>> Any chance you might be willing to share the source?
>>
> 
> Thanks.  Sure thing, just let me clean up some dependencies.  Be warned, 
>  I'm pretty sure there is at least one flaw in my math so far, since a 
> couple of those solids are protruding from their spheres.
> 

The source has been posted in p.b.sf.

-- 
// The Mildly Infamous Blue Herring
#version 3.61;#include"functions.inc"global_settings{assumed_gamma
2.2}isosurface{function{-f_strophoid(x/2-.45,y,z*3,1,1.2,1,1.5)-.05}
contained_by{box{<-2.1,-1,-1/3>,<1.4,1,1/3>}}max_gradient 12inverse
hollow pigment{rgbf 1}interior{media{samples 8 emission<3,80,150>/255
density{crackle metric 1color_map{[0rgb 6][.03rgb 0][1rgb 0]}scale<1,
2,1>warp{turbulence<.5,.75,.5>}scale 1/3}}}translate z*3}


Post a reply to this message

From: Woody
Subject: Re: Kepler CGSphere
Date: 5 Oct 2008 10:30:01
Message: <web.48e8cf36f01c7ef5a7bacdf90@news.povray.org>
Blue Herring <pov### [at] bherringcotsenet> wrote:
> Blue Herring wrote:
> > Woody wrote:
> >> Interesting.
> >>
> >>
> >> Any chance you might be willing to share the source?
> >>
> >
> > Thanks.  Sure thing, just let me clean up some dependencies.  Be warned,
> >  I'm pretty sure there is at least one flaw in my math so far, since a
> > couple of those solids are protruding from their spheres.
> >
>
> The source has been posted in p.b.sf.
>
> --
> // The Mildly Infamous Blue Herring
> #version 3.61;#include"functions.inc"global_settings{assumed_gamma
> 2.2}isosurface{function{-f_strophoid(x/2-.45,y,z*3,1,1.2,1,1.5)-.05}
> contained_by{box{<-2.1,-1,-1/3>,<1.4,1,1/3>}}max_gradient 12inverse
> hollow pigment{rgbf 1}interior{media{samples 8 emission<3,80,150>/255
> density{crackle metric 1color_map{[0rgb 6][.03rgb 0][1rgb 0]}scale<1,
> 2,1>warp{turbulence<.5,.75,.5>}scale 1/3}}}translate z*3}

Thanks.

I tried using the solids Paul Bourke posted at
http://local.wasp.uwa.edu.au/~pbourke/geometry/platonic/

But I can't seem to get the proportions or position right.


Post a reply to this message

From: Blue Herring
Subject: Re: Kepler CGSphere
Date: 7 Oct 2008 12:27:18
Message: <48eb8de6$1@news.povray.org>
Woody wrote:
  > Thanks.
> 
> I tried using the solids Paul Bourke posted at
> http://local.wasp.uwa.edu.au/~pbourke/geometry/platonic/
> 
> But I can't seem to get the proportions or position right.
> 

No prob.  On cursory examination of those I couldn't work out whether 
the edge length or radius is uniform, but I didn't do any calculating. 
I cheated and just made the shapes for mine in Wings, mainly because it 
was a quicker way to get the type of hollowing I wanted, and copied the 
edge length of each into the include file for the calculations.  The 
spheres/shapes having non-zero thick walls made things more complicated. 
  However, something still must be wrong, or they wouldn't protrude like 
that.

-- 
// The Mildly Infamous Blue Herring
#include"functions.inc"isosurface{function{-f_strophoid(x/2-.45,y,
z*3,1,1.2,1,1.5)-.05}contained_by{box{<-2.1,-1,-1/3>,<1.4,1,1/3>}}
max_gradient 12inverse hollow pigment{rgbf 1}interior{media{samples
8 emission<3,80,150>/255density{crackle metric 1color_map{[0rgb 6]
[.03rgb 0][1rgb 0]}scale<1,2,1>warp{turbulence<.5,.75,.5>}scale 1/
3}}}translate z*3}


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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