Forum Replies Created
-
AuthorPosts
-
François FaureBlocked
Dear all,
it looks like we all agree that the UE/Unity3D discussion can last forever the same way as Windows/Linux or Emacs/vi, so I suggest we adopt a pragmatic viewpoint.
We (Anatoscope) have potential customers for simulations in Unity3D, so we are going to move this way.
Any interest of the Sofa community (people, consortium) to participate ?
best,François FaureBlockedHi,
if you need a bilateral constraint to maintain particles on a plane, try ProjectToPlaneConstraint. There is an example scn file.
best,François FaureBlockedI agree. Comments would be a very valuable feedback,
FFFrançois FaureBlockedJust found a workaround: Appending -Wno-unused-local-typedef to variable CMAKE_CXX_FLAGS_DEBUG does the job (as I am compiling in debug mode), since these flags appear after the -Wall.
François FaureBlockedDear Jason,
Your example does not work because it tries to apply CPU detection on GPU points. To make it work, use Vec3f, instead of CudaVec3f.
SofaCudaLDI is a private plugin, therefore it is not located in the master branch, sorry about the confusion ! As far as I know, there is currently no other implementation of collision detection on the GPU.
Best,François FaureBlockedHi,
did you try the examples of the plugin ?
The simplest are:
sofa-dev/applications-dev/plugins/SofaCUDALDI/examples/cube/cube_penality.scn
for a penalty reaction,and
sofa-dev/applications-dev/plugins/SofaCUDALDI/examples/cube/cube_lilleConstraint.scn
or
sofa-dev/applications-dev/plugins/SofaCUDALDI/examples/cube/cube_LMConstraint.scn
for a constraint-based reaction.Starting from this, you should be able to create your own scene,
best,
François Faure.François FaureBlockedHi, have you tried the available examples ? Do they work ?
François FaureBlockedHi, the frame-based simulation is now implemented in the Flexible plugin. See e.g. Flexible/examples/demo/steak.scn
Best,13 May 2015 at 10:06 in reply to: [SOLVED] How to create a coaxial contraints between part A and B #3305François FaureBlockedHi Lee, I do not fully understand the question, but I know one way to create constraints in SOFA, using the Compliant plugin.
Basically, you use a Mapping to compute a value that you want to keep null. In your case, you need a Mapping class (or MultiMapping for lines belonging to different objects) that computes the distance between the two lines. -
AuthorPosts