POV-Ray : Newsgroups : povray.binaries.images : Photons Server Time
2 Oct 2024 06:26:21 EDT (-0400)
  Photons (Message 1 to 3 of 3)  
From: Sigmund Kyrre Aas
Subject: Photons
Date: 11 May 2000 13:43:02
Message: <391AF02F.EF2B0D89@stud.ntnu.no>
Is there a problem with photons and texture_map? I'm using Rune's FurTex
(which imo is a great velvet!) and I can't get any caustics without removing
the texture_map - the textures components work fine alone.

Here's a plain pigment and FurTex with the same colour:


Post a reply to this message


Attachments:
Download 'kryst.jpg' (9 KB)

Preview of image 'kryst.jpg'
kryst.jpg


 

From: Bob Hughes
Subject: Re: Photons
Date: 11 May 2000 13:58:43
Message: <391af4d3$1@news.povray.org>
It took me a minute to realize the ground plane was the subject of question
instead of the red crystalline object (no real change in it).
I'd have to guess there could be trouble with the negative color used.

Bob

"Sigmund Kyrre Aas" <as### [at] studntnuno> wrote in message
news:391AF02F.EF2B0D89@stud.ntnu.no...
| Is there a problem with photons and texture_map? I'm using Rune's FurTex
| (which imo is a great velvet!) and I can't get any caustics without removing
| the texture_map - the textures components work fine alone.
|
| Here's a plain pigment and FurTex with the same colour:


Post a reply to this message

From: Sigmund Kyrre Aas
Subject: Re: Photons
Date: 11 May 2000 17:07:57
Message: <391B2133.2B6B051F@stud.ntnu.no>
Bob Hughes wrote:
..
> I'd have to guess there could be trouble with the negative color used.

I've tracked it down to the average pattern. 

//This gives the expected caustics:
#macro urTex(Color)
      marble
      texture_map {
         [.5 pigment {color Color} ]
         [.5 pigment {color Color*.8} ]
      }
#end

//this doesn't:
#macro urTex(Color)
      average
      texture_map {
         [ pigment {color Color} ]
         [ pigment {color Color*.8} ]
      }
#end

plane{y,-sqrt(2) texture {urTex(<94,1,165>/255) }}

I can clean up the source and post it if anybody's interested.

sig


Post a reply to this message

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