POV-Ray : Newsgroups : povray.binaries.images : front of a dutch thesis (2) : Re: front of a dutch thesis (2) Server Time
16 Aug 2024 20:25:45 EDT (-0400)
  Re: front of a dutch thesis (2)  
From: folkert
Date: 7 Aug 2011 14:45:00
Message: <web.4e3edc706565a36ae70ca0910@news.povray.org>
"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote:
> Slime schrieb in Nachricht <3c2ffc25@news.povray.org>...
> >Hmm, what's the formula for a klein bottle?
>
> How about using the f_klein_bottle(x,y,z, P0) in functions.inc as an
> isosurface?

I've tried that one but it gives very strange results:

#include "colors.inc"
#include "functions.inc"

light_source { <10,10,10> color White }
camera { location<4,4,4> look_at<0,0,0> }

isosurface {
function { f_klein_bottle(x,y,z,1) }
        accuracy 0.01
        max_gradient 4
        pigment { color rgb <0, 2, 0> }
}

//      pigment {image_map { jpeg "test.jpg" map_type 1 interpolate 2 filter all
1.0 } }

box { <-5, -2, -5>, <5, -2, 5> pigment { color White } }


The result is:

http://vanheusden.com/pov/surface.png

Doesn't look like the ones on wikipedia
(http://en.wikipedia.org/wiki/Klein_bottle).


Post a reply to this message

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