POV-Ray : Newsgroups : povray.binaries.images : question image mapping on shiny ball : question image mapping on shiny ball Server Time
4 Nov 2024 22:21:43 EST (-0500)
  question image mapping on shiny ball  
From: Johan Feyaerts
Date: 13 Jan 2007 14:00:24
Message: <45a92c48@news.povray.org>
Hi ,


I'm experimenting with picture map on a ball with mlpov.

using the following texture
texture{
   pigment { color rgb <1,1,1>  }       
  finish { ambient 0.007 diffuse 0.05 reflection { 
<2.5,1.2,0.1>*minreffac,<0.5,0.5,0.5>*maxreffact*(3)  } }  

}
texture{
   pigment {          
   
         image_map
            {
               gif   "balpic.gif"
               map_type 1          
               #declare j=255;       
               #while (j<256)
                        filter   j, 1 
               #declare j=j+1;
               #end//       
             
           }
               
         translate <0,1.1,0>
            rotate 100*y    
            rotate x*-22  
                 scale  0.1
            
             }  
        finish { ambient 0.007 diffuse 2 reflection { 
<2.5,1.2,0.1>*minreffac*0.6,<0.5,0.5,0.5>*maxreffact*(2)  } } 
       

}

When I change scale 0.1 to some other value that only seems to change 
the position of the image and not the size of it.
The mapped picture is a transparent canvas with the face pic in the 
middle.
 Is it possible to change the size of the mapped face picture without 
changing the position? 
or should i make the transparent bord of the mapped image bigger in 
order to make the face relatively smaller?


Post a reply to this message


Attachments:
Download 'iso-8859-1' (5 KB)

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