| On 01/30/2018 02:45 PM, Roland Melkert wrote:
> 
> Is there any way / work around to toggle the repeat for u or v separately?
> 
> I'm using this macro as a place holder
> 
> --------
> #macro getPngMapType(idx)
>    //POV-Ray does not support u or v only repeat.
>    // for the time being use repeat for both in all cases.
>   #if (getPngNeedsURepeat(idx) | getPngNeedsVRepeat(idx))
>    map_type 0
>   #else
>    map_type 0 once
>   #end
> #end
> 
Perhaps something like:
#declare PigImgMap0 = pigment {
     image_map { "mapUrpt.png" once map_type 0 interpolate 2 }
     warp { repeat x }
}
will work for you?
Bill P.
Post a reply to this message
 |