POV-Ray : Newsgroups : povray.binaries.images : What about repeat and offset with image / bump maps? : Re: What about repeat and offset with image / bump maps? Server Time
5 Nov 2024 20:16:38 EST (-0500)
  Re: What about repeat and offset with image / bump maps?  
From: Thomas de Groot
Date: 4 Mar 2023 07:49:10
Message: <64033e46$1@news.povray.org>
Op 3-3-2023 om 00:19 schreef William F Pokorny:
> //---
> #declare Pigment00 = pigment {
>      image_map { "p189crop.jpg"
>          repeat <2,2>
>          offset <0.5,0.5>
>          map_type 0
>          once
>          interpolate 2
>      }
>    //warp { repeat x flip x }
>    //warp { repeat y flip y }
> }
> //---
> 
Interesting stuff I need to look into. As a reminder maybe: adding gamma 
1 to the image_map is still essential and makes a difference whether you 
use it or not

   image_map { "p189crop.jpg" gamma 1

-- 
Thomas


Post a reply to this message

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