POV-Ray : Newsgroups : povray.binaries.images : Lathe problems. Server Time
30 Jul 2024 12:30:45 EDT (-0400)
  Lathe problems. (Message 1 to 10 of 14)  
Goto Latest 10 Messages Next 4 Messages >>>
From: Stephen
Subject: Lathe problems.
Date: 17 Oct 2012 08:00:01
Message: <web.507e9cb89d27affef2eb76540@news.povray.org>
This is a series of images showing some problems I encountered when making an
hourglass.
The first one consists of a lathe object shaped into a bulb, referenced with a
negative scale component to create a hourglass shape then a scaled down version
(0.995) is differenced from it. You can see banding which looks to me as if the
glass does not have a uniform thickness.


Post a reply to this message


Attachments:
Download 'hourglass01e1_0000.jpg' (63 KB)

Preview of image 'hourglass01e1_0000.jpg'
hourglass01e1_0000.jpg


 

From: Stephen
Subject: Re: Lathe problems.
Date: 17 Oct 2012 08:05:01
Message: <web.507e9e9aa5d212b1f2eb76540@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> This is a series of images showing some problems I encountered when making an
> hourglass.
> The first one consists of a lathe object shaped into a bulb, referenced with a
> negative scale component to create a hourglass shape then a scaled down version
> (0.995) is differenced from it. You can see banding which looks to me as if the
> glass does not have a uniform thickness.

So I then created a second lathe object, making sure that it was inside the
first and that the thickness was as constant as I could make it then referenced
it to make the hourglass. Now there looks like there is flaring at the join.


Post a reply to this message


Attachments:
Download 'hourglass03a_0000.jpg' (79 KB)

Preview of image 'hourglass03a_0000.jpg'
hourglass03a_0000.jpg


 

From: Stephen
Subject: Re: Lathe problems.
Date: 17 Oct 2012 08:15:01
Message: <web.507ea065a5d212b1f2eb76540@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> wrote:

>
> So I then created a second lathe object, making sure that it was inside the
> first and that the thickness was as constant as I could make it then referenced
> it to make the hourglass. Now there looks like there is flaring at the join.

 The final two images are closeups of the join area. The first unfinished one
(12.5 hours) shows what looks like a disc around the join and the second is the
same scene with an opaque material

One image at a time, it seems


Post a reply to this message


Attachments:
Download 'hourglass03b1_0000.jpg' (58 KB)

Preview of image 'hourglass03b1_0000.jpg'
hourglass03b1_0000.jpg


 

From: Stephen
Subject: Re: Lathe problems.
Date: 17 Oct 2012 08:35:00
Message: <web.507ea546a5d212b1f2eb76540@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> "Stephen" <mcavoys_AT_aolDOT.com> wrote:
>
> >
> > So I then created a second lathe object, making sure that it was inside the
> > first and that the thickness was as constant as I could make it then referenced
> > it to make the hourglass. Now there looks like there is flaring at the join.
>
>  The final two images are closeups of the join area. The first unfinished one
> (12.5 hours) shows what looks like a disc around the join and the second is the
> same scene with an opaque material
>
> One image at a time, it seems

Now the opaque one


Post a reply to this message


Attachments:
Download 'hourglass03b1a_0001.jpg' (23 KB)

Preview of image 'hourglass03b1a_0001.jpg'
hourglass03b1a_0001.jpg


 

From: Thomas de Groot
Subject: Re: Lathe problems.
Date: 17 Oct 2012 10:16:13
Message: <507ebdad$1@news.povray.org>
I am frankly at a loss for a solution, but some questions impose 
themselves maybe.

1) are the two ends overlapping?

2) the ends do not seem to be exactly parallel, (outer) edges flowing 
smoothly into one another.

3) could the effect be due to refraction?

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Lathe problems.
Date: 17 Oct 2012 11:20:00
Message: <web.507ecbe7a5d212b1f2eb76540@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> I am frankly at a loss for a solution, but some questions impose
> themselves maybe.
>
> 1) are the two ends overlapping?
>
> 2) the ends do not seem to be exactly parallel, (outer) edges flowing
> smoothly into one another.
>
> 3) could the effect be due to refraction?
>
> Thomas


