POV-Ray : Newsgroups : povray.newusers : T-Shirt Again Server Time
6 Nov 2024 14:25:40 EST (-0500)
  T-Shirt Again (Message 1 to 3 of 3)  
From: Adam Ograbisz
Subject: T-Shirt Again
Date: 17 Jul 1998 17:02:01
Message: <35afadb9.0@news.povray.org>
I used the same polygon in my last image and tried the textures wrinkles,
ripples, and waves and rendered it.  I used the picture as a height feild.
It worked nicely(not realistic enough yet) but it looked like a t-shirt
shaped hill.  Is there anyway to exclude the bottom portion?  Would that be
CSG?  Like the height field minus a plane or box?  I've tried but can't get
the bottom part to disappear.  Any suggestions?

Adam Ograbisz
AOg### [at] mhpgcom


Post a reply to this message

From: Ron Parker
Subject: Re: T-Shirt Again
Date: 22 Jul 1998 11:14:54
Message: <35b5f3de.0@news.povray.org>
On Fri, 17 Jul 1998 16:01:58 -0400, Adam Ograbisz <AOg### [at] mhpgcom> wrote:
>I used the same polygon in my last image and tried the textures wrinkles,
>ripples, and waves and rendered it.  I used the picture as a height feild.
>It worked nicely(not realistic enough yet) but it looked like a t-shirt
>shaped hill.  Is there anyway to exclude the bottom portion?  Would that be
>CSG?  Like the height field minus a plane or box?  I've tried but can't get
>the bottom part to disappear.  Any suggestions?

Have you tried setting the water level?


Post a reply to this message

From: Roy Schulz
Subject: Re: T-Shirt Again
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.