|
|
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
|
|