POV-Ray : Newsgroups : povray.general : Looking for interesting "docking" shape Server Time
1 Nov 2024 23:16:35 EDT (-0400)
  Looking for interesting "docking" shape (Message 1 to 3 of 3)  
From: Micha Riser
Subject: Looking for interesting "docking" shape
Date: 25 Jun 2004 12:06:32
Message: <40dc4d88@news.povray.org>
Hi POVers

I trust in your creativity.. :) therefore I'm asking this here.

I'm looking for two simple shapes that have a "docking" position, that is
they can be sticked together. E.g. like some bulge that fits in a notch. I
need this as syntetical example for an algothriutm for the so-called
protein-docking problem. Finally I'll need the shapes as triangulation. But
maybe you could make suggestions in the form of isosurfaces.

- Micha


-- 
Personal Page: http://www.povworld.de/michariser/en/
POV-Ray Objects Collection: http://objects.povworld.org


Post a reply to this message

From:
Subject: Re: Looking for interesting "docking" shape
Date: 25 Jun 2004 14:29:08
Message: <40dc6ef4$1@news.povray.org>
Hi Micha,

if triangulation isn't absolutely neccessary, you
might try this general method:

#declare DockingShape1 = /* a CSG-able object */
#declare AuxiliaryShape = /* a different CSG-able object */

#declare DockingShape2 = difference {
  object { AuxiliaryShape }
  object { DockingShape1 }
  }

Obviously the two DockingShapes fit perfectly,
because the DockingShape1 carves a hole for
itself into the AuxiliaryShape, giving the
DockingShape2.
To make this work, the intersection of the
DockingShape1 and the AuxiliaryShape must
be non-empty.
This will work with meshes, but POV-Ray can't
give you the DockingShape2 as a single mesh
object.

   Sputnik


Post a reply to this message

From: Micha Riser
Subject: Re: Looking for interesting "docking" shape
Date: 25 Jun 2004 15:13:52
Message: <40dc7970@news.povray.org>


> if triangulation isn't absolutely neccessary, you
> might try this general method:
> 
> #declare DockingShape1 = /* a CSG-able object */
> #declare AuxiliaryShape = /* a different CSG-able object */
> 
> #declare DockingShape2 = difference {
>   object { AuxiliaryShape }
>   object { DockingShape1 }
>   }
> 

Yes, that is a possibility. I do not need perfect fitting tough, it's even
better when the fit is not perfect. Finally I will need a triangulation but
there are also programs for CSG on meshes (Never used them though but I
strongly believe to have seen this to be claimed on some feature lists).

- Micha


-- 
Personal Page: http://www.povworld.de/michariser/en/
POV-Ray Objects Collection: http://objects.povworld.org


Post a reply to this message

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