 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hi,
Here's my first test of using Elastolab to output POV spline data. It was
quite a job to construct the environment from polygons and spline data, but
worth the effort I feel.
Any comments welcome.
All the best,
Andy Cocker
Post a reply to this message
Attachments:
Download 'Elastolab_Test1.mpg' (607 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 14 Nov 2001 13:16:34 -0000, "Andrew Cocker"
<big### [at] mariner9 fsnet co uk> wrote:
> Any comments welcome.
nice, how long did you develop this (without rendering)
and what is the strange tick of box at the end of anim?
ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Andrew Cocker" <big### [at] mariner9 fsnet co uk> wrote in message
news:3bf2704d@news.povray.org...
> Hi,
>
> Here's my first test of using Elastolab to output POV spline data. It was
> quite a job to construct the environment from polygons and spline data, but
> worth the effort I feel.
>
> Any comments welcome.
>
> All the best,
>
> Andy Cocker
Oh. Wow. I am completely dumbfounded. Well, almost.
That's great! I might have to get that.
Michael
--
#declare R=<8,4,.6>/3;#declare C=function{pattern{object{text{ttf"crystal.ttf"
"MDJ"1,0translate-R/4}}}}camera{location-z*30}box{-R,R pigment{rgbf 1}interior
{media{emission.1density{function{C(x,y,z)}density_map{[0mandel 50color_map{[0
rgb 0][.2rgb x][1rgb x+y]}interior 1,1.5scale 60translate<-33.75,2.85>exponent
4][1rgb<2,2>]}}}}scale 24hollow}// (c) 2001 MDJohnson red### [at] wv adelphia net
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Włodzimierz ABX Skiba" wrote:
> On Wed, 14 Nov 2001 13:16:34 -0000, "Andrew Cocker"
> <big### [at] mariner9 fsnet co uk> wrote:
> > Any comments welcome.
>
> nice, how long did you develop this (without rendering)
> and what is the strange tick of box at the end of anim?
I can explain the tick of the box. The box is modeled with particles connected
by rods. There's a known problem when two particles connected by a rod are in
resting contact with a barrier. The simulation treats them as two independent
particles and doesn't realize that moving one causes the other to move. The way
to solve this is to re-formulate the problem and solve a system of linear
equations inside a loop. This is a lot of work and I'm not certain that it would
run in real-time. Without that approach, there's a little bit of jitter when two
particles connected by a rod are sitting on a barrier. I may address that later,
but I felt that it wasn't a big problem for now.
David Buck
Simberon Inc.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> Hi,
>
> Here's my first test of using Elastolab to output POV spline data. It was
> quite a job to construct the environment from polygons and spline data,
but
> worth the effort I feel.
>
> Any comments welcome.
Nice scene -- does it uses radiosity?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"ARTis" <art### [at] aaa apollo lv> wrote in message
news:3bf2e719@news.povray.org...
>
> Nice scene -- does it uses radiosity?
>
Thanks. Yes, it does use radiosity.
Andy Cocker
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
OMG! love the bouncy thing in the middle.
G
Andrew Cocker <big### [at] mariner9 fsnet co uk> wrote in message
news:3bf2704d@news.povray.org...
> Hi,
>
> Here's my first test of using Elastolab to output POV spline data. It was
> quite a job to construct the environment from polygons and spline data,
but
> worth the effort I feel.
>
> Any comments welcome.
>
> All the best,
>
> Andy Cocker
>
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nice.
IIRC Elastolab only does 2d physics. Is that correct? If it does 3d physics, I
have another Q: is it free and where can I get it?
-Nekar
"Andrew Cocker" <big### [at] mariner9 fsnet co uk> wrote in message
news:3bf2704d@news.povray.org...
> Hi,
>
> Here's my first test of using Elastolab to output POV spline data. It was
> quite a job to construct the environment from polygons and spline data, but
> worth the effort I feel.
>
> Any comments welcome.
>
> All the best,
>
> Andy Cocker
>
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 2001/10/09
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Nekar Xenos" <j-p### [at] citywalk co za> wrote in message
news:3bf358f1@news.povray.org...
> Nice.
Thanks.
> IIRC Elastolab only does 2d physics. Is that correct? If it does 3d
physics, I
> have another Q: is it free and where can I get it?
Only 2D I'm afraid. :-(
All the best,
Andy Cocker
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"blessing" <ble### [at] icefog net> wrote in message
news:3bf32d84@news.povray.org...
> OMG! love the bouncy thing in the middle.
Me too ;-)
All the best,
Andy Cocker
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nekar Xenos wrote:
> Nice.
> IIRC Elastolab only does 2d physics. Is that correct? If it does 3d physics, I
> have another Q: is it free and where can I get it?
>
> -Nekar
It's 2D physics because it's aimed at a different market. It's intended to be a
kids application (age 9 and up) to let them play in a world with simulated
physics. 2D is much easier to deal with in that environment.
If there's enough interest and the market is large enough, I may consider a 3D
version. So far, sales are slow because I'm not promoting it much yet. After I
get more sales, I'll decide on a strategic direction for future versions based on
interest from the user base.
You can get it from www.simberon.com.
David Buck
Simberon Inc.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Nice. It reminds me of an old game by Sierra (wasn't it The Incredible
Machine or something like that?...)
--
Jonathan.
"Andrew Cocker" <big### [at] mariner9 fsnet co uk> ha scritto nel messaggio
news:3bf2704d@news.povray.org...
> Hi,
>
> Here's my first test of using Elastolab to output POV spline data. It was
> quite a job to construct the environment from polygons and spline data,
but
> worth the effort I feel.
>
> Any comments welcome.
>
> All the best,
>
> Andy Cocker
>
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Amazing. I have been unable to "do the physics of" a ball that is BOTH able to
bounce AND does not fall through the floor when it comes to rest. I probably
end up with a particle whose surface is say 1E-7 from the floor but is
plummeting toward the ground at 1E-5, or something like that.
Andrew Cocker wrote:
> Hi,
>
> Here's my first test of using Elastolab to output POV spline data. It was
> quite a job to construct the environment from polygons and spline data, but
> worth the effort I feel.
>
> Any comments welcome.
>
> All the best,
>
> Andy Cocker
>
> Name: Elastolab_Test1.mpg
> Elastolab_Test1.mpg Type: Wmplayer File (video/mpg)
> Encoding: x-uuencode
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Greg M. Johnson" wrote:
> Amazing. I have been unable to "do the physics of" a ball that is BOTH able to
> bounce AND does not fall through the floor when it comes to rest. I probably
> end up with a particle whose surface is say 1E-7 from the floor but is
> plummeting toward the ground at 1E-5, or something like that.
The secret is to detect resting contact and switch modes to Dynamic Constraints.
Dynamic constraints calculate the forces required to nullify the normal
acceleration of a particle in order to avoid breaking constraints like falling
through the floor. Once resting contact has been determined, the system calculates
the acceleration of the particle then calculates the force necessary to prevent the
particle from falling through the floor. It applies the force, then calculates the
physics.
For all the gory details, check out:
http://www-2.cs.cmu.edu/afs/cs/user/baraff/www/pbm/pbm.html
David Buck
Simberon Inc
www.simberon.com
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |