POV-Ray : Newsgroups : povray.newusers : T-Shirt Again : Re: T-Shirt Again Server Time
6 Sep 2024 10:12:54 EDT (-0400)
  Re: T-Shirt Again  
From: Roy Schulz
Date: 18 Feb 1999 19:33:15
Message: <36CCB13D.810DCAAA@rcs.urz.tu-dresden.de>
Maybe you get the desired effect if you take the same height-field
twice, subtracting one from the other only with a little difference in
position. I try to illustrate this by a short piece of pov source code:

difference
    height_field { gif "your_t-shirt_height_field.gif" }
    height_field { gif "your_t-shirt_height_field.gif" translate -y*0.1
}
    /* pigment etc. as needed */
    /* scale, rotate and translate as needed */
}

The result will look somewhat like the following ascii art (view with
fixed-width font):

   /\      /\      /\      /\
  /##\    /##\    /##\    /##\
 /#/\#\  /#/\#\  /#/\#\  /#/\#\
/#/  \#\/#/  \#\/#/  \#\/#/  \#\
#/    \##/    \##/    \##/    \#
/      \/      \/      \/      \

Hope that helps.

Roy


Post a reply to this message

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