POV-Ray : Newsgroups : povray.binaries.images : cloth and csg: bounding box test : Re: cloth and csg: bounding box test Server Time
16 Aug 2024 06:12:13 EDT (-0400)
  Re: cloth and csg: bounding box test  
From: Hugo
Date: 15 Mar 2002 15:42:49
Message: <3c925cc9$1@news.povray.org>
I'm not sure I understand what you're trying to do, so maybe my idea is not
useful.. But if you're trying to detect collision between your cloth (made
up of vertices) and another Pov object, why do you need all this? Wouldn't
it be possible to use the object pattern instead?

1) Include an "object pattern" in the cloth's texture where the object is
the thing you're testing collision with.

2) Run a test over each vertex to see what status the pattern has taken
(inside / outside).. I think this check can be done with function {}.. or..
I just recall having tested pixel values with function.

Just an idea..

Regards,
Hugo


Post a reply to this message

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