![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Marc-Hendrik Bremer" <Mar### [at] t-online de> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> "Marc-Hendrik Bremer"<Mar### [at] t-online de> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
[[ 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On 7-8-2011 20:41, folkert wrote:
> "Marc-Hendrik Bremer"<Mar### [at] t-online de> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
andrel <byt### [at] gmail com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On 20/01/2013 9:32 AM, paola wrote:
> andrel <byt### [at] gmail com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |