POV-Ray : Newsgroups : povray.general : mathematician wanted! Server Time
20 Nov 2024 10:37:55 EST (-0500)
  mathematician wanted! (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: marabou
Subject: mathematician wanted!
Date: 4 Oct 2001 10:11:25
Message: <3bbc6e0c@news.povray.org>
hello all!

when i went on with my test-scene, i thought that a picture on the wall 
would look nice. so i made a picture, a nail and a string and put it 
together. 
but the string looks ugly. i took a sine curve and sticked a lot of  blobs 
on it. but to hang it on a nail the curve radius is too wide. 
the last i remember on mathem is a big red pillow on my table.
so is there anybody who may tell me how to sharpen only the curve of my 
sine?

the code of my string:
------------------------------
//sinus
#declare kurve=
union{
#declare anx = -0.4;    //start point
#declare bnx = anx;     //last point
#declare cu_rad = 0.02; //radius of spheres

#while (anx <= 3)
blob{
threshold 0.8
sphere {
        <0.2*anx,0.5*sin (anx),0>,cu_rad, 1
        pigment{ Gray}
}//sphere
sphere {
        <0.2*bnx,0.5*sin (bnx),0>,cu_rad, 1
        pigment{ Gray}
}//sphere
}//blob
#declare bnx = anx;
#declare anx = anx + cu_rad;
#end
}//union kurve

object {kurve
        scale 0.5
}
------------------------------

thanks.


Post a reply to this message

From: Tom Melly
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:19:37
Message: <3bbc6ff9@news.povray.org>
"marabou" <not### [at] availableyet> wrote in message news:3bbc6e0c@news.povray.org...
>
> hello all!
>

hello back

<snip>

Why do you need a curved string? A picture string would go /\ , wouldn't it? I
would suggest two cylinders joined by a bit of a torus at the nail.

Actually, I would suggest that generally the string is hidden by the picture
anyway...


Post a reply to this message

From: marabou
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:25:59
Message: <3bbc7177@news.povray.org>
sorry, but i don't know the english word for that i mean.
my string is metalic, i would say: it consists of cupper.
the scene looks like a student's barack.
and that is the reason why you can see the string.

Tom Melly wrote:

> 
> Why do you need a curved string? A picture string would go /\ , wouldn't
> it? I would suggest two cylinders joined by a bit of a torus at the nail.
> 
> Actually, I would suggest that generally the string is hidden by the
> picture anyway...


Post a reply to this message

From: Ken
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:29:08
Message: <3BBC7385.8FE94FA4@pacbell.net>
marabou wrote:
> 
> sorry, but i don't know the english word for that i mean.
> my string is metalic, i would say: it consists of cupper.
> the scene looks like a student's barack.
> and that is the reason why you can see the string.

Take a look at the include files by Chris Colefax. I think you will
find one that will take care of your problem for you.

http://www.geocities.com/SiliconValley/Lakes/1434/

-- 
Ken Tyler


Post a reply to this message

From: Tom Melly
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:37:40
Message: <3bbc7434@news.povray.org>
"marabou" <not### [at] availableyet> wrote in message news:3bbc7177@news.povray.org...
> sorry, but i don't know the english word for that i mean.
> my string is metalic, i would say: it consists of cupper.
> the scene looks like a student's barack.
> and that is the reason why you can see the string.
>

Do you mean the picture isn't hanging up? - i.e. the string is a loop hanging
down?


Post a reply to this message

From: Ken
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:39:31
Message: <3BBC75F4.1A0BD731@pacbell.net>
Tom Melly wrote:

> Do you mean the picture isn't hanging up? - i.e. the string is a loop hanging
> down?

I think he is looking for a twisted cable. I have seen many poorly mounted
pictures where the wire cable was exposed above the top of the picture frame.
Given his description I believe that is the effect he is looking for.

-- 
Ken Tyler


Post a reply to this message

From: Tom Melly
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:43:32
Message: <3bbc7594@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote in message
news:3BBC75F4.1A0BD731@pacbell.net...
>
> I think he is looking for a twisted cable. I have seen many poorly mounted
> pictures where the wire cable was exposed above the top of the picture frame.
> Given his description I believe that is the effect he is looking for.
>

Then I'm still confused - apart from where the wire loops over the nail, I don't
see where the curve would come in....


Post a reply to this message

From: marabou
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:47:30
Message: <3bbc7678@news.povray.org>
Ken wrote:
> 
> Take a look at the include files by Chris Colefax. I think you will
> find one that will take care of your problem for you.
> 
> http://www.geocities.com/SiliconValley/Lakes/1434/
> 

great link! it is a good template.
but i do not want to be introduced using someone's great include-files. my 
point of interest is a little bit more the theory behind it.


Post a reply to this message

From: marabou
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:50:42
Message: <3bbc7741@news.povray.org>
Tom Melly wrote:

> "Ken" <tyl### [at] pacbellnet> wrote in message
> news:3BBC75F4.1A0BD731@pacbell.net...
>>
>> I think he is looking for a twisted cable. 

no, i do not look for it. i made a spiral yet.

> 
> Then I'm still confused - apart from where the wire loops over the nail, I
> don't see where the curve would come in....
yes, that is the point.


Post a reply to this message

From: Tom Melly
Subject: Re: mathematician wanted!
Date: 4 Oct 2001 10:53:20
Message: <3bbc77e0$3@news.povray.org>
"marabou" <not### [at] availableyet> wrote in message news:3bbc7741@news.povray.org...

> > Then I'm still confused - apart from where the wire loops over the nail, I
> > don't see where the curve would come in....
> yes, that is the point.

So what have you got against a torus? I'm a torus, of course I'm on the cusp....


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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