POV-Ray : Newsgroups : povray.bugreports : prism interior_texture bug Server Time
31 Oct 2024 06:14:47 EDT (-0400)
  prism interior_texture bug (Message 1 to 6 of 6)  
From: Le Forgeron
Subject: prism interior_texture bug
Date: 4 Jun 2016 16:48:03
Message: <57533e83@news.povray.org>
The computation of texture, when interior texture is used, has a bug for the lower
side of the prism.

Attached the scene to reproduce.


Post a reply to this message


Attachments:
Download 'object.inc.txt' (1 KB) Download 'rzu.pov.txt' (7 KB) Download 'rzu.png' (66 KB)

Preview of image 'rzu.png'
rzu.png


 

From: William F Pokorny
Subject: Re: prism interior_texture bug
Date: 4 Jun 2016 18:48:28
Message: <57535abc$1@news.povray.org>
On 06/04/2016 04:47 PM, Le_Forgeron wrote:
> The computation of texture, when interior texture is used, has a bug for the lower
side of the prism.
>
> Attached the scene to reproduce.
>

I think you might be finding too the issue I opened for Christoph at:

https://github.com/POV-Ray/povray/issues/65

but not sure as the your example code is for a clipped lathe?

Bill P.


Post a reply to this message

From: Le Forgeron
Subject: Re: prism interior_texture bug
Date: 5 Jun 2016 01:46:30
Message: <5753bcb6$1@news.povray.org>
Le 05/06/2016 00:48, William F Pokorny a écrit :
> On 06/04/2016 04:47 PM, Le_Forgeron wrote:
>> The computation of texture, when interior texture is used, has a bug for the lower
side of the prism.
>>
>> Attached the scene to reproduce.
>>
> 
> I think you might be finding too the issue I opened for Christoph at:
> 
> https://github.com/POV-Ray/povray/issues/65
> 
> but not sure as the your example code is for a clipped lathe?

Oups, wrong include, still an issue.


Post a reply to this message


Attachments:
Download 'object.inc.txt' (1 KB)

From: William F Pokorny
Subject: Re: prism interior_texture bug
Date: 5 Jun 2016 07:33:17
Message: <57540dfd$1@news.povray.org>
On 06/05/2016 01:46 AM, Le_Forgeron wrote:
> Le 05/06/2016 00:48, William F Pokorny a écrit :
>> On 06/04/2016 04:47 PM, Le_Forgeron wrote:
>>> The computation of texture, when interior texture is used, has a bug for the lower
side of the prism.
>>>
>>> Attached the scene to reproduce.
>>>
>>
>> I think you might be finding too the issue I opened for Christoph at:
>>
>> https://github.com/POV-Ray/povray/issues/65
>>
>> but not sure as the your example code is for a clipped lathe?
>
> Oups, wrong include, still an issue.
>
Thanks Jérôme. Good catch & what you are seeing is different than issue 
65. Issue 65 has to do with the bezier prism sides having normals 
flipped relative to all other spline types in prisms and all spline 
types in lathes.

It also seems I might have only looked at the prism tops in my test 
cases... I'll update those to look at both top and bottoms (both ends). 
In any case, I know this bit added to the documentation just added for 
the prisms end normals is not right for the current state of the linear 
spline version :

"The surface normal determination for prism sides depends upon the order 
in which the splines points are specified.  Prism ends have normals 
which always face outward.  The following code, where the linear spline 
point order is counter-clockwise in the x-z plane, will render sides 
with the color Red on the outside and the color Blue on the inside.  The 
prism ends will also be Red on the outside and Blue on the inside."

I'll have to update that when I know what the other spline types do on 
BOTH ends.

Bill P.


Post a reply to this message


Attachments:
Download 'linearprismtopbotnrmldiff.jpg' (43 KB)

Preview of image 'linearprismtopbotnrmldiff.jpg'
linearprismtopbotnrmldiff.jpg


 

From: William F Pokorny
Subject: Re: prism interior_texture bug
Date: 5 Jun 2016 09:11:42
Message: <5754250e$1@news.povray.org>
On 06/05/2016 07:33 AM, William F Pokorny wrote:
> On 06/05/2016 01:46 AM, Le_Forgeron wrote:
>
> I'll have to update that when I know what the other spline types do on
> BOTH ends.
>
> Bill P.
>
>
Turns for all spline types ends are inward on the bottom and outward on 
the top...

I'll leave it to others whether to open an independent github issue. I 
DID update all my prims test cases and attached v0.1 tarball to bezier, 
prism sides issue #65:  https://github.com/POV-Ray/povray/issues/65.

I've also taken another pass at lathe and prism reference sections 
updates and these can be found at:
http://wiki.povray.org/content/User:Wfpokorny

Jérôme, Do these versions look OK to you for what we see as the current 
behavior ?

Bill P.


Post a reply to this message

From: Le Forgeron
Subject: Re: prism interior_texture bug
Date: 5 Jun 2016 09:56:11
Message: <57542f7b$1@news.povray.org>
Le 05/06/2016 15:11, William F Pokorny a écrit :
> On 06/05/2016 07:33 AM, William F Pokorny wrote:
>> On 06/05/2016 01:46 AM, Le_Forgeron wrote:
>>
>> I'll have to update that when I know what the other spline types do on
>> BOTH ends.
>>
>> Bill P.
>>
>>
> Turns for all spline types ends are inward on the bottom and outward on the top...
> 
> I'll leave it to others whether to open an independent github issue. I DID update
all my prims test cases and attached v0.1 tarball to bezier, prism sides issue #65: 
https://github.com/POV-Ray/povray/issues/65.
> 
> I've also taken another pass at lathe and prism reference sections updates and these
can be found at:
> http://wiki.povray.org/content/User:Wfpokorny
> 
> Jérôme, Do these versions look OK to you for what we see as the current behavior ?
> 

I like the "removal" of clockwise/counterclockwise.

Hopefully the bezier_prism (and text, and one side of all prism) can be fixed.


Post a reply to this message

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