POV-Ray : Newsgroups : povray.advanced-users : error: Cannot layer over a patterned texture. Server Time
30 Jul 2024 12:33:17 EDT (-0400)
  error: Cannot layer over a patterned texture. (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Nathan Kopp
Subject: Re: error: Cannot layer over a patterned texture.
Date: 28 Nov 1999 23:58:30
Message: <384207f6@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote...
> By the way, one side-effect of this is that POV seems to trace too many
rays
> for some scenes.  The following scene traces three rays per pixel (one eye
> ray plus one transmitted ray for each of the plain textures in the
> interpolation.)  I suppose you could call that a bug.

Not totally a bug.  If each layer has a different normal & the interior has
an IOR, you'd want it to use different rays.  An optimization would be to
re-use the result from a refraction or reflection if the previous layer
already shot it.

-Nathan


Post a reply to this message

From: Nathan Kopp
Subject: Re: error: Cannot layer over a patterned texture.
Date: 28 Nov 1999 23:59:41
Message: <3842083d@news.povray.org>
Chris Huff <chr### [at] yahoocom> wrote...
> I have run into this problem before, I don't see why this limitation
> exists. Maybe another project for me to work on. :-)

I have looked at it and (for reasons that Ron Parker mentioned) it is not an
easy fix.  If you find out an easy way, please let me know.

-Nathan


Post a reply to this message

From: Ron Parker
Subject: Re: error: Cannot layer over a patterned texture.
Date: 29 Nov 1999 08:56:37
Message: <38428615@news.povray.org>
On Mon, 29 Nov 1999 00:01:10 -0500, Nathan Kopp wrote:
>
>Ron Parker <ron### [at] povrayorg> wrote...
>> By the way, one side-effect of this is that POV seems to trace too many
>rays
>> for some scenes.  The following scene traces three rays per pixel (one eye
>> ray plus one transmitted ray for each of the plain textures in the
>> interpolation.)  I suppose you could call that a bug.
>
>Not totally a bug.  If each layer has a different normal & the interior has
>an IOR, you'd want it to use different rays.  An optimization would be to
>re-use the result from a refraction or reflection if the previous layer
>already shot it.

Would you want it to?  Or would you average the normals as you would with a 
normal_map?  That is, should a texture_map of two different normals have 
the same result as a normal_map of the same two normals, or should it be as 
it is now? (This is the second example in the post you replied to.)

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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