POV-Ray : Newsgroups : povray.binaries.animations : Re: Patience et longueur de temps font plus que force ni que rage :o) : Re: Patience et longueur de temps font plus que force ni que rage :o) Server Time
19 Jul 2024 17:20:15 EDT (-0400)
  Re: Patience et longueur de temps font plus que force ni que rage :o)  
From: chaps
Date: 29 May 2002 04:40:04
Message: <3cf493e4$1@news.povray.org>
Hug,

You are right, the cloth is a mesh2 object, made of 36*36 points.
Description include normal and uv_map.

The simulation is made by and external program I wrote, which generate an
include file for each steps. It tooks about 30mn to simulate 1000 steps.

For rendering I used Pov 3.5, with a texture:

#declare Pigment_IM = pigment{

image_map {

tga "acp.tga"

interpolate 2

}

}

#declare Pigment_CL = pigment{

color rgbt <1,1,1,3>

}


#declare ClothTexture = texture {

pigment {

average

pigment_map {

[10.0 Pigment_IM]

[1.0 Pigment_CL]

}

}

finish {

ambient 0.2

specular 0.6 // shiny

}

}

It took about 9h30mn to render 500 frames (400*300, no AA, default max
trace. And only even frames to speed up rendering and visual effects)

My goal is to use Pov description as input of my program, + specific tag
such as // #Cloth_simu Cloth(.....)

Today the program knows spheres, cylnder, box, torus planes as well as
rotate, translate and scale. but I focus debug on spheres.

I take into acount gravity and air interaction. For the cloth itself I use
elasticity and damping. I do not include yet object reaction (I think that
is the reason why the cloth seems to be glued to the sphere), and there is
not yet cloth/cloth interaction.

The algorithm is very basic step forward, with dots as weight, linked
together by wires (in this case 2 ranks of neighbours that means 1296
vertexs, 14490 wires). the only thing it includes is an adaptative step
calculation, based on maximum strech/contraction of wires allowed between
each steps.

Chaps

"Apache" <apa### [at] yahoocom> wrote in message
news:3cf25e63$1@news.povray.org...
> Good! Any details about mesh size, type (probably mesh2), integration
> algorithms, etc ?
>
> --
> Apache
> POV-Ray Cloth experiments: http://geitenkaas.dns2go.com/experiments/
> Email: apa### [at] yahoocom
> ICQ: 146690431
>
>


Post a reply to this message

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