Distorsion of 3D shape trough manipulation of vertices with mouse: possible ?

Roald Baudoux's icon

Hello,

This patch creates a 3D shape with values coming from multisliders. However, I'd like to be able to change the shape trough handling of vertices on the rendering window rather than trough the sliders. Is there any specific method or object to use?

Also, is it possible do draw (more easily) similar shapes with jit.gl.mesh (also with different colors) ?

Thank you in advance.

Max Patch
Copy patch and select New From Clipboard in Max.

Roald Baudoux

Dg's icon

Hi Roald,
I think you need to get the mouse messages from [jit.window] right outlet and convert them in world coordinates with "screentoworld $1 $2" to the render.

Roald Baudoux's icon

Thanks Kyred !