POV-Ray : Newsgroups : povray.binaries.animations : Liquid animation 23 : Re: Liquid animation 23 Server Time
3 Jul 2024 02:09:21 EDT (-0400)
  Re: Liquid animation 23  
From: fidos
Date: 12 May 2006 13:20:00
Message: <web.4464c292c337d213c4b63fa80@news.povray.org>
Ben Chambers <ben### [at] pacificwebguycom> wrote:
> Thomas Lake wrote:
> > Fantastic work fidos. I love these simulations you've been working on!
> > The wood block seems to behave a bit funny here, maybe that's just
> > because I don't have any personal experience with dropping a steal ball
> > and a block of wood into a tank? ;) It sort of looks like the wooden
> > block is not dense enough compared to the steel ball?
>
> This is a major limitation of the ODE library, that all objects have the
> same density.
>
> ...Chambers

You can use the function dMassSetSphere(density) in case of a sphere to init
a dMass structure and after call the function dBodySetMass to attach the
mass to the body. It is what I do in my simulation.

Regards,
Fidos.


Post a reply to this message

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