POV-Ray : Newsgroups : povray.general : Scaling texture_map : Re: Scaling texture_map Server Time
10 Aug 2024 15:14:40 EDT (-0400)
  Re: Scaling texture_map  
From: Chris Huff
Date: 4 Dec 1999 13:15:18
Message: <chrishuff_99-6076F1.13153304121999@news.povray.org>
I think this is what the reset_children patch in UVPov is for. It allows 
you to transform the top level of a texture, leaving it's component 
parts(it's children) unchanged.
Other than using that patch, I think this will do what you 
want(untested!):
#declare TestT2= texture {
   cylindrical
   scale <2,1,1>
   texture_map {
      [0.7, TestT scale < 0.5, 1, 1>]//scale this part to compensate
      [0.8, pigment {red 1} finish {phong 1}]
   }
}

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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