POV-Ray : Newsgroups : povray.bugreports : another interior_texture effect Server Time
23 Nov 2024 04:53:54 EST (-0500)
  another interior_texture effect (Message 1 to 5 of 5)  
From: Le Forgeron
Subject: another interior_texture effect
Date: 5 Jun 2016 09:29:36
Message: <57542940@news.povray.org>
The text object is rather strange when interior_texture is used

There is an inversion between the paper and the extrusion side.

It's "interesting", but probably not was intended. Some normal might need to be
flipped


Post a reply to this message


Attachments:
Download 'lyu.png' (64 KB)

Preview of image 'lyu.png'
lyu.png


 

From: clipka
Subject: Re: another interior_texture effect
Date: 5 Jun 2016 14:04:37
Message: <575469b5$1@news.povray.org>
Am 05.06.2016 um 15:29 schrieb Le_Forgeron:
> The text object is rather strange when interior_texture is used
> 
> There is an inversion between the paper and the extrusion side.

"Paper"?

> It's "interesting", but probably not was intended. Some normal might need to be
flipped

Some code might be helpful to understand what's going on.


Post a reply to this message

From: Le Forgeron
Subject: Re: another interior_texture effect
Date: 6 Jun 2016 12:39:39
Message: <5755a74b@news.povray.org>
Le 05/06/2016 20:04, clipka a écrit :
> Am 05.06.2016 um 15:29 schrieb Le_Forgeron:
>> The text object is rather strange when interior_texture is used
>>
>> There is an inversion between the paper and the extrusion side.
> 
> "Paper"?

the planar side, which might be seen as the paper.

> 
>> It's "interesting", but probably not was intended. Some normal might need to be
flipped
> 
> Some code might be helpful to understand what's going on.
> 

Yes.


Post a reply to this message


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

From: William F Pokorny
Subject: Re: another interior_texture effect
Date: 7 Jun 2016 06:15:56
Message: <57569edc$1@news.povray.org>
On 06/05/2016 02:04 PM, clipka wrote:
> Am 05.06.2016 um 15:29 schrieb Le_Forgeron:
>> The text object is rather strange when interior_texture is used
>>
>> There is an inversion between the paper and the extrusion side.
>
> "Paper"?
>
>> It's "interesting", but probably not was intended. Some normal might need to be
flipped
>
> Some code might be helpful to understand what's going on.
>
I woke up this morning thinking about these prism the text face normals 
- and the internal intersection mechanism Christoph added for the 
spindle modes of the torus.

I'd been thinking we should just get the "face/end" normals right. What 
if we do that by bounding those faces internally using an intersection 
with a basic perpendicular linear prism with the appropriate point order.

We could then, somewhat by side effect, offer a face-invert feature & a 
quick way for users to get a different texture on the faces via the 
inside_texture.

Lots of paths I guess, just wondering this morning if we are not too 
looking at a chance for a new prism/text feature with the flat faces.

Bill P.


Post a reply to this message

From: Le Forgeron
Subject: Re: another interior_texture effect
Date: 8 Jun 2016 14:22:55
Message: <5758627f$1@news.povray.org>
Le 06/06/2016 18:39, Le_Forgeron a écrit :
> Le 05/06/2016 20:04, clipka a écrit :
>> Am 05.06.2016 um 15:29 schrieb Le_Forgeron:
>>> The text object is rather strange when interior_texture is used
>>>
>>> There is an inversion between the paper and the extrusion side.
>>
>> "Paper"?
> 
> the planar side, which might be seen as the paper.
> 
>>
>>> It's "interesting", but probably not was intended. Some normal might need to be
flipped
>>
>> Some code might be helpful to understand what's going on.
>>
> 
> Yes.
> 

I fixed it in hgpovray :

https://github.com/POV-Ray/povray/commit/2595932240ea8caa99b2a9c610c8af9d90ff0558

The change might need to be adapted for the master branch (as vector have changed)


Post a reply to this message

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