The lathes were built with the lowest point on the ground plane then rotated 90
degrees. The other bulb is mirrored so the edges should be coincidental.
Although I can see that there is not a smooth transition between them in the
opaque image. The inner lathe extends past the outer one and the highest level
CSG is a merge so there should be no internal surfaces.

Well the IOR is quite high for glass, greater than 1.5 IIRC. I was wondering
about internal reflections as well.


Post a reply to this message

From: Tek
Subject: Re: Lathe problems.
Date: 17 Oct 2012 11:35:01
Message: <web.507ecf4da5d212b1ed8e7a0@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> wrote:
> "Stephen" <mcavoys_AT_aolDOT.com> wrote:
> > "Stephen" <mcavoys_AT_aolDOT.com> wrote:
> >
> > >
> > > So I then created a second lathe object, making sure that it was inside the
> > > first and that the thickness was as constant as I could make it then referenced
> > > it to make the hourglass. Now there looks like there is flaring at the join.
> >
> >  The final two images are closeups of the join area. The first unfinished one
> > (12.5 hours) shows what looks like a disc around the join and the second is the
> > same scene with an opaque material
> >
> > One image at a time, it seems
>
> Now the opaque one

I suggest you render a cross-section, preferably highlighting the cutaway
surface (i.e. intersection { <hourglass> plane { -z, 0 pigment { rgb x } } } ).

But I think most of your problems come from using a spline type where you can't
control the gradient where the mirrored bulbs meet. So either don't mirror them,
and use a curve that describes both bulbs of the hourglass, or use a
bezier_spline and place the control point tangentially to the desired curve to
get a smooth transition.

Or you could download the source for my "Sands Of Time" IRTC entry:
http://exether.free.fr/irtc/index.php?sub=pg2004&lang=en&year=2004&month=8&typ=S&mrk=C
;)

--
Tek


Post a reply to this message

From: Stephen
Subject: Re: Lathe problems.
Date: 17 Oct 2012 16:01:49
Message: <507f0ead$1@news.povray.org>
On 17/10/2012 4:31 PM, Tek wrote:
> I suggest you render a cross-section, preferably highlighting the cutaway
> surface (i.e. intersection { <hourglass> plane { -z, 0 pigment { rgb x } } } ).
>

Yes, I think that is the way to go. It has been ages since I have used 
SORs or Lathes and I am quite lazy. :-)

> But I think most of your problems come from using a spline type where you can't
> control the gradient where the mirrored bulbs meet. So either don't mirror them,
> and use a curve that describes both bulbs of the hourglass, or use a
> bezier_spline and place the control point tangentially to the desired curve to
> get a smooth transition.
>

I was using a cubic curve but my endpoint wasn't making making the joint 
take the right angle.

> Or you could download the source for my "Sands Of Time" IRTC entry:
>
http://exether.free.fr/irtc/index.php?sub=pg2004&lang=en&year=2004&month=8&typ=S&mrk=C
> ;)

Strange that you say that, Norbert suggested it too.
I found it interesting that you could use so few points and get such a 
good curve.

-- 
Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: Lathe problems.
Date: 17 Oct 2012 16:15:53
Message: <507f11f9@news.povray.org>
On 17/10/2012 3:16 PM, Thomas de Groot wrote:
> I am frankly at a loss for a solution, but some questions impose
> themselves maybe.
>
> 1) are the two ends overlapping?
>
I checked and they were. :-(
Even after correcting that. The gold ring was still there but much 
diminished.

> 2) the ends do not seem to be exactly parallel, (outer) edges flowing
> smoothly into one another.
>

Too true, I used a poor end point.

> 3) could the effect be due to refraction?
>

Yes, I think so. When I commented out the sand. The ring was still there 
but much less visible.
Ah! Well. Back to the drawing board.

-- 
Regards
     Stephen


Post a reply to this message

From: Christian Froeschlin
Subject: Re: Lathe problems.
Date: 17 Oct 2012 20:42:30
Message: <507f5076$1@news.povray.org>
You could try to reshape the curve in the center so it is not
a hard edge but rather a little rounded. If this is two pieces
joined together you'll want the end to have vertical/horizontal
tangents. BTW you can post more than one image when using a
newsreader such as Thunderbird.


Post a reply to this message

Goto Latest 10 Messages Next 4 Messages >>>

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