POV-Ray : Newsgroups : povray.unofficial.patches : simcloth question Server Time
4 Dec 2024 21:42:43 EST (-0500)
  simcloth question (Message 1 to 2 of 2)  
From: Sabrina Kilian
Subject: simcloth question
Date: 4 Mar 2006 13:01:35
Message: <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?


Post a reply to this message

From: Thomas de Groot
Subject: Re: simcloth question
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.