POV-Ray : Newsgroups : povray.general : Subdived Isosurphace Sphere? Server Time
9 Aug 2024 11:29:15 EDT (-0400)
  Subdived Isosurphace Sphere? (Message 1 to 2 of 2)  
From: Charles Krause
Subject: Subdived Isosurphace Sphere?
Date: 8 Jul 2000 20:15:57
Message: <3967c43d@news.povray.org>
I've seen the image, rendered under Megapov, of a smoothly subdivided
sphere, splitting it into 6 smooth 'wedges'. However, I'm not sure how to do
this, nor have I been able to find the code for this image. Does anyone have
any code for this?


Post a reply to this message

From: Mike Williams
Subject: Re: Subdived Isosurphace Sphere?
Date: 10 Jul 2000 13:25:20
Message: <DMNLuCAYPea5EwMw@econym.demon.co.uk>
Wasn't it Charles Krause who wrote:
>I've seen the image, rendered under Megapov, of a smoothly subdivided
>sphere, splitting it into 6 smooth 'wedges'. However, I'm not sure how to do
>this, nor have I been able to find the code for this image. Does anyone have
>any code for this?

I've not seen such an image, but would it be something like this?

#version unofficial MegaPov 0.4;

camera { location  <3, 6, -6> look_at <0, 0, 0>}

sky_sphere { pigment {
    gradient y
    color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
  }
}

light_source {<100,200,-100> colour rgb 1}

#declare F = function {"func_12" <2, 6, 0, 0.8,  1, 1, 0.4, 0, 0, 0>}
 
isosurface {
  function {F(x,y,z)}
        sign 1
        method 2
        eval
        accuracy 0.0001
        contained_by{sphere 0,6}
        pigment {rgb .9}
        finish {phong 0.5 phong_size 10}
}



-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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