View Full Version : ON PhysX Cloth
blenderman0815 06-27-2008, 08:00 AM ON PhysX Cloth
v Beta, updated at 30-05-2007
Description = "Keyframe Cloth Animation from Nvida PhysX Simulation"
Warning = "The script is not working with the cloth function tearable"
Usage:
Setup an PhysX Cloth Simulation
Save Your Work!
Select one Cloth Object
Drag & Drop Script
Set the "n Frames" Value
Button "Simulate n Frames"
http://www.blenderman.de/persistent/Screenshot_ONPhysXCloth.jpg
Please post feedback
Seeya,
Oli "blenderman"
|
|
oguzbir
08-21-2008, 03:40 PM
Hi,
Thank you for your script.
Since Nvidia published the new geforce drivers which they act as a Physx card, I now can use your script.
How I can i use or record other Physx functions like rigidbody as well.
Do you plan to upgrade your script. ?
PsychoSilence
08-21-2008, 04:09 PM
thats a great script you´ve created there!
thank you very much
anselm
blenderman0815
08-21-2008, 05:15 PM
Before the current drivers, I had the PhsyX SDK. I hope I have given no errors in the licensing conditions. :sad:
@oguzbir my script is very little! Just for keying a single Clothobject. For Rigidbody you only need PhysX and the PhysX-Plugin:
Set Autokey on
Go to the PhysX Control Panel
Set the number of Frames you want to simulate
Step Button to run Simulation
@anselem sehr gerne
By the way, thanks to the guys from SourceForge and the developer at Nvidia. :wavey:
http://sourceforge.net/projects/physxplugin/
http://developer.nvidia.com/object/physx.html
(http://developer.nvidia.com/object/physx.html)
Oli "blenderman"
blenderman0815
08-21-2008, 05:16 PM
Next Feature for ON_Cloth.ms: obj sequence export (for tearable Cloth)
blenderman0815
08-21-2008, 06:03 PM
Here you can Test the new version. :wavey:
Oli "blenderman"
oguzbir
08-22-2008, 11:02 AM
It works very well. Thank you...:buttrock:
jonadb
01-16-2009, 05:37 PM
Ahh very nice, i've playing around with pHysx for a few days now and I was missing this functionality!
Thx for making it! Would it be hard to enable the recording of softbodies as well?
edit:
I took out the "if PhysicsType == 6" check and Max crashes after about 10 frames :)
And do you know how to add the script as a button on the toolbar?
blenderman0815
01-27-2009, 03:13 PM
Softbodies are working in the new PhysX Plug-in?
Bug
Is your Object Tearable? If you Use the "Simulate & Keyframe n Frames" 3dsmax crashes. 3Dsmax can’t animate edge connections. For Tear able Objects you must export an obj sequence with the "Simulate & Export n Frames" button.
Toolbar Button:
First you must convert to an MacroScript. Add:
macroScript YourScriptName category:"YourCategoryName" buttontext:"YourButtoText" tooltip:"YourTooltip"
(
SCRIPT CONTEND
)
Then use Customize/Customize User Interface/Toolbars to add the script
jonadb
01-27-2009, 03:33 PM
Softbodies are working in the new PhysX Plug-in?
Bug
Is your Object Tearable? If you Use the "Simulate & Keyframe n Frames" 3dsmax crashes. 3Dsmax can’t animate edge connections. For Tear able Objects you must export an obj sequence with the "Simulate & Export n Frames" button.
Toolbar Button:
First you must convert to an MacroScript. Add:
macroScript YourScriptName category:"YourCategoryName" buttontext:"YourButtoText" tooltip:"YourTooltip"
(
SCRIPT CONTEND
)
Then use Customize/Customize User Interface/Toolbars to add the script
The bug isn't there with normal non-teared cloth, what I meant to say was that I removed the check 'is it a cloth' from the script and applied it to a softbody .. then it crashes, not really your fault :) I hoped that would work since the mesh structure stays constant in a soft body.
But yeah, softbodies def. work, its a bit wierd to setup.. use the soft-body-mesh generator on an object and use the newly generated mesh as a softbody. see the included demo scenes that come with the plugin. come to think of it.. what would happen is I use a low-poly softbody and connect it to a high-poly version with the skinwrap modifier.. should be cool if it works!
uchiharuin
07-29-2009, 11:20 AM
thanks so much for the script :)
CGTalk Moderation
07-29-2009, 11:20 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.