POV-Ray : Newsgroups : povray.binaries.images : Problem with bezier lathe reflection Server Time
2 Nov 2024 06:17:35 EDT (-0400)
  Problem with bezier lathe reflection (Message 1 to 7 of 7)  
From: Solar Mike
Subject: Problem with bezier lathe reflection
Date: 18 Aug 2011 01:25:12
Message: <web.4e4ca12252555dc711a446140@news.povray.org>
Hi,

I was modelling a pop can using a couple bezier spline lathes and there is a
reflection that does not look right to me.  I am confident the segment
boundaries are straight but the reflection does not seem to match the curve.

Am I just seeing things?  If not, where is a good place for me to start looking
in the source (or is this a known issue?)

Thanks,
Mike


Post a reply to this message


Attachments:
Download 'bezier lathe problem.png' (490 KB)

Preview of image 'bezier lathe problem.png'
bezier lathe problem.png


 

From: clipka
Subject: Re: Problem with bezier lathe reflection
Date: 18 Aug 2011 06:32:15
Message: <4e4cea2f@news.povray.org>
Am 18.08.2011 07:21, schrieb Solar Mike:

> I was modelling a pop can using a couple bezier spline lathes and there is a
> reflection that does not look right to me.  I am confident the segment
> boundaries are straight but the reflection does not seem to match the curve.
>
> Am I just seeing things?  If not, where is a good place for me to start looking
> in the source (or is this a known issue?)

At boundaries between flat and highly curved surfaces, reflections can 
play some pretty surprising tricks with our eyes, so it may well be 
accurate after all.

Try to put some long narrow cylinder(s) at that particular place on the 
ground to see things more clearly; I somehow suspect that what you think 
is a single contiguous line may actually be two orthogonal lines.


Post a reply to this message

From: Warp
Subject: Re: Problem with bezier lathe reflection
Date: 27 Aug 2011 14:14:38
Message: <4e59340e@news.povray.org>
On 08/18/2011 08:21 AM, Solar Mike wrote:
> I was modelling a pop can using a couple bezier spline lathes and there is a
> reflection that does not look right to me.  I am confident the segment
> boundaries are straight but the reflection does not seem to match the curve.

   If using 'sturm' does not solve the problem, you could try the 
MeshLathe include at lib.povray.org to see if it helps (if for nothing, 
then to corroborate that it should look as you expect).


Post a reply to this message

From: Solar Mike
Subject: Re: Problem with bezier lathe reflection
Date: 27 Aug 2011 22:05:01
Message: <web.4e59a1e375da9c4f1e4760620@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> On 08/18/2011 08:21 AM, Solar Mike wrote:
> > I was modelling a pop can using a couple bezier spline lathes and there is a
> > reflection that does not look right to me.  I am confident the segment
> > boundaries are straight but the reflection does not seem to match the curve.
>
>    If using 'sturm' does not solve the problem, you could try the
> MeshLathe include at lib.povray.org to see if it helps (if for nothing,
> then to corroborate that it should look as you expect).

I did try adding 'sturm' and created a matching mesh and got the same results.
I'm still have not wrapped my head around why the reflections are like that but
I'm satisfied that the render is done correctly and I've simply fallen for a
"surprising trick" the reflection is making.

Thanks :)


Post a reply to this message

From: Cousin Ricky
Subject: Re: Problem with bezier lathe reflection
Date: 29 Aug 2011 23:50:00
Message: <web.4e5c5d6a75da9c4f85de7b680@news.povray.org>
"Solar Mike" <wem### [at] yahooca> wrote:
> I was modelling a pop can using a couple bezier spline lathes and there is a
> reflection that does not look right to me.  I am confident the segment
> boundaries are straight but the reflection does not seem to match the curve.

Have you tried clipping the lathe (or intersecting it) with plane { -z, 0 } to
see if it looks straight from that point of view?


Post a reply to this message

From: Solar Mike
Subject: Re: Problem with bezier lathe reflection
Date: 30 Aug 2011 22:55:00
Message: <web.4e5da17e75da9c4f2bc08cef0@news.povray.org>
"Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> "Solar Mike" <wem### [at] yahooca> wrote:
> > I was modelling a pop can using a couple bezier spline lathes and there is a
> > reflection that does not look right to me.  I am confident the segment
> > boundaries are straight but the reflection does not seem to match the curve.
>
> Have you tried clipping the lathe (or intersecting it) with plane { -z, 0 } to
> see if it looks straight from that point of view?

I have done that and it seems fine to me.  I've attached an orthographic view
straight on from the side.  It's not perfect by any stretch but it is pretty
close.


Post a reply to this message


Attachments:
Download 'popcan ortho detail.png' (83 KB)

Preview of image 'popcan ortho detail.png'
popcan ortho detail.png


 

From: Joost
Subject: Re: Problem with bezier lathe reflection
Date: 2 Sep 2011 05:45:00
Message: <web.4e60a4d475da9c4f8bec06a30@news.povray.org>
"Solar Mike" <wem### [at] yahooca> wrote:
> "Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> > "Solar Mike" <wem### [at] yahooca> wrote:
> > > I was modelling a pop can using a couple bezier spline lathes and there is a
> > > reflection that does not look right to me.  I am confident the segment
> > > boundaries are straight but the reflection does not seem to match the curve.
> >
> > Have you tried clipping the lathe (or intersecting it) with plane { -z, 0 } to
> > see if it looks straight from that point of view?
>
> I have done that and it seems fine to me.  I've attached an orthographic view
> straight on from the side.  It's not perfect by any stretch but it is pretty
> close.

I noticed that at the top your can has a dark band at the bend (and a less
visible lighter one in the middle) although logically I would say there is no
reason for that color shift. Maybe that has the same background as your
reflection problem?

Joost


Post a reply to this message

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