|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |