POV-Ray : Newsgroups : povray.unofficial.patches : simcloth question : Re: simcloth question Server Time
14 May 2024 13:12:56 EDT (-0400)
  Re: simcloth question  
From: Thomas de Groot
Date: 6 Mar 2006 03:16:31
Message: <440befdf@news.povray.org>
"Sabrina Kilian" <ski### [at] vtedu> schreef in bericht
news:4409d5ff$1@news.povray.org...
> Is there a way for a cloth object to have a hole in it? I'm trying to
> add a Zorro like mask to a scene I'm rendering. Just a black strip of
> cloth with eye holes cut in it. If it matters, I'm running MegaPov 1.2.1
> on Windows and Linux.
>
> I've tried drawing the mesh in Moray, but I can't find a way to use that
> in the simcloth block. Trying to remove the holes from the mesh after it
> has interacted with the environment is tough, since I can't find a good
> way to change the normally oval eye holes to match how the cloth has
> folded. If it's not possible to do before the simulation, would any one
> have a recommendation on how to do it afterward, with a neat transparent
> texture?

I suppose you will have to do this with an image map, added afterwards to
the simcloth mesh.
What I would do (but there may be better solutions) is make a png or tga
image of the Zorro mask, with the eye hole color that should be transparant
in the alpha channel. After you have created your mesh in simcloth, import
it in Poseray, add the image_map to it and tweak the uv mapping if
necessary, export again to Povray.

I hope this will help you.

Thomas


Post a reply to this message

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