POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov/Mechsim: More complex topologies Server Time
1 Jul 2024 06:12:02 EDT (-0400)
  MegaPov/Mechsim: More complex topologies (Message 1 to 4 of 4)  
From: Daniel Prien
Subject: MegaPov/Mechsim: More complex topologies
Date: 9 Jan 2003 05:13:41
Message: <3e1d4b55@news.povray.org>
Hi,

i try to build a sphere/ball out of masses and connections.
I used a macro posted by Mike Andrews in september 2001, which evenly places
spheres on a other sphere.
This works. But i don't get the right connections. I don't know how to
calculate which masses are connected.
Any hints? Or other methods to build a spherical shape?

thank you


Post a reply to this message

From: Christoph Hormann
Subject: Re: MegaPov/Mechsim: More complex topologies
Date: 9 Jan 2003 10:33:04
Message: <3E1D962F.A1FD7713@gmx.de>
Daniel Prien wrote:
> 
> Hi,
> 
> i try to build a sphere/ball out of masses and connections.
> I used a macro posted by Mike Andrews in september 2001, which evenly places
> spheres on a other sphere.
> This works. But i don't get the right connections. I don't know how to
> calculate which masses are connected.
> Any hints? Or other methods to build a spherical shape?

Which masses placed on a sphere to connect is up to you.  A useful method
that works for arbitrary distributions of points on a sphere is to connect
each mass with its nearest neighbors.  But you have to find the right
number of neighbors to get a stable shape.  In most cases you will best
place an additional mass in the middle and connect all other masses to
this one in addition.  

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Gilles Tran
Subject: Re: MegaPov/Mechsim: More complex topologies
Date: 10 Jan 2003 07:45:55
Message: <3e1ec083@news.povray.org>

3E1D962F.A1FD7713@gmx.de...

> number of neighbors to get a stable shape.  In most cases you will best
> place an additional mass in the middle and connect all other masses to
> this one in addition.

Just wondering, is it possible to use an external mesh (non-povray
generated) for the simulation ? Let's say I have an (arbitrary) obj file for
instance, what would be the steps involved in turning it into an object
usable in Mechsim ?

G.


--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: Christoph Hormann
Subject: Re: MegaPov/Mechsim: More complex topologies
Date: 10 Jan 2003 08:14:28
Message: <3E1EC732.4FF616CB@gmx.de>
Gilles Tran wrote:
> 
> Just wondering, is it possible to use an external mesh (non-povray
> generated) for the simulation ? Let's say I have an (arbitrary) obj file for
> instance, what would be the steps involved in turning it into an object
> usable in Mechsim ?

You can surely convert a mesh into a mechsim topology since both are based
on vertices/masses and connections and faces in between.  The problem is
that a mesh only represents the surface of a shape.  The simulation object
generated from it would behave like a flabby balloon or so.  For a mesh
based cloth shape this would be just fine but for a solid object you would
have to add a lot of internal connections to get a real shape.  These
connections could of course be generated automatically, you just would
have to make sure none of them lies outside the mesh surface (which could
happen for non convex shape).  

And finally you have to remember that simulation is a time consuming
task.  Trying to use a 10000 triangle mesh in a simulation won't be much
fun probably.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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