How can I change the [mesh] vertices data ...
Posted: Sat Jul 05, 2025 12:06 pm
Hi,
I just restarted my delta robot animation program,
To create my vacuum rubber mouth animation,
I can't use scale, as scale will scale all the parts of the mesh.
Same for the springs in the same project. (see image below)
So, I'm writing an animation algorithm ...
But I'm stuck ...
Where am I till now:
- created [texture]
- created [material]
- created [vertices] position list (x,y,z)
- created [vertices] number list
- created [edge] list (vertex1#, vertex2#)
- created [face] list (vertex1#, vertex2#, vertex3#)
- created [mesh]
- position [mesh]
- rotate [mesh]
- scale [mesh]
- created [camera]
- created [light]
- RenderWorld ()
- FlipBuffer ()
Till here all works very well ...
But:
For my mesh animation:
- the [vertices] quantity is the same
- the [edges] quantity is the same
- the [faces] quantity is the same
only the [vertices] positions are changing to animate.
example:
I have 1000 vertices and want to animate 500 of them.
- I updated the [vertices] position list (x,y,z) with new calculated data.
- my [vertices] number list is the same
- my [edge] list (vertex1#, vertex2#) is the same
- my [face] list (vertex1#, vertex2#, vertex3#) is the same
How can I change the [mesh] data to create a new animated mesh ?
Do I need to create new meshes [mesh1]...[mesh25] ?
thanks,
marc

I just restarted my delta robot animation program,
To create my vacuum rubber mouth animation,
I can't use scale, as scale will scale all the parts of the mesh.
Same for the springs in the same project. (see image below)
So, I'm writing an animation algorithm ...
But I'm stuck ...
Where am I till now:
- created [texture]
- created [material]
- created [vertices] position list (x,y,z)
- created [vertices] number list
- created [edge] list (vertex1#, vertex2#)
- created [face] list (vertex1#, vertex2#, vertex3#)
- created [mesh]
- position [mesh]
- rotate [mesh]
- scale [mesh]
- created [camera]
- created [light]
- RenderWorld ()
- FlipBuffer ()
Till here all works very well ...
But:
For my mesh animation:
- the [vertices] quantity is the same
- the [edges] quantity is the same
- the [faces] quantity is the same
only the [vertices] positions are changing to animate.
example:
I have 1000 vertices and want to animate 500 of them.
- I updated the [vertices] position list (x,y,z) with new calculated data.
- my [vertices] number list is the same
- my [edge] list (vertex1#, vertex2#) is the same
- my [face] list (vertex1#, vertex2#, vertex3#) is the same
How can I change the [mesh] data to create a new animated mesh ?
Do I need to create new meshes [mesh1]...[mesh25] ?
thanks,
marc
