POV-Ray : Newsgroups : povray.binaries.scene-files : An rendering artifact on torus Server Time
28 Dec 2024 08:34:09 EST (-0500)
  An rendering artifact on torus (Message 1 to 8 of 8)  
From: And
Subject: An rendering artifact on torus
Date: 3 Apr 2015 09:30:00
Message: <web.551e94cd7c9493f713709ea20@news.povray.org>
When I rendered this file, I got this:
http://news.povray.org/povray.binaries.images/thread/%3Cweb.551e92b74514bfb213709ea20%40news.povray.org%3E/



And here is a discussion several days ago, which may be a similar phenomenon.
http://news.povray.org/povray.bugreports/thread/%3Cweb.5517c69b250fa02e5189b500%40news.povray.org%3E/


Post a reply to this message


Attachments:
Download 'bugreport.pov.txt' (2 KB)

From: Alain
Subject: Re: An rendering artifact on torus
Date: 3 Apr 2015 22:34:00
Message: <551f4d98@news.povray.org>

> When I rendered this file, I got this:
>
http://news.povray.org/povray.binaries.images/thread/%3Cweb.551e92b74514bfb213709ea20%40news.povray.org%3E/
>
>
>
> And here is a discussion several days ago, which may be a similar phenomenon.
>
http://news.povray.org/povray.bugreports/thread/%3Cweb.5517c69b250fa02e5189b500%40news.povray.org%3E/
>

It looks like it could be a precision/accuracy isue as multiplying the 
dimentions by 50 makes the artefact disapear. You may hit the limits of 
double precision FP numbers.

Scaling up, even by 1000, DON'T improve the end result. In fact, when 
scalling up, I get a full black circle, not just parts of it.



Alain


Post a reply to this message

From: Le Forgeron
Subject: Re: An rendering artifact on torus
Date: 4 Apr 2015 03:43:43
Message: <551f962f$1@news.povray.org>
Le 04/04/2015 04:35, Alain a écrit :
> Le 15-04-03 09:25, And a écrit :
>> When I rendered this file, I got this:
>>
http://news.povray.org/povray.binaries.images/thread/%3Cweb.551e92b74514bfb213709ea20%40news.povray.org%3E/
>>
>>
>>
>>
>> And here is a discussion several days ago, which may be a similar
>> phenomenon.
>>
http://news.povray.org/povray.bugreports/thread/%3Cweb.5517c69b250fa02e5189b500%40news.povray.org%3E/
>>
>>
> 
> It looks like it could be a precision/accuracy isue as multiplying the
> dimentions by 50 makes the artefact disapear. You may hit the limits of
> double precision FP numbers.
> 
> Scaling up, even by 1000, DON'T improve the end result. In fact, when
> scalling up, I get a full black circle, not just parts of it.
> 
> 
> 
> Alain

I just scaled it by 10 and it went away:

    torus{
    -0.1247, 0.2357
    rotate <-90,0,0>
    scale 1/10
    }


Post a reply to this message

From: And
Subject: Re: An rendering artifact on torus
Date: 5 Apr 2015 00:30:01
Message: <web.5520b948682c5a60123791000@news.povray.org>
Thank you.
I explain my intend of doing it. I made a macro that is used for chamfering a
cylinder and it is necessary to take the torus's inner surface in some
conditions. So I intersect sphere and torus with negative major_radius and
sometimes found these black lines.

Maybe the same demand can be done by using polynomial's torus and I would like
to try some day. Because I thought the black line may be produced by the
bounding cylinder of the torus object that the document describes.


Post a reply to this message

From: clipka
Subject: Re: An rendering artifact on torus
Date: 7 Apr 2015 02:15:28
Message: <55237600$1@news.povray.org>
Am 05.04.2015 um 06:25 schrieb And:
> Thank you.
> I explain my intend of doing it. I made a macro that is used for chamfering a
> cylinder and it is necessary to take the torus's inner surface in some
> conditions. So I intersect sphere and torus with negative major_radius and
> sometimes found these black lines.

Have you tried using a positive major_radius and the "inverse" keyword 
instead?


Post a reply to this message

From: And
Subject: Re: An rendering artifact on torus
Date: 7 Apr 2015 03:40:00
Message: <web.55238934682c5a60123791000@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 05.04.2015 um 06:25 schrieb And:
> > Thank you.
> > I explain my intend of doing it. I made a macro that is used for chamfering a
> > cylinder and it is necessary to take the torus's inner surface in some
> > conditions. So I intersect sphere and torus with negative major_radius and
> > sometimes found these black lines.
>
> Have you tried using a positive major_radius and the "inverse" keyword
> instead?

Oh, I will try later. I just found that the torus object's overlay area is not
inside the object.
And when I use polynomial object directly it shows strong precision problem
because my torus is too small.


Post a reply to this message

From: And
Subject: Re: An rendering artifact on torus
Date: 7 Apr 2015 11:35:00
Message: <web.5523f85c682c5a60123791000@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 04/04/2015 04:35, Alain a écrit :
> >
> > It looks like it could be a precision/accuracy isue as multiplying the
> > dimentions by 50 makes the artefact disapear. You may hit the limits of
> > double precision FP numbers.
> >
> > Scaling up, even by 1000, DON'T improve the end result. In fact, when
> > scalling up, I get a full black circle, not just parts of it.
> >
> >
> >
> > Alain
>
> I just scaled it by 10 and it went away:
>
>     torus{
>     -0.1247, 0.2357
>     rotate <-90,0,0>
>     scale 1/10
>     }

Sometimes it disappear, doesn't have to be a scaling problem.


Post a reply to this message

From: And
Subject: Re: An rendering artifact on torus
Date: 7 Apr 2015 12:35:00
Message: <web.552406fd682c5a60123791000@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:
> Oh, I will try later. I just found that the torus object's overlay area is not
> inside the object.
> And when I use polynomial object directly it shows strong precision problem
> because my torus is too small.

I said it shows strong precision/accuracy problem. It happened when I tested it
with inside() function. But when I test it with inverse and intersection this
time, it overturn.

This is an (inversed) polynomial torus intersect a sphere and the torus object
version.

http://news.povray.org/povray.binaries.images/thread/%3Cweb.552405c288bb499a123791000@news.povray.org%3E


Post a reply to this message

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