Questions tagged [cloth-simulation]

20 questions
3
votes
2 answers

ParametricBufferGeometry in THREE.js

In cloth simulation example code there is something called ParametricBufferGeometry which takes 3 parameters What does that function actually mean ? clothGeometry = new THREE.ParametricBufferGeometry(clothFunction, cloth.w, cloth.h); In the docs I…
RedBall
  • 311
  • 4
  • 12
3
votes
1 answer

SceneKit cloth physics - any solver available?

How can I create cloth physics in SceneKit? Is there a native cloth solver solution? If not, is there any other solver I could integrate with SceneKit? Thanks
Mane Manero
  • 3,086
  • 5
  • 25
  • 47
2
votes
1 answer

Does the Unity's Cloth Component use GPU?

I 'd like to know if Unity's Cloth Component uses GPU for calculations? The Unity Docs does not provide any information about how cloths are managed behind the different physics libraries.
2
votes
2 answers

Cloth Simulaltion of a 3d obj cloth model

I have seen many cloth simulations in three.js . I found it is done only with 2d plane surfaces . But is there a way that I can simulate a 3d cloth model like the one below .. There are many tutorials for plane 2d simualtion like And the code for…
RedBall
  • 311
  • 4
  • 12
2
votes
1 answer

Model cloth pressure in Unity 5

In Unity 4 the cloth component contained a property pressure which allowed modelling inflated objects. However, in Unity 5 this option is gone. I have tried variations of the parameters of the cloth object, but have not been able to achieve the same…
Igor Ševo
  • 5,459
  • 3
  • 35
  • 80
1
vote
1 answer

Unity 5 - Can't edit Cloth constraints

Hello I can't edit the constraints on my Cloth component. Here is what I do: create an empty add Cloth Component add a simple plane as mesh When I then click on edit constraints the "Edit Constraints" window doesn't show up?! I am using Unity…
Mentaner
  • 11
  • 2
1
vote
0 answers

Cloth Deform when animated

I am using blender 2.77. I wanna ask why is the upper part of my cloth is flying upwards instead of dropping down when animated? And it is also slightly deform as well when animated. But the bottom part of it is work just fine...I had tried…
WeiEN Lau
  • 11
  • 2
0
votes
0 answers

Unity's obi cloth asset isn't working properly

I was trying out the obi cloth asset and I ran into a problem, as shown in the photo I'm trying to make a cape for my character (I'm using the third person controller asset if that will help in anyway) so I tried out the obi cloth component…
3zzvt
  • 1
  • 2
0
votes
0 answers

Trying to understand how to implement a mass spring setup (cloth sim) with a compute shader

I am trying to implement a mass spring system using a compute shader and have run into a weird issue. Essentially the way I have setup the system is using three separate compute shaders, each with their own respective purpose. The first is as…
Gregm8
  • 31
  • 1
0
votes
0 answers

How to determine the vertical units for a point cloud in PDAL

I am creating a PDAL pipeline using Python and the cloth filter (filters.csf). The resolution parameter needs to be specified in the units of the LAS file's coordinate system. I have some point clouds that use meters and some that use US feet. Is…
cary
  • 21
  • 3
0
votes
1 answer

webgL - apply wind effect on cloth simulation

I need to implement an easy effect of the wind force in a simulation of a cloth. My cloth is made by 10x10 vertices (100 indices given in the cloth_vertices array) connected using springs. The springs are defined as follow: function…
Ele975
  • 352
  • 3
  • 13
0
votes
0 answers

Can I attach clothes with ropes & solid objects in blender for simulation?

I'm trying to create a boat sail & simulate the sail moving by the wind force but I can't make the the clothes attached to other objects and move them by the wind force like this video https://www.youtube.com/watch?v=-DQdzhTH6PA
ideg
  • 1
0
votes
1 answer

Open Scene Graph - Usage of DrawElementsUInt: Drawing a cloth without duplicating vertices

I am currently working on simulating a cloth like material and then displaying the results via Open Scene Graph. I've gotten the setup to display something cloth like, by just dumping all the vertices into 1 Vec3Array and then displaying them with a…
MrKickkiller
  • 501
  • 10
  • 22
0
votes
0 answers

Unity 3D Cloth stretch

I developed a game where the user adjusts the angle and power to launch the ball with to try to score in the goal. I designed a Plane with a large amount of vertices for the mesh and imported it to unity. The ball hits the net well although the net…
John Wick
  • 23
  • 1
  • 5
0
votes
1 answer

How to tell a VBO to handle the given data? (cloth simulation)

I'm working on creating a cloth simulation in openGL and I've been trying to use a VAO and VBO for rendering rather than the old immediate mode (glBegin, glEnd). I reckon it's best if I only provide the relevant parts of the code rather than the all…
Rezuxi
  • 3
  • 1
  • 2
1
2