POV-Ray : Newsgroups : povray.unofficial.patches : PoVMan Q: Shaders and displace warp? : Re: PoVMan Q: Shaders and displace warp? Server Time
1 Sep 2024 14:33:32 EDT (-0400)
  Re: PoVMan Q: Shaders and displace warp?  
From: Christophe Bouffartigue
Date: 3 Apr 2001 03:37:00
Message: <3AC97D9C.C6E9E60E@nanterre.marelli.fr>
Vahur Krouverk wrote:
> 
> Here is required addition to POVMan 0.7x in order to make it work again:
> following lines should be added to function Compute_Pigment, after
> BITMAP_PATTERN case:
> 
> #ifdef ShaderPatch
>         case SHADER_PATTERN:
>             if (Intersection != NULL){
>                 Exec_Shader(Pigment, Intersection, NULL,
> Intersection->INormal, Colour, EPoint, 0);
>             }
>             else{
>                 Exec_Shader(Pigment, NULL, NULL, NULL, Colour, EPoint,
> 0);
>             }
>             Colour_Found = TRUE;
>             break;
> #endif
> 
> Of course better would be to modify source code, as You did it, but I'd
> like to keep changes minimal so far, as MegaPov is in constant changing
> state. If POV-Ray 3.5 is released, then perhaps I'll do it.
> 
> I hope, that  new version of POVMan with this correction will be soon
> released (if Bouf agrees, then he will do it, otherwise I'll do it on
> weekend).

I'll try to make it before this weekend.
I'll let you know when it's ready.

Bouf.


Post a reply to this message

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