POV-Ray : Newsgroups : povray.binaries.images : front of a dutch thesis (2) Server Time
17 Aug 2024 00:10:11 EDT (-0400)
  front of a dutch thesis (2) (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: Slime
Subject: Re: front of a dutch thesis (2)
Date: 2 Jan 2002 01:26:18
Message: <3c32a80a@news.povray.org>
> And as it was mentioned in p.b-t, there is at the moment a way to save the
> output of VM to a file, perhaps you are able to extract the formula (if
> there is any) or method to build the Klein bottle from there?

Maybe I'll just wait until the POV-Ray source is available and then read it.
=)

Interesting, though, Andrel did provide some good reasons why there can't be
one function for it, at least in 3D space. Unless you consider the
intersection of itself with itself to be a "dead end," sort of.

- Slime
[ http://www.slimeland.com/ ]
[ http://www.slimeland.com/images/ ]


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: front of a dutch thesis (2)
Date: 2 Jan 2002 05:45:35
Message: <3c32e4cf@news.povray.org>
Slime schrieb in Nachricht <3c32a80a@news.povray.org>...
>> And as it was mentioned in p.b-t, there is at the moment a way to save
the
>> output of VM to a file, perhaps you are able to extract the formula (if
>> there is any) or method to build the Klein bottle from there?
>
>Maybe I'll just wait until the POV-Ray source is available and then read
it.
>=)


It should be in the MegaPov sources, too. They should be still available at
http://nathan.kopp.com/download.htm.

The VM (of course) just calls the internal function 35, so that's of no
help.

Marc-Hendrik


Post a reply to this message

From: folkert
Subject: Re: front of a dutch thesis (2)
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

From: Alain
Subject: Re: front of a dutch thesis (2)
Date: 8 Aug 2011 16:52:09
Message: <4e404c79@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).
>
>

The default contained_by object is box{-1, 1} and it's to small for that 
object.
You need this:
contained_by{box{<-2.88, -2.42, -3.66><2.88, 3.04, 3.66>}}
As small as possible.

The function have a prety high max_gradient: 180 to 2500 depending on 
P0, the orientation and camera position.

As it is, the shape can be considered as "fat".
P0 is required but have no apparent effect: same result with values of 
0.1, 1 and 10. It DOES affect the max_gradient: large value = high 
max_gradient but don't affect rendering time.


Anyway, the bottle from the function don't look the same as the 
representation you mention. It's, owever, topologicaly identical.



Alain


Post a reply to this message

From: folkert
Subject: Re: front of a dutch thesis (2)
Date: 12 Aug 2011 14:25:00
Message: <web.4e456f226565a36ae70ca0910@news.povray.org>
[[ klein bottle ]]

> > Doesn't look like the ones on wikipedia
> > (http://en.wikipedia.org/wiki/Klein_bottle).
>
> The default contained_by object is box{-1, 1} and it's to small for that
> object.
> You need this:
> contained_by{box{<-2.88, -2.42, -3.66><2.88, 3.04, 3.66>}}
> As small as possible.

Hmmm, maybe this should be documented somewhere.

> The function have a prety high max_gradient: 180 to 2500 depending on
> P0, the orientation and camera position.
> As it is, the shape can be considered as "fat".
> P0 is required but have no apparent effect: same result with values of
> 0.1, 1 and 10. It DOES affect the max_gradient: large value = high
> max_gradient but don't affect rendering time.
> Anyway, the bottle from the function don't look the same as the
> representation you mention. It's, owever, topologicaly identical.

Thanks!


Post a reply to this message

From: andrel
Subject: Re: front of a dutch thesis (2)
Date: 14 Aug 2011 18:50:41
Message: <4E485151.60208@gmail.com>
On 7-8-2011 20:41, folkert wrote:
> "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).
>

It is not really an answer, but I should still have the source for the 
bottle somewhere in my archive.

-- 
Apparently you can afford your own dictator for less than 10 cents per 
citizen per day.


Post a reply to this message

From: paola
Subject: Re: front of a dutch thesis (2)
Date: 20 Jan 2013 04:35:01
Message: <web.50fbb9b76565a36ab5e07a870@news.povray.org>
andrel <byt### [at] gmailcom> wrote:

> It is not really an answer, but I should still have the source for the
> bottle somewhere in my archive.

Hi there,
I'm trying to build a Klein Bottle too, do you still have the code to make one?
I'm trying hard but the result is still far away from being a satisfying Klein
Bottle!
Thanks,
Paola


Post a reply to this message

From: Stephen
Subject: Re: front of a dutch thesis (2)
Date: 20 Jan 2013 04:55:14
Message: <50fbbf02@news.povray.org>
On 20/01/2013 9:32 AM, paola wrote:
> andrel <byt### [at] gmailcom> wrote:
>
>> It is not really an answer, but I should still have the source for the
>> bottle somewhere in my archive.
>
> Hi there,
> I'm trying to build a Klein Bottle too, do you still have the code to make one?
> I'm trying hard but the result is still far away from being a satisfying Klein
> Bottle!
> Thanks,
> Paola
>

Have a look at Mike Williams tutorials and examples of built in functions.
http://www.econym.demon.co.uk/isotut/builtin3.htm#kb

algbr023.pov is the one you want from the download

-- 
Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: front of a dutch thesis (2)
Date: 20 Jan 2013 06:44:01
Message: <50fbd881$1@news.povray.org>
On 20/01/2013 9:54 AM, Stephen wrote:
> algbr023.pov is the one you want from the download

Oh! reduce max_gradient to 2000 or less. 29300 is a bit high.

-- 
Regards
     Stephen


Post a reply to this message

From: ingo
Subject: Re: front of a dutch thesis (2)
Date: 20 Jan 2013 11:59:10
Message: <XnsA14EB6F777B74seed7@news.povray.org>
in news:3c2ffc25@news.povray.org Slime wrote:

> Hmm, what's the formula for a klein bottle?
> 
> - Slime
> [ http://www.slimeland.com/ ]
> [ http://www.slimeland.com/images/ ]
> 
> 

There's a mesh klein bottle as demo in my mesh macro's
http://code.google.com/p/mmgm/downloads/list

Ingo


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